add german / us keyboard layout switching for X
This commit is contained in:
parent
c40bbaeaf7
commit
c768aa9983
1 changed files with 6 additions and 0 deletions
6
.xinitrc
6
.xinitrc
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue