Skip to content

Instantly share code, notes, and snippets.

@emad-elsaid
Last active May 1, 2017 16:34
Show Gist options
  • Select an option

  • Save emad-elsaid/343c340b4f775bde00cdb9d02ad57759 to your computer and use it in GitHub Desktop.

Select an option

Save emad-elsaid/343c340b4f775bde00cdb9d02ad57759 to your computer and use it in GitHub Desktop.
X11 config file to convert capslock to control, and swap left control with left alt (mac style kbd) /etc/X11/xorg.conf.d/90-custom-kbd.conf
Section "InputClass"
Identifier "keyboard defaults"
MatchIsKeyboard "on"
Option "XKbOptions" "caps:lctrl,ctrl:swap_lalt_lctl"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment