Bug#296434: marked as done (capplets: Default keyboard layout defined in XF86Config-4 not honored)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 22 Feb 2005 10:35:00 -0800


Your message dated Tue, 22 Feb 2005 19:15:12 +0100
with message-id <20050222181512.GE3953@bugs.debian.org>
and subject line Bug#296434: capplets: Default keyboard layout defined in XF86Config-4 not honored
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Feb 2005 14:05:23 +0000
>From baldrick@terra.es Tue Feb 22 06:05:23 2005
Return-path: <baldrick@terra.es>
Received: from mailfe05.swip.net (swip.net) [212.247.154.129] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D3afD-0007sT-00; Tue, 22 Feb 2005 06:05:23 -0800
X-T2-Posting-ID: 4ZtANAbY8HMwmpAxWUTVEA==
Received: from [213.100.58.237] (HELO deimos.baldrick.mine.nu)
  by mailfe05.swip.net (CommuniGate Pro SMTP 4.2.9)
  with ESMTP id 107713616; Tue, 22 Feb 2005 15:04:51 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Josep Puigedmont <baldrick@terra.es>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: capplets: Default keyboard layout defined in XF86Config-4 not honored
X-Mailer: reportbug 3.8
Date: Tue, 22 Feb 2005 15:04:54 +0100
Message-ID: <auto-000107713616@mailfe05.swip.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: capplets
Version: 1:2.8.1-4
Severity: normal


I installed sarge, and updated to sid.
When the default user created during installation loged in in GNOME,
the keyboard was set to american, and had to manually change the
keyboard settings to the correct layout (swedish). The "swedish" layout
was configured during the installation process, although the locale is
for the Catalan language (ca_ES).
This happens for every new user created.

Here comes a bit of info:

A user that has set the layot correctly has this key:
$ gconftool-2 -R  /desktop/gnome/peripherals/keyboard/xkb
 layouts = [se]
 model = pc105
 overrideSettings = false
 options = []
 update_handlers = []
$

While a newly created user:
$ gconftool-2 -R  /desktop/gnome/peripherals/keyboard/xkb
$
(i.e.: empty)


Here are the rellevant lines in XF86Config-4:

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"	"xfree86"
        Option          "XkbModel"	"pc105"
	Option		"XkbLayout"     "se"
EndSection

Section "ServerLayout"
	InputDevice	"Generic Keyboard"
EndSection

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)

Versions of packages capplets depends on:
ii  capplets-data            1:2.8.1-4       configuration applets for GNOME 2 
ii  gnome-control-center     1:2.8.1-4       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-2         GNOME Desktop icon theme
ii  gnome-panel              2.8.2-2         launcher and docking facility for 
ii  gnome-session            2.8.1-5         The GNOME 2 Session Manager
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libasound2               1.0.8-2         ALSA library
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libaudiofile0            0.2.6-5         Open-source version of SGI's audio
ii  libbonobo2-0             2.8.1-2         Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.8.1-1         The Bonobo UI library
ii  libc6                    2.3.2.ds1-20    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.2-1         GNOME Accessibility Implementation
ii  libgail17                1.8.2-1         GNOME Accessibility Implementation
ii  libgconf2-4              2.8.1-4         GNOME configuration database syste
ii  libgcrypt11              1.2.0-11        LGPL Crypto library - runtime libr
ii  libglade2-0              1:2.4.2-1       library to load .glade files at ru
ii  libglib2.0-0             2.6.2-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.1-1         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-11        The GNOME virtual file-system libr
ii  libgnutls11              1.0.16-13       GNU TLS library - runtime library
ii  libgpg-error0            1.0-1           library for common error values an
ii  libgstreamer-plugins0.8- 0.8.7-3         Various GStreamer libraries and li
ii  libgstreamer0.8-0        0.8.9-1         Core GStreamer libraries, plugins,
ii  libgtk2.0-0              2.6.2-3         The GTK+ graphical user interface 
ii  libhowl0                 0.9.8-2         Library for Zeroconf service disco
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libjpeg62                6b-9            The Independent JPEG Group's JPEG 
ii  libmetacity0             1:2.8.8-1       Common library of lightweight GTK2
ii  libnautilus2-2           2.8.2-2         libraries for nautilus components 
ii  liborbit2                1:2.10.5-0.1    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.8.0-3         Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libstartup-notification0 0.8-1           library for program launch feedbac
ii  libtasn1-2               0.2.10-4        Manage ASN.1 structures (runtime)
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-10 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.16-3        GNOME XML library
ii  libxrandr2               4.3.0.dfsg.1-10 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-12 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-4       compression library - runtime

-- no debconf information

---------------------------------------
Received: (at 296434-done) by bugs.debian.org; 22 Feb 2005 18:15:54 +0000
>From lool@dooz.org Tue Feb 22 10:15:54 2005
Return-path: <lool@dooz.org>
Received: from smtp4.wanadoo.fr [193.252.22.27] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D3eZe-0008CH-00; Tue, 22 Feb 2005 10:15:54 -0800
Received: from me-wanadoo.net (localhost [127.0.0.1])
	by mwinf0402.wanadoo.fr (SMTP Server) with ESMTP id E8C141C001CD;
	Tue, 22 Feb 2005 19:15:22 +0100 (CET)
Received: from bee.dooz.org (Laubervilliers-151_11-2-146.w82-127.abo.wanadoo.fr [82.127.1.146])
	by mwinf0402.wanadoo.fr (SMTP Server) with ESMTP id A56531C001B0;
	Tue, 22 Feb 2005 19:15:22 +0100 (CET)
X-ME-UUID: 20050222181522677.A56531C001B0@mwinf0402.wanadoo.fr
Received: by bee.dooz.org (Postfix, from userid 1000)
	id C8E736807037; Tue, 22 Feb 2005 19:15:12 +0100 (CET)
Date: Tue, 22 Feb 2005 19:15:12 +0100
From: =?iso-8859-1?Q?Lo=EFc?= Minier <lool@dooz.org>
To: Josep Puigdemont <baldrick@terra.es>
Cc: 296434-done@bugs.debian.org
Subject: Re: Bug#296434: capplets: Default keyboard layout defined in XF86Config-4 not honored
Message-ID: <20050222181512.GE3953@bugs.debian.org>
References: <auto-000107713616@mailfe05.swip.net> <20050222160408.GA3953@bugs.debian.org> <1109095412.4175.35.camel@deimos.baldrick.mine.nu>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <1109095412.4175.35.camel@deimos.baldrick.mine.nu>
Content-Transfer-Encoding: quoted-printable
Delivered-To: 296434-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

        Hi,

On Tue, Feb 22, 2005, Josep Puigdemont wrote:
> I confirm that I would like all users to have by default the layout I
> configured during installation ("se"), that is, after their first login
> the keyboard layout should be "se", if they want to change it later...
> well that'll be their problem :)
> I would expect this to be the normal behaviour.

 I understand what you want, sadly I don't think this is going to be
 implemented.  Very concretely, this would require to write a code
 snipset for this particular configuration variable, and bind it to a
 "debconf" screen (such as the screens you see during the installation
 of Debian).
   There are simply too many gconf configuration variables for us to
 write a screen to explain in detail how each works, and to permit its
 configuration.  Many variables are optional and have reasonable
 defaults.
   If one considers "GNOME" and "Xfree" to be different things, as well
 as the console and Xfree are different things, this is reasonnable, but
 of course it doesn't integrate very well "cross-applications".

 The answer to your problem is at
 <http://www.gnome.org/learn/admin-guide/latest/ch01.html>, basically
 use a "default" type of configuration, with
 "xml:readonly:/etc/gconf/gconf.xml.defaults", and set the keys you
 mentionned in your report.

 I'm closing this bug, feel free to reopen it (or mail me) if you want
 to discuss this further.

   Bye,

--=20
Lo=EFc Minier <lool@dooz.org>
"Neutral President: I have no strong feelings one way or the other."