Launchpad has imported 6 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=48905.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2012-04-19T03:12:11+00:00 Bryce Harrington wrote: Forwarding this bug from Ubuntu reporter Michael Terry: http://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/985065 [Problem] In Ubuntu, using the GUI capplet to add a new default layout does not actually change the key mappings. A libxklavier error from X is seen. [Original Description] This is a break-out bug from bug 960096. When you have fr/oss "French (alternative)" layout as your first layout, you end up with "us" instead. If you enable libxklavier debugging output, you'll see the following in your logs: "Unexpected by libxklavier X ERROR: 0x8351fb8, 163f0005, 2 [], X11 request: 145, minor code: 9" xkl_debug(200, "Unexpected by libxklavier X ERROR: %p, " WINID_FORMAT ", %d [%s], " "X11 request: %d, minor code: %d\n", dpy, (unsigned long) evt->resourceid, (int) evt->error_code, buf, (int) evt->request_code, (int) evt->minor_code); That 2 in there is the X error code, which means _XkbErrMissingTypes for xkbfile extension. I assume 145 is the major op code that got assigned for the XKBFile extension. If so, 9 is the X_kbSetMap request. Which all fits with an error trying to set the new layout map. DistroRelease: Ubuntu 12.04 Package: xorg 1:7.6+12ubuntu1 ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14 Uname: Linux 3.2.0-23-generic-pae i686 .tmp.unity.support.test.0: ApportVersion: 2.0.1-0ubuntu4 Architecture: i386 CheckboxSubmission: 9a284f3f6b4f7829abbe27ad9573a709 CheckboxSystem: 3935143777c965daaa64b51f0134f712 CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell] CompositorRunning: compiz Date: Wed Apr 18 12:31:05 2012 DistUpgraded: 2011-11-05 19:49:52,977 DEBUG enabling apt cron job DistroCodename: precise DistroVariant: ubuntu DkmsStatus: virtualbox, 4.1.12, 3.2.0-23-generic-pae, i686: installed EcryptfsInUse: Yes ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu GraphicsCard: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 18) (prog-if 00 [VGA controller]) Subsystem: CLEVO/KAPOK Computer Device [1558:3100] InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110422) Lsusb: Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub MachineType: System76, Inc. Lemur UltraThin ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic-pae root=UUID=0e585e80-16f1-404c-80cc-7d9805fcc3b0 ro quiet splash vt.handoff=7 SourcePackage: xorg UpgradeStatus: Upgraded to precise on 2011-11-05 (164 days ago) dmi.bios.date: 11/11/2010 dmi.bios.vendor: Phoenix Technologies LTD dmi.bios.version: CALPELLACRB.86C.0000.X.0000000000 dmi.board.asset.tag: Tag 12345 dmi.board.name: Lemur UltraThin dmi.board.vendor: System76, Inc. dmi.board.version: lemu2 dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: System76, Inc. dmi.chassis.version: lemu2 dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrCALPELLACRB.86C.0000.X.0000000000:bd11/11/2010:svnSystem76,Inc.:pnLemurUltraThin:pvrlemu2:rvnSystem76,Inc.:rnLemurUltraThin:rvrlemu2:cvnSystem76,Inc.:ct10:cvrlemu2: dmi.product.name: Lemur UltraThin dmi.product.version: lemu2 dmi.sys.vendor: System76, Inc. version.compiz: compiz 1:0.9.7.6-0ubuntu1 version.libdrm2: libdrm2 2.4.32-1ubuntu1 version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3 version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2 Reply at: https://bugs.launchpad.net/xkeyboard- config/+bug/985065/comments/13 ------------------------------------------------------------------------ On 2012-04-19T03:12:59+00:00 Bryce Harrington wrote: Let me see if I'm reproducing everything properly. I've added the French (alternative) layout as first listed before US. After rebooting, the indicator menu shows French (alternative) selected. setxkbmap looks correct: xkb_keymap { xkb_keycodes { include "evdev+aliases(azerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+fr(oss)+us:2+inet(evdev)" }; xkb_geometry { include "pc(pc105)" }; }; xprop -root | grep XKB looks ok _XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "pc105", "fr", "oss", "" _XKB_RULES_NAMES(STRING) = "evdev", "pc105", "fr,us", "oss,", "" And gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd shows fr oss: options = [terminate terminate:ctrl_alt_bksp] layouts = [fr oss,us] not sure why there's a double-space between 'fr' and 'oss' there. Might be relevant? Anyway, despite all this the layout behavior is still US-style. For instance, the 'm' key prints an 'm' whereas with fr oss I gather it should be printing an ','. Then I run sudo dpkg-reconfigure keyboard-configuration. I select "Generic 105-key (Intl) PC", "French", "French - French (alternative)", "The default for the keyboard layout", and "Right Alt (AltGR)" for compose key. After this, the keyboard seems to be working in fr oss mode. 'm' prints ',' and other keys seem remapped differently. However I notice the indicator menu icon shows 'en' (but clicking on it shows 'French (alternative)' - so that's inconsistent.) Logging out, the login screen's indicator shows fr/French (alternative). Logging in still shows fr/French (alternative), however checking on a gnome terminal window, 'm' is back to printing 'm' instead of ',' Aside from running dpkg-reconfigure, hand editing /etc/default/keyboard and then running `sudo udevadm trigger --subsystem-match=input --action=change` also works around the problem. `setxkbmap fr oss` works around it for the session. Attached is a script that summarizes some keyboard configuration details. Reply at: https://bugs.launchpad.net/xkeyboard- config/+bug/985065/comments/14 ------------------------------------------------------------------------ On 2012-04-19T03:13:18+00:00 Bryce Harrington wrote: Created attachment 60291 kbd-debug Reply at: https://bugs.launchpad.net/xkeyboard- config/+bug/985065/comments/15 ------------------------------------------------------------------------ On 2012-04-19T03:15:01+00:00 Bryce Harrington wrote: See the LP bug for two runs of the above tool. It appears that the difference between doing the change using setxkbmap and the GUI tool is: @@ -18,7 +20,7 @@ xkb_types { include "complete" }; xkb_compat { include "complete" }; - xkb_symbols { include "pc+us+inet(evdev)+compose(ralt)" }; -+ xkb_symbols { include "pc+fr(oss)+inet(evdev)+compose(ralt)" }; ++ xkb_symbols { include "pc+fr(oss)+us:2+inet(evdev)" }; xkb_geometry { include "pc(pc105)" }; }; @@ -29,6 +31,6 @@ xkb_types "complete" { xkb_compatibility "complete" { -xkb_symbols "pc+us+inet(evdev)+compose(ralt)" { -+xkb_symbols "pc+fr(oss)+inet(evdev)+compose(ralt)" { ++xkb_symbols "pc+fr(oss)+us:2+inet(evdev)" { xkb_geometry "pc(pc105)" { However, I'm not certain of the significance of these values. Reply at: https://bugs.launchpad.net/xkeyboard- config/+bug/985065/comments/16 ------------------------------------------------------------------------ On 2012-04-19T03:24:15+00:00 Bryce Harrington wrote: Note that we're carrying a few patches in Ubuntu which may (or may not) be relevant: To xklavier: * we're reverting one change via revert-default-group-change.patch (See https://bugs.freedesktop.org/show_bug.cgi?id=47671) * Carrying one upstream patch, backport of commit 28cb7b7e (See https://bugs.freedesktop.org/show_bug.cgi?id=46416) To gnome-settings-daemon: * Complete list: http://paste.ubuntu.com/936362/ * ... * 61_unity_use_application_indicator.patch * revert_git_stop_using_gconf.patch * revert_git_use_gsetting_keybindings.patch Reply at: https://bugs.launchpad.net/xkeyboard- config/+bug/985065/comments/17 ------------------------------------------------------------------------ On 2012-04-19T03:26:54+00:00 Bryce Harrington wrote: Note that while this can be reproduced using fr oss, it seems other keyboard layouts are affected. I haven't exhaustively tested all of them, but enough to see it's a larger issue than just a bug with fr oss. Reply at: https://bugs.launchpad.net/xkeyboard- config/+bug/985065/comments/18 ** Changed in: xkeyboard-config Status: Unknown => Confirmed ** Changed in: xkeyboard-config Importance: Unknown => High ** Bug watch added: freedesktop.org Bugzilla #47671 https://bugs.freedesktop.org/show_bug.cgi?id=47671 ** Bug watch added: freedesktop.org Bugzilla #46416 https://bugs.freedesktop.org/show_bug.cgi?id=46416 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/985065 Title: Can't use fr/oss keyboard layout by default To manage notifications about this bug go to: https://bugs.launchpad.net/xkeyboard-config/+bug/985065/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs