I'd like to bind a particular i3 action to Alt_R
+space
without it affecting Alt_L
+space
. Both Alt keys are attached to the Mod1
modifier group:
$ xmodmap -pm | grep mod1
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
So I'm trying to remove Alt_R
from Mod1
and attach it to Mod3
(which is currently empty).
But I'm getting this error when trying to run the removal:
$ xmodmap -e 'remove Mod1 = Alt_R'
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: 11
Current serial number in output stream: 11
I've tried mod1
and Mod1
with the same result. I've even tried clear
:
$ xmodmap -e 'clear Mod1'
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: 8
Current serial number in output stream: 8
What am I doing wrong?
X.Org X Server 1.20.5
,X Protocol Version 11, Revision 0