[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped (keycodes 49 and 94 s wapped)
International keyboard on MacBook 4,1 still not properly supported in Lucid Alpha 3. Keys in question are swapped as before. -- [gutsy] Finnish/Swedish MacBook § and keys are swapped (keycodes 49 and 94 swapped) https://bugs.launchpad.net/bugs/139833 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped (keycodes 49 and 94 s wapped)
The issue remains unresolved in Karmic Alpha 5, and the compatibility option hasn't come back. The workaround suggested above is still valid. -- [gutsy] Finnish/Swedish MacBook § and keys are swapped (keycodes 49 and 94 swapped) https://bugs.launchpad.net/bugs/139833 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped (keycodes 49 and 94 s wapped)
As a temporary workaround I can recommend using xmodmap (install it if necessary) to swap the two keys into their right places. Proced as follows: 1. Open a terminal and ensure you're in your home directory. 2. Enter these commands: xmodmap -pke | grep 'keycode *49' .Xmodmap xmodmap -pke | grep 'keycode *94' .Xmodmap 3. Open ~/.Xmodmap in an editor, replace the number 49 with 94 and vice versa. 4. Run xmodmap. At the start of your next user session a dialog box may appear asking you to confirm loading .Xmodmap from now on. Do so. This will correct the keyboard layout in all applications. It will not work in places like virtual machines. To swap the keys in my VirtualBox Windows XP environment too, I used Microsoft Keyboard Layout Creator (Google it), a .NET-based GUI for creating keyboard layouts. That was a bit more difficult than accomplishing the same thing in Ubuntu. -- [gutsy] Finnish/Swedish MacBook § and keys are swapped (keycodes 49 and 94 swapped) https://bugs.launchpad.net/bugs/139833 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped (keycodes 49 and 94 s wapped)
I can confirm that the bug is still present on Jaunty Beta. Macbook 3,1 Italian Layout. and \ keys are swapped and there is no more the Swap keycodes of two keys when Mac keyboards are misdetected option in the Miscellaneous compatibilty options section. -- [gutsy] Finnish/Swedish MacBook § and keys are swapped (keycodes 49 and 94 swapped) https://bugs.launchpad.net/bugs/139833 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped (keycodes 49 and 94 s wapped)
On my MacBook 4,1 the keys in question are still swapped in Jaunty, Alpha 5 (live CD session with Germany layout). What's worse, the Swap keycodes of two keys when Mac keyboards are misdetected option is no longer present in the Miscellaneous compatibilty options section. I really hope this will be fixed in Jaunty final. -- [gutsy] Finnish/Swedish MacBook § and keys are swapped (keycodes 49 and 94 swapped) https://bugs.launchpad.net/bugs/139833 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped (keycodes 49 and 94 s wapped)
** Summary changed: - [gutsy] Finnish/Swedish MacBook § and keys are swapped + [gutsy] Finnish/Swedish MacBook § and keys are swapped (keycodes 49 and 94 swapped) -- [gutsy] Finnish/Swedish MacBook § and keys are swapped (keycodes 49 and 94 swapped) https://bugs.launchpad.net/bugs/139833 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped (keycodes 49 and 94 s wapped)
Near as I can understand it, this issue has been fixed now. At least, the badmap/goodmap stuff seems to be gone, and TLDE is mapped to 58 instead of 94/49. So, if there is still some issues after you test Jaunty, it's a different thing so please file a new bug (ubuntu-bug xkeyboard- config). ** Changed in: xkeyboard-config (Ubuntu) Status: Confirmed = Fix Released -- [gutsy] Finnish/Swedish MacBook § and keys are swapped (keycodes 49 and 94 swapped) https://bugs.launchpad.net/bugs/139833 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped
** Changed in: xkeyboard-config Status: Confirmed = Invalid -- [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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped
Same problem in Intrepid RC -- [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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped
** Changed in: xkeyboard-config (Ubuntu) Status: New = Confirmed -- [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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped
This bug also affects Intrepid Beta (2 October), fresh install on a Macbook 4,1, German keyboard. The key below ESC does what the key beside the left-hand SHIFT key is supposed to do and vice versa. -- [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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped
This is still happening in Intrepid Ibex Alpha 6 (Macbook Santa Rosa 4,1, spanish keyboard) -- [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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped
** Changed in: xkeyboard-config (Ubuntu) Sourcepackagename: None = xkeyboard-config -- [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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped
is this still an issue? -- [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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped
** Changed in: xkeyboard-config Status: Incomplete = Confirmed -- [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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped
** Changed in: xkeyboard-config Status: Unknown = Incomplete -- [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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped
This is the xev output when pressing top left key (labeled as §) KeyPress event, serial 31, synthetic NO, window 0x441, 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped
Found more info: This depends on kernel option https://bugs.freedesktop.org/show_bug.cgi?id=8242 This updated patch adds apple:badmap into rules/base.xml.in. Macbooks use this option, so when the kernel gets fixed, keys will be swapped again, which is why apple:goodmap is provided so that users can fix their XKB configuration without upgrading xkeyboard-config. I do not know though if apple:goodmap should also be put in rules/base.xml.in So looks like Ubuntu ships with conflicting kernel + xkeyboard-config settings! -- [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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped
Quote: But international Macintosh keyboards are special, 2 keys are swapped. Kernel handles this situation, it swaps the keycodes returned by these two keys when he detects such a keyboard. Of course, this autodetection sometimes fails, this is why people complained about these 2 swapped keys. Currently macbook7{8,9} models have keycodes macintosh+macintosh(badmap) because it is known that Linux kernel misdetect it. It will hopefully be fixed in the future, and macintosh(badmap) will have to be dropped, otherwise keys are swapped again. This can be done by upgrading xkeyboard-config (but this is difficult because keycodes configuration depend on kernel version), or with this apple:goodmap option which cancels macintosh(badmap). So for now this option is useless, but it will become useful in the future if kernel gets fixed. -- [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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 139833] Re: [gutsy] Finnish/Swedish MacBo ok § and keys are swapped
From http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.18.3 commit 26192851aed037f2c928d9cc5d42f507876625b5 Author: Olaf Hering [EMAIL PROTECTED] Date: Wed Nov 8 19:58:07 2006 -0800 [PATCH] correct keymapping on Powerbook built-in USB ISO keyboards similar to the version in adbhid_input_register(): The '' key and the '^°' key on a german keyboard is swapped. Provide correct keys to userland, external USB keyboards will not work correctly when the 'badmap'/'goodmap' workarounds from xkeyboard-config are used. It is expected that distributions drop the badmap/goodmap part from keycodes/macintosh in the xkeyboard-config package. This is probably 2.6.18.x material, if major distros settle on 2.6.18. Signed-off-by: Olaf Hering [EMAIL PROTECTED] Cc: Greg KH [EMAIL PROTECTED] Cc: Dmitry Torokhov [EMAIL PROTECTED] Cc: Benjamin Herrenschmidt [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Chris Wright [EMAIL PROTECTED] -- [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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs