Bug#287087: capplets: gnome-keyboard-properties can't load "U.S. English w/ deadkeys"

Leonardo Rochael Almeida Leonardo Rochael Almeida <leo@hiper.com.br>, 287087@bugs.debian.org
Fri, 24 Dec 2004 05:31:39 -0200


Package: capplets
Version: 1:2.8.1-3
Severity: important

Trying to load the "U.S. English w/ deadkeys" layout results in a dialog
box complaining of an XKB error and asking to report the results of
running the following programs:

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb
 layouts = [us+us_intl,us,us_intl]
 model = pc104
 overrideSettings = false
 options = [grp grp:alts_toggle]
 update_handlers = []

$ xprop -root | grep XKB
_XKB_RULES_NAMES_BACKUP(STRING) = "xfree86", "pc104", "us+us_intl", "", ""
_XKB_RULES_NAMES(STRING) = "xfree86", "pc104", "us+us_intl,us", ",", "grp:alts_toggle"

The results of running gconftool-2 before trying to add the "U.S.
English w/ deadkeys" layout is: 

$ gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb
 layouts = [us+us_intl,us]
 model = pc104
 overrideSettings = false
 options = [grp grp:alts_toggle]
 update_handlers = []

This leads me to believe that gnome-keyboard-properties is trying to
load the us_intl layout, which is no longer valid (since XFree 4.3.0 I
think). The correct way to obtain an "U.S. English w/ deadkeys" layout
in the new XFree-modular-xkb-layout-system is to load the "us+us_intl"
layout, which can be seen in the gconftool-2 results above because it's
what Gnome inherited from the XFree86 configuration (XF86Config-4).

I suspect this might be the case for a number of other layouts too, but
fixing the us_intl mess would already help a number of speakers of
accented latin languages (Portuguese, Spanish,...) that have american
keyboards.

BTW, it'd be nice if the "Avaliable layouts" and the "Selected layouts"
boxes included the id of the layout (e.g. "(us_intl)") beside the layout
labels (e.g. "U.S. English w/ deadkeys") so that users have a better
chance of understanding what is going on.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages capplets depends on:
ii  capplets-data             1:2.8.1-3      configuration applets for GNOME 2 
ii  gnome-control-center      1:2.8.1-3      The GNOME Control Center for GNOME
ii  gnome-desktop-data        2.8.1-2        Common files for GNOME 2 desktop a
ii  gnome-icon-theme          2.8.0-1        GNOME Desktop icon theme
ii  gnome-panel               2.8.1-2        Launcher and docking facility for 
ii  gnome-session             2.8.1-3        The GNOME 2 Session Manager
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libasound2                1.0.7-4        ALSA library
ii  libatk1.0-0               1.8.0-3        The ATK accessibility toolkit
ii  libaudiofile0             0.2.6-5        Open-source version of SGI's audio
ii  libbonobo2-0              2.8.0-3        Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.8.0-2        The Bonobo UI library
ii  libc6                     2.3.2.ds1-18   GNU C Library: Shared libraries an
ii  libeel2-2                 2.8.2-1        Eazel Extensions Library (for GNOM
ii  libesd0                   0.2.35-2       Enlightened Sound Daemon - Shared 
ii  libfontconfig1            2.2.3-4        generic font configuration library
ii  libfreetype6              2.1.7-2.3      FreeType 2 font engine, shared lib
ii  libgail-common            1.8.0-2        GNOME Accessibility Implementation
ii  libgail17                 1.8.0-2        GNOME Accessibility Implementation
ii  libgconf2-4               2.8.1-4        GNOME configuration database syste
ii  libgcrypt11               1.2.0-4        LGPL Crypto library - runtime libr
ii  libglade2-0               1:2.4.0-1      Library to load .glade files at ru
ii  libglib2.0-0              2.4.8-1        The GLib library of C routines
ii  libgnome-desktop-2        2.8.1-2        Utility library for loading .deskt
ii  libgnome-keyring0         0.4.0-2        GNOME keyring services library
ii  libgnome2-0               2.8.0-6        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.8.0-1        A powerful object-oriented display
ii  libgnomeui-0              2.8.0-3        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.8.3-6        The GNOME virtual file-system libr
ii  libgnutls11               1.0.16-9       GNU TLS library - runtime library
ii  libgpg-error0             1.0-1          library for common error values an
ii  libgstreamer-plugins0.8-0 0.8.6-1        Various GStreamer libraries and li
ii  libgstreamer0.8-0         0.8.7-1        Core GStreamer libraries, plugins,
ii  libgtk2.0-0               2.4.13-1       The GTK+ graphical user interface 
ii  libice6                   4.3.0.dfsg.1-8 Inter-Client Exchange library
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  libmetacity0              1:2.8.6-1      Common library of lightweight GTK2
ii  libnautilus2-2            2.8.2-2        libraries for nautilus components 
ii  liborbit2                 1:2.10.2-1.1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.6.0-3        Layout and rendering of internatio
ii  libpopt0                  1.7-5          lib for parsing cmdline parameters
ii  libsm6                    4.3.0.dfsg.1-8 X Window System Session Management
ii  libstartup-notification0  0.7-1          library for program launch feedbac
ii  libtasn1-2                0.2.10-3       Manage ASN.1 structures (runtime)
ii  libx11-6                  4.3.0.dfsg.1-8 X Window System protocol client li
ii  libxext6                  4.3.0.dfsg.1-8 X Window System miscellaneous exte
ii  libxft2                   2.1.2-6        FreeType-based font drawing librar
ii  libxklavier8              1.03-1         X Keyboard Extension high-level AP
ii  libxml2                   2.6.11-5       GNOME XML library
ii  libxrandr2                4.3.0.dfsg.1-8 X Window System Resize, Rotate and
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  nautilus                  2.8.2-2        file manager and graphical shell f
ii  xlibs                     4.3.0.dfsg.1-8 X Window System client libraries m
ii  zlib1g                    1:1.2.2-3      compression library - runtime

-- no debconf information