Open itgoyo opened 5 years ago
In case this helps future searchers trying to swap the windows key with left alt, here's what I did.
I just put these lines in a new file in my home directory, ~/.Xmodmap (uppercase X). My distro, the community provided Manjaro-i3, is already configured to run .Xmodmap on login.
Here are my additions, which swap Escape with Caps Lock and Left Alt with the Windows key:
clear lock
clear mod1
clear mod4
keycode 64 =Super_L
keycode 133 = Alt_L
keycode 66 = Escape NoSymbol Escape
keycode 9 = Caps_Lock NoSymbol Caps_Lock
add lock = Caps_Lock
add mod1 = Alt_L
add mod4 = Super_L
亲测有效 放到i3启动项里面然后执行 exec xmodmap ~/.Xmodmap
https://github.com/xircon/Scripts-dots/blob/master/i3/my-xcape.sh