Bug#296434: capplets: Default keyboard layout defined in XF86Config-4 not honored

Loïc Minier Loïc Minier , 296434@bugs.debian.org
Tue, 22 Feb 2005 17:04:08 +0100


        Hi,

On Tue, Feb 22, 2005, Josep Puigedmont wrote:
> I installed sarge, and updated to sid.

 You installed sarge very recently and got version "1:2.8.1-3" of
 "capplets", then you immediately upgraded to sid and got version
 "1:2.8.1-4" of capplets?  Is this 100% correct?

> 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).

 During the Debian installation, while still in debian-installer, you
 created one user.  You also configured the default locale for the
 system, ie the "LANG" environment variable in /etc/envrionment (this is
 for all users).  You also configured your "xfree server" so that it
 uses the "se" keyboard layout (this is for all users).  Is this 100%
 correct?

 Warning, the keyboard layout is handled differently in console and in
 xfree, configuring one doesn't affect the other, you did configure the
 xfree keyboard layout during the installation, correct?

> This happens for every new user created.

 What happens is that they have to configure their keyboard layout to
 swedish (se) because by default it's qwerty?

> A user that has set the layot correctly has this key:
...
> While a newly created user:
...
> (i.e.: empty)

 If I understand correctly, you're giving me the difference in
 configuration between a user who has logged in with a qwerty keyboard
 and changed the layout to "se", and a user who has just logged in, but
 did not change the layout, correct?

> 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

 Ok, so we do see that your Xfree server is set to use a "se" keyboard
 layout by default.

 All console users can launch xfree by default in Debian, and this will
 use a se keyboard layout, _but_ GNOME permits one to change the layout
 used in GNOME and even to swicth between different layouts.

 If you want to configure the default layout for all GNOME users to
 "se", this is a different setting than the xfree server setting.  You
 can set this setting in /etc/gconf, this is explained in the gconf user
 manual.

 Please confirm this is what you want.

   Regards,

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