Update 'capsToCtrl.adoc'
localectl does not play nice with custom keymaps and X11
This commit is contained in:
parent
4ab29da74f
commit
184dc9c713
|
@ -81,4 +81,12 @@ keycode 58 = Control
|
||||||
Then you can (optionally) re-zip it with 'sudo gzip [filename]' and set it as your keymap with 'sudo localectl set-keymap [filename without .map extention]'.
|
Then you can (optionally) re-zip it with 'sudo gzip [filename]' and set it as your keymap with 'sudo localectl set-keymap [filename without .map extention]'.
|
||||||
|
|
||||||
There we go!
|
There we go!
|
||||||
Our caps lock key is now a second control key! Not that with 'localectl', this has also set caps lock as a second control key for X as well!
|
Our caps lock key is now a second control key!
|
||||||
|
Note that localectl does not seem to propogate our change to X11, unfortuanately.
|
||||||
|
To do it in X as well, simply run
|
||||||
|
|
||||||
|
....
|
||||||
|
setxkbmap -option ctrl:nocaps
|
||||||
|
....
|
||||||
|
|
||||||
|
in your .xinitrc.
|
Loading…
Reference in a new issue