I'm trying to change xkb
settings in this file: /usr/share/X11/xkb/keycodes/evdev
. Specifically, I tried this:
// <AB08> = 59;
// <AB09> = 60;
// <HOME> = 110;
// <END> = 115;
<HOME> = 59;
<END> = 60;
<AB08> = 59;
<AB09> = 60;
(I tried all three combinations, i.e. map all of them to 110/115 or map home=59, end=60, comma=110, end=115). In neither case I can get both . to print dot and End to print dot.
The commented combination is the original values.
I'll admit, I don't understand how this mapping works. I thought I did, but now it doesn't make any sense any more.
In case, what I'm asking for wasn't clear: I don't need Home and End (I'm using Emacs, and the functionality of these keys is implemented differently), but on my keyboard these keys are in the premium space, so I would really like to use them for something I use a lot: comma and dot (which on my keyboard are difficult to press).
/usr/lib/X11/xkb
? Then you may try to edit/usr/share/X11/xkb/symbols/pc
also.key <HOME> {[ comma, less, horizconnector, multiply]};
– Andra Feb 12 '19 at 18:08hidden partial alphanumeric_keys xkb_symbols
remapping. I can't help further. – Andra Feb 13 '19 at 12:40xmodmap
. – Andra Feb 13 '19 at 12:40/usr/share/X11/xkb/symbols/pc
and/usr/share/X11/xkb/symbols/lv
(lv is my layout). – Andra Feb 13 '19 at 17:04