Running Manjaro with i3wm. I mapped my Caps key to Mode_switch modifier with xmodmap. I am using it to turn WASD into arrow keys, and a few other combinations.

Pressing Caps+W/A/S/D works as intended (/// are registered).

However, when I press together with Super key, the Mode_switch modifier seems to be negated: Super+Caps+A is registered as Super+A instead of Super+.

This is a problem as Super is my i3 mod key, and I'd like to use Super+Caps+W/A/S/D to change focus.

This is my xmodmap output:

shift       Shift_L (0x32),  Shift_R (0x3e)
control     Control_L (0x25),  Control_R (0x69)
mod1        Alt_L (0x40),  Meta_L (0xcd)
mod2        Num_Lock (0x4d)
mod3        Mode_switch (0x42),  Mode_switch (0xcb)
mod4        Super_L (0x85),  Super_R (0x86),  Super_L (0xce),  Hyper_L (0xcf)
mod5        ISO_Level3_Shift (0x5c
  • Hi @Mereketh. What do you mean by "supper key"? A Super key refers to several different keys throughout keyboard – user88036 Sep 23 '18 at 16:40
  • @Goro I'm referring to the Windows key in standard US layout – Mereketh Sep 23 '18 at 16:44
  • Thanks! just to be sure that I understand your issue correctly. Let's say that caps+w are functioning as an up arrow because you mapped them using xmodmap. What is the problem when you click win key+w? – user88036 Sep 23 '18 at 16:53
  • @Goro win+w is registered as win+w, as it should, and triggers an i3 shortcut. The problem is when I hit win+caps+w: I would expect it to be registered as win+↑ since I mapped caps+w to , yet win+w is issued and so caps is for some reason ignored. – Mereketh Sep 23 '18 at 17:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.