X-Git-Url: https://git.xandkar.net/?p=khome.git;a=blobdiff_plain;f=home%2F.xlaunch.d%2Fsetxkbmap;fp=home%2F.xlaunch.d%2Fsetxkbmap;h=047d85c3c4fb20d88045b02a8b7fb5de1c033464;hp=fe43fccb6a5825588df776ae3c602a8d47a90066;hb=fc923c64d8872fb6f7c925ce2c98292ac3ed97b7;hpb=23b95bef1f6db2e4c153e41a75a016d1e5f88fd8 diff --git a/home/.xlaunch.d/setxkbmap b/home/.xlaunch.d/setxkbmap index fe43fcc..047d85c 100755 --- a/home/.xlaunch.d/setxkbmap +++ b/home/.xlaunch.d/setxkbmap @@ -17,7 +17,12 @@ set -e setxkbmap -layout us,ru -variant ',phonetic_winkeys' -option '' setxkbmap -layout us,ru -variant ',phonetic_winkeys' -option grp:ctrls_toggle -#xmodmap -e 'remove lock = Caps_Lock' -#setxkbmap -option ctrl:nocaps +# TODO Why did I have this line? What is/was its unique contribution? +xmodmap -e 'remove lock = Caps_Lock' +# XXX Update 1: without this, caps-lock remap goes away after waking up from sleep. +# XXX Update 2: with this, caps-lock remap still goes away after waking up from sleep. +setxkbmap -option ctrl:nocaps + +# The actual remapping: setxkbmap -option caps:ctrl_modifier