4

I followed the instruction here by defining my own xkbsymbols (Use setxkbmap to swap the Left Shift and Left Control)

partial modifier_keys
xkb_symbols "replace_Menu_Capslock" {
    replace key <COMP>  { [ Caps_Lock ] };
    replace key <CAPS>  { [ Control_L ] };
}; 

The menu key now becomes Caps_Lock, but I can't get the Caps_Lock as Left Control work. Please help.

  • After trial and error, I finally done with this:partial modifier_keys xkb_symbols "replace_Menu_Capslock" { replace key <CAPS> { [ Control_R ]}; replace key <RCTL> { [ Caps_Lock ] }; replace key <MENU> { [ Control_R, Control_R ] }; modifier_map Control { Control_L, <MENU> }; }; Still it would be good to know why? – Eric Oct 8 '14 at 1:35

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.