DevHeads.net

Keyboard re-mapping

I'm trying to remap some of the keys on my keyboard. Documemtation
seems to be somewhat sparse and/or incomplete.

I'm using suggestions on
<a href="https://unix.stackexchange.com/questions/65507/use-setxkbmap-to-swap-the-left-shift-and-left-control/65600#65600" title="https://unix.stackexchange.com/questions/65507/use-setxkbmap-to-swap-the-left-shift-and-left-control/65600#65600">https://unix.stackexchange.com/questions/65507/use-setxkbmap-to-swap-the...</a>
which suggested that I should use xkb tools.

I've followed the suggestion given as the best answer as best I can, and
have a local file:

xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include
"pc+gb(extd)+inet(evdev)+myswap(swap_pgdn_end)" }; xkb_geometry
{ include "pc(pc104)" }; };
partial modifier_keys
xkb_symbols "swap_pgdn_end" {
replace key <PGUP> { [ END ] };
replace key <END> { [ DELE ] };
replace key <PGDN> { [ PGUP ] };
replace key <INS> { [ PGDN ] };
};