With the release of the brand new Ubuntu, a new X server was introduced.

Because of this my apple aluminium keyboard has incorrectly swapped two keys.

foto

With old ubuntu change the compatibility option in control panel was enough, but with the new version that is simply ignored.

To resolve ( temprarly ) i created a file called .Xmodmap in my home directory and pasted :

keycode 49=less greater

keycode 94=backslash bar

and the keybord magically started to work as is expected to.

To test if this works you can simply digit xmodmap -e “keycode 49=less greater” && xmodmap -e “keycode 94=backslash bar” in a terminal window but , first time you reboot, changes will be lost

Share