当我尝试移动键,以便我在转义时使用 CapsLock、CapsLock 上的 Control 和左侧控件上的 Escape 时,我收到以下错误:
% xmodmap ~/.Xmodmap
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: 15
Current serial number in output stream: 15
Run Code Online (Sandbox Code Playgroud)
那是失败的代码:
remove Lock = Caps_Lock
! ESC
keycode 9 = Caps_Lock
add Lock = Caps_Lock
remove Control = Control_L
! CapsLock
keycode 66 = Control_L
add control = Control_L
! Control_R
keycode …Run Code Online (Sandbox Code Playgroud)