Skip to content

3: System

Cardiac edited this page Mar 2, 2024 · 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 zsh, fish or bash.

Add aliases to ~/.bashrc, ~/.zshrc 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='yay && flatpak update'
alias update-mirrors='sudo reflector --verbose --score 100 --latest 20 --fastest 5 --sort rate --save /etc/pacman.d/mirrorlist && sudo pacman -Syyu'

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

os-prober

Setup os-prober if you use Grub :

Installing packages : update-grub os-prober

Enabling GRUB_DISABLE_OS_PROBER=false in /etc/default/grub

sudo sed -i 's/#\s*GRUB_DISABLE_OS_PROBER=false/GRUB_DISABLE_OS_PROBER=false/' '/etc/default/grub'

Running os-prober :

sudo os-prober

Updating Grub :

sudo update-grub
Clone this wiki locally