This is the xev output when pressing top left key (labeled as §)

KeyPress event, serial 31, synthetic NO, window 0x4400001,
    root 0x69, subw 0x0, time 238273110, (517,372), root:(529,477),
    state 0x4000, keycode 49 (keysym 0x3c, less), same_screen YES,
    XLookupString gives 1 bytes: (3c) "<"
    XmbLookupString gives 1 bytes: (3c) "<"
    XFilterEvent returns: False

Then, if you look at file /usr/share/X11/xkb/macintosh you find
something mysterious:

default xkb_keycodes "macintosh" {
   include "xfree86"

   <FK13> = 182;
   <FK14> = 183;
   <FK15> = 184;
   <KPEQ> = 157;
   
};

xkb_keycodes "badmap" {
    <TLDE> =  94;
    <LSGT> =  49;
};

xkb_keycodes "goodmap" {
    <TLDE> =  49;
    <LSGT> =  94;
};

Looks like "goodmap" has Tilde mapped right. However, if you look at
/usr/share/X11/xkb/rules

$macbooks       =       macintosh+macintosh(badmap)

You find that Macbooks are mapped with "badmap".

Then I found this blog post:

http://simon.vanderlinden.eu.org/2007/02/26/macbook-keyboard-now-works-
perfectly-with-xorg/

Looks like the problem would be one line change, but it is not patched
to the distribution yet.


** Bug watch added: freedesktop.org Bugzilla #7292
   https://bugs.freedesktop.org/show_bug.cgi?id=7292

** Also affects: xkeyboard-config via
   https://bugs.freedesktop.org/show_bug.cgi?id=7292
   Importance: Unknown
       Status: Unknown

-- 
[gutsy] Finnish/Swedish MacBook § and < keys are swapped
https://bugs.launchpad.net/bugs/139833
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to