I switched from SUSE recently, which uses KDE as a default desktop environment. In KDE, it is possible to archieve such a setup with GUI options, but not in XFCE.
I've tried set up the
~/.Xmodmap file the following way:
clear Lock clear Control clear Mod2 clear Mod5 keycode 77 = Caps_Lock Num_Lock Caps_Lock Num_Lock keycode 66 = ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift keycode 37 = Control_L NoSymbol Control_L NoSymbol Multi_key Multi_key add Control = Control_L Control_R add Lock = Caps_Lock add Mod2 = Num_Lock add Mod5 = ISO_Level3_Shift
- Caps Lock functionality goes to Num Lock
- Num Lock functionality goes to Shift + Num Lock
What I expected to happen, but it did not:
- Caps Lock button should be
ISO_Level3_Shift(it is, according to
xev, but it has the functionality of usual Shift somewhy)
- Pressing Caps Lock + Left Ctrl should act as Compose key (does not work).
What am I doing wrong? Xubuntu 18.04, fresh installation