.xmodmaprc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 11 Dec 2023 00:27:20 +0200
changeset 1037 b386e087b97f
parent 822 7621d94eba35
permissions -rw-r--r--
Added workaround for Cygwin, npm authors explicitly forbids it: npm/lib/commands/completion.js if (isWindowsShell) { const msg = 'npm completion supported only in MINGW / Git bash on Windows' throw Object.assign(new Error(msg), {

! To load this config run:
!   $ xmodmap .xmodmaprc

keycode 133 = Super_L
keycode 134 = Hyper_L
! keycode 135 = Menu
clear mod3
clear mod4
add mod3 = Super_L
add mod4 = Hyper_L

! Delete CapsLock (map to Ctrl).
clear Lock
clear Control
! keycode 66 = Caps_Lock
keysym Caps_Lock = Control_L
add Control = Control_L Control_R

keycode 94 = Mode_switch