Keyboard option "Swap keycodes of two keys when Mac keyboards are misdetected by kernel" not available in Jaunty ?

Asked by Alexej

Initial Problem is, that on Macbooks, the ^ and < keys are mapped vice versa.
in Interpid there was an special option in keyboard preferences, called "Swap keycodes of two keys when Mac keyboards are misdetected by kernel" which fixed, this problem.

In 9.04 this option seems to have dissapeared ! and now i dont know what to do, to force these 2 keys to behave correctly. Please give some hint.

Alexej

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
emerix (mrx-is-free) said :
#1

Hi!
I've just upgraded to 9.04 RC and I have the same problem.
On my Apple Keyboard (azerty/french) the keys '<>' and '@#' are not mapped correctly.
Is there a way to correct this ?
Thanks!

Revision history for this message
Hans Duedal (hans-duedal) said :
#2

Still an issue on Ubuntu 9.04 final. Why is this marked as "Needs information" ?

Also see: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/214786

Revision history for this message
Hans Duedal (hans-duedal) said :
#3

I accidentally changed the status to answered. It would be nice if there was an "add information" comment button. Oh well.

As I wrote on the bug report which I linked to this question, there is a workaround. You can use the following xmodmap command to "swap" the keys:

xmodmap -e 'keycode 94=onehalf section' -e 'keycode 49=less greater backslash brokenbar backslash brokenbar'

You can follow the guide at https://help.ubuntu.com/community/AppleKeyboard#Mapping%20keys%20(Insert,%20Alt,%20Cmd,%20etc.) on how to add it during startup.

Can you help with this problem?

Provide an answer of your own, or ask Alexej for more information if necessary.

To post a message you must log in.