`usermodmap` doesn't work
Hello.
I see default config in the /etc/gdm/Xsession
:
usermodmap="$HOME/.Xmodmap"
I have such file:
> cat $HOME/.Xmodmap
keycode 193 = F13 F13 F13
keycode 194 = F14 F14 F14
But it doesn't work after start:
KeyPress event, serial 37, synthetic NO, window 0x3200001,
root 0x1e4, subw 0x0, time 6629940, (-414,391), root:(777,1040),
state 0x10, keycode 193 (keysym 0x1008ff46, XF86Launch6), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x3200001,
root 0x1e4, subw 0x0, time 6630023, (-414,391), root:(777,1040),
state 0x10, keycode 193 (keysym 0x1008ff46, XF86Launch6), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 37, synthetic NO, window 0x3200001,
root 0x1e4, subw 0x0, time 6630469, (-414,391), root:(777,1040),
state 0x10, keycode 194 (keysym 0x1008ff47, XF86Launch7), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x3200001,
root 0x1e4, subw 0x0, time 6630572, (-414,391), root:(777,1040),
state 0x10, keycode 194 (keysym 0x1008ff47, XF86Launch7), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
After I just enter xmodmap ~/.Xmodmap
in console it works for any application:
KeyPress event, serial 37, synthetic NO, window 0x3200001,
root 0x1e4, subw 0x0, time 6680031, (796,249), root:(1987,898),
state 0x10, keycode 193 (keysym 0xffca, F13), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x3200001,
root 0x1e4, subw 0x0, time 6680109, (796,249), root:(1987,898),
state 0x10, keycode 193 (keysym 0xffca, F13), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 37, synthetic NO, window 0x3200001,
root 0x1e4, subw 0x0, time 6680499, (796,249), root:(1987,898),
state 0x10, keycode 194 (keysym 0xffcb, F14), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x3200001,
root 0x1e4, subw 0x0, time 6680604, (796,249), root:(1987,898),
state 0x10, keycode 194 (keysym 0xffcb, F14), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False