Personal Knowledge Base

A personal knowledge base

Arch Linux

#List of Compose Key Combinations

/usr/share/X11/locale/en_US.UTF-8/Compose contains a list of symbols that can be written with the compose key.

#Enable System Request

Linux has a number of SysRq key (Print Screen) combinations to perform debug or emergency actions.

Add the following to /etc/sysctl.d/99-sysctl.conf to enable all commands.

kernel.sysrq = 1

For more information refer to the Linux documentation and the Arch wiki.

#Clean the Pacman Cache

sudo paccache -k2 -r

#Update AUR Packages

Check for outdated packages:

cower -u

Update PKGBUILD for each package you want to update:

cower -df pkg1 pkg2 pkg3

Build and install updated packages:

# shell
for pkg in pkg1 pkg2 pkg3 ; do
  cd "$HOME/aur/$pkg"
  makepkg -si
done
Last modified: 02 March 2018