add german / us keyboard layout switching for X

This commit is contained in:
Marty Oehme 2019-03-10 14:18:05 +01:00
parent c40bbaeaf7
commit c768aa9983

View file

@ -35,6 +35,12 @@ fi
# Remaps Capslock key to control. # Remaps Capslock key to control.
# (only works for x environment - I haven't needed it for non-x yet) # (only works for x environment - I haven't needed it for non-x yet)
setxkbmap -option ctrl:nocaps setxkbmap -option ctrl:nocaps
# sets default to german layout, with possibility to switch to us
setxkbmap -layout de,us
# allows switching layouts with alt+space
setxkbmap -option grp:alt_shift_toggle
# quit out of X with ctrl+alt+backspace
setxkbmap -option terminate:ctrl_alt_bksp
# Makes Capslock behave as escape - when ONLY capslock is pressed and released # Makes Capslock behave as escape - when ONLY capslock is pressed and released
# this only works when we already substitute a ctrl for caps with the lines above, # this only works when we already substitute a ctrl for caps with the lines above,