I have an Apple keyboard with a Swedish layout and this makes some characters very awkward to type, like right Alt key and 7 to type a left brace. Therefor I would like to reassign the right Command key to have the same function as the right Alt key. What is the correct way to achieve this with xkb
?
My current solution is to load a modified dump from xkbcomp
where I have swapped the keycodes for RWIN
and RALT
but this feels like a hack. Is anyone experienced with xkb
?