Skip to content

3: System

Cardiac edited this page Dec 3, 2023 · 6 revisions

Kernel

Enable vm.max_map_count to to 2147483642 in /etc/sysctl.d/99-sysctl.conf file for more performance and stability on games.

Headers

Install the kernel headers dynamically

Shell

Chose a shell to use in the terminal, for example fish or bash.

Add aliases to ~/.bashrc or ~/.config/fish/config.fish :

alias fix-key='sudo rm /var/lib/pacman/sync/* && sudo rm -rf /etc/pacman.d/gnupg/* && sudo pacman-key --init && sudo pacman-key --populate && sudo pacman -Sy --noconfirm archlinux-keyring && sudo pacman --noconfirm -Su'
alias update-arch='${AUR} -Syu && flatpak update'
alias update-mirrors='sudo reflector --verbose --score 100 --latest 20 --fastest 5 --sort rate --save /etc/pacman.d/mirrorlist'

Bluetooth

The second command below asks systemd to immediately start the bluetooth service, and also to activate it on every boot.

sudo pacman -S --needed bluez bluez-utils bluez-plugins
sudo systemctl enable --now  bluetooth.service
Clone this wiki locally