I have just installed Manjaro KDE and I like it. But I have a few things that I need to figure out so it fits my needs.
One is how to remapping the character { to CTRL + 7
I have tried looking at xmodmap
, but I cannot figure out how to do it with that program.
I have played around with the example $ xmodmap -e "keycode 46 = l L l L lstroke Lstroke lstroke"
and getting keycodes via xev
and made change like remapping a to be {.
i have also tried with input-remapper
without luck.
Bonus question, how do I remap CAPS LOCK to ESC?
The whole point is that AltGr + 7 is awkward to press and to have the same way of pressing { on both a MAC keyboard and a regular keyboard.
I use a Danish keyboard.
Here is my keycodes:
Caps lock
KeyPress event, serial 40, synthetic NO, window 0x4a00001,
root 0x1e3, subw 0x0, time 8612067, (-1559,626), root:(823,657),
state 0x0, keycode 66 (keysym 0xffe5, Caps_Lock), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 40, synthetic NO, window 0x4a00001,
root 0x1e3, subw 0x0, time 8612138, (-1559,626), root:(823,657),
state 0x2, keycode 66 (keysym 0xffe5, Caps_Lock), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
Ctrl + 7
KeyPress event, serial 28, synthetic NO, window 0x4000001,
root 0x1e3, subw 0x0, time 12553850, (-832,-181), root:(448,940),
state 0x4, keycode 16 (keysym 0x37, 7), same_screen YES,
XLookupString gives 1 bytes: (1f) ""
XmbLookupString gives 1 bytes: (1f) ""
XFilterEvent returns: False
KeyRelease event, serial 28, synthetic NO, window 0x4000001,
root 0x1e3, subw 0x0, time 12553954, (-832,-181), root:(448,940),
state 0x4, keycode 16 (keysym 0x37, 7), same_screen YES,
XLookupString gives 1 bytes: (1f) ""
XFilterEvent returns: False