Due to a coffee accident some numbers of my laptop's keyboard stopped working. I used xmodmap
to use F1, F2, etc, as replacements and saved the configs to ~/.Xmodmap
.
However, that caused a few problems.
I don't always use X on this computer, and without starting X
xmodmap
does not apply.It causes X to take more time to start.
For some reason it caused XFCE keyboard shortcuts that had nothing to do with any of the keys changed via
xmodmap
to stop working (in fact, all keyboard shortcuts stopped working, except for the window manager shortcuts). After a few minutes passed since I start X, the XFCE shortcuts start working normally again! This lag isn't very annoying, but is also an issue.
I imagine there is some kind of mapping that is read by the OS before X starts. Isn't there a way to change that mapping? Is it any way to change the keyboard mapping w/o using X tools? Im using Debian stable.
PS: Apparently the file that calls xmodmap .Xmodmap
on startx
is /etc/xdg/xfce4/xinitrc
. It's contents can be found here.
xev
in a terminal and press each key of your keyboard and check whether the KeyUp event is detected.