Xorg is an open source implementation of the X window system.
1.1. Package Install
xorg package if hasn't been installed already
(zamlz/system-packages-ensure "xorg" "Xorg") (provide 'init-xorg)
1.2. Better Defaults
We need to configure various xorg settings here. This might not be the best place as this definetly feels like something that should belong in the
~/.xinitrc, however, in case they are set to something other than the defaults, it makes sense to be able to reset them here.
The single most important thing! Make the CAPS LOCK key into the ESCAPE key!
setxkbmap -option caps:escape
Turn off the screen saver.
xset s off
Increases the typing speed of the keyboard by increasing the repeat rate.
xset r rate 400 50
Rehash locally installed fonts
xset +fp $HOME/.local/share/fonts xset fp rehash