home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
23b95be
)
Update xlaunch setxkbmap
author
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 19 Apr 2023 18:14:10 +0000
(14:14 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 19 Apr 2023 18:14:10 +0000
(14:14 -0400)
home/.xlaunch.d/setxkbmap
patch
|
blob
|
blame
|
history
diff --git
a/home/.xlaunch.d/setxkbmap
b/home/.xlaunch.d/setxkbmap
index
fe43fcc
..
047d85c
100755
(executable)
--- 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
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
setxkbmap -option caps:ctrl_modifier
This page took
0.028154 seconds
and
4
git commands to generate.