Xmodmap-Fehler beim Einstellen des neuen Mod-Schlüssels

326
user430

Ich versuche, die Feststelltaste als Mod-Taste zu verwenden.

Ich habe diese .Xmodmap:

clear lock  clear mod2 keycode 66 = Hyper_L add mod2 = Hyper_L 

und das xmodmap -pm:

shift Shift_L (0x32), Shift_R (0x3e) lock Hyper_L (0x42) control Control_L (0x25), Control_R (0x69) mod1 Alt_L (0x40), Meta_L (0xcd) mod2 Num_Lock (0x4d) mod3  mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf) mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb) 

Beim Laufen xmodmap .Xmodmapbekomme ich diese Fehlermeldung:

X Error of failed request: BadValue (integer parameter out of range for operation)  Major opcode of failed request: 118 (X_SetModifierMapping)  Value in failed request: 0x17  Serial number of failed request: 13  Current serial number in output stream: 13  

Haben Sie eine Idee, wie Sie dieses Problem lösen können?

OS: Ubuntu 17.10

0

1 Antwort auf die Frage

1
Andra

Ist das in Ordnung, dass Sie ohne Caps_Lock bleiben müssen?
Versuchen:

clear lock  keycode 66 = Hyper_L remove mod4 = Hyper_L add mod2 = Hyper_L 

basierend auf @heymatthews Antwort auf CapsLock als Modifizierschlüssel für Anwendungs-Keymaps