MacBook keymap broken

Bug #69061 reported by Stefan Daniel Schwarz (Wolfram Ravenwolf)
6
Affects Status Importance Assigned to Milestone
xkeyboard-config
Invalid
Medium
xkeyboard-config (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xkb-data

Support for the MacBook keyboard got worse from Dapper to Edgy - while I'm using a German keyboard, it probably affects other keyboard setups as well:

With Edgy, the Tilde and Less/Greater keys were swapped. With Edgy, the function keys F1-F10 have been swapped with fn+F1-F10. F11 and F12 are not affected.

In addition to that, custom reconfiguration isn't working as it used to, both /etc/console-tools/remap (to reconfigure the console keymap) and /etc/X11/Xmodmap (to reconfigure the X keymap) don't work properly anymore. Console-tools has been replaced by console-setup which doesn't support remapping, instead it loads an "xkb" keymap, just like X does. And the global "Xmodmap" doesn't affect users anymore, probably because it is overridden by the "xkb" keymap in a later stage.

That's why I'm filing this bug with "xkb-data" - if a proper xkb keymap now is the only supported way of keyboard configuration, a working MacBook keymap should be provided. (The included keymaps only work with iMac or PowerBook, not the new MacBooks!)

Tested on a Black MacBook with German keyboard under Ubuntu 6.10.

Revision history for this message
In , Bertrand Rousseau (bertrand-rousseau) wrote :

Created an attachment (id=6008)
modified files for swapping the keys in macbook french keyboards

Revision history for this message
In , Sergey V. Udaltsov (svu) wrote :

Are you talking about xkeyboard-config or xkbdata? IIRC it was fixed at some
point. Could you please have a look at xkeyboard-config CVS - and, if possible,
attach a patch against it.

Revision history for this message
Stefan Daniel Schwarz (Wolfram Ravenwolf) (stefandanielschwarz) wrote :

Binary package hint: xkb-data

Support for the MacBook keyboard got worse from Dapper to Edgy - while I'm using a German keyboard, it probably affects other keyboard setups as well:

With Edgy, the Tilde and Less/Greater keys were swapped. With Edgy, the function keys F1-F10 have been swapped with fn+F1-F10. F11 and F12 are not affected.

In addition to that, custom reconfiguration isn't working as it used to, both /etc/console-tools/remap (to reconfigure the console keymap) and /etc/X11/Xmodmap (to reconfigure the X keymap) don't work properly anymore. Console-tools has been replaced by console-setup which doesn't support remapping, instead it loads an "xkb" keymap, just like X does. And the global "Xmodmap" doesn't affect users anymore, probably because it is overridden by the "xkb" keymap in a later stage.

That's why I'm filing this bug with "xkb-data" - if a proper xkb keymap now is the only supported way of keyboard configuration, a working MacBook keymap should be provided. (The included keymaps only work with iMac or PowerBook, not the new MacBooks!)

Tested on a Black MacBook with German keyboard under Ubuntu 6.10.

Changed in xkeyboard-config:
status: Unconfirmed → Confirmed
Revision history for this message
Henrique Ferreiro (henrique-ferreiro) wrote :

Fn behaviour can be changed with pommed or directly with:

echo -n 0x02 > /sys/module/hid/parameters/pb_fnmode (taken from www.gentoo-wiki.com)

To fix Tilde-Less/Greater swapping I changed "MacBook/MacBook Pro" to "Generic 104-key PC" in gnome-keyboard-properties

Revision history for this message
Henrique Ferreiro (henrique-ferreiro) wrote :

Some issues seem to be fixed in a newer version os xkb-data. See freedesktop bug 7292.

Changed in xkeyboard-config:
status: Unknown → Incomplete
Revision history for this message
In , Benjamin-close (benjamin-close) wrote :

Bugzilla Upgrade Mass Bug Change

NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO.

  - benjsc
    fd.o Wrangler

Changed in xkeyboard-config:
status: Incomplete → Confirmed
Revision history for this message
Henrique Ferreiro (henrique-ferreiro) wrote :

It works for me in hardy.

Changed in xkeyboard-config:
status: Confirmed → Fix Released
Revision history for this message
mabovo (mabovo) wrote :

The only problem I can notice using Apple laptop in Hardy/Gnome 2.22 happens when I type the character ã and get the character â .
Always when boot the system I need to go in System > Preferences > Keyboard > Configuration and select Apple Laptop as keyboard model "again", so typing again in the keyboard I get the correct character this time, i.e., typing ã I get ã .

Revision history for this message
Luiz T. Honda (lhonda) wrote :

Does anyone can write c cedil (in html: ç)? In my Macbook, it prints out a "c" with an accent ( ć ) which is wrong.
Sorry, I can't show you the right character because I'm on my Mac now. this bug is related to Brazilian portuguese and I've tried changing to pc-104 keyboard as well.

Revision history for this message
In , Sergey V. Udaltsov (svu) wrote :

No answer fo 2.5 years

Changed in xkeyboard-config:
status: Confirmed → Invalid
Changed in xkeyboard-config:
importance: Unknown → Medium
Changed in xkeyboard-config:
importance: Medium → Unknown
Changed in xkeyboard-config:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.