Bug#296434: capplets: Default keyboard layout defined in
XF86Config-4 not honored
Josep Puigdemont
Josep Puigdemont <baldrick@terra.es>, 296434@bugs.debian.org
Tue, 22 Feb 2005 19:03:32 +0100
El dt 22 de 02 del 2005 a les 17:04 +0100, en/na Lo=C3=AFc Minier va
escriure:
> Hi,
>=20
> On Tue, Feb 22, 2005, Josep Puigedmont wrote:
> > I installed sarge, and updated to sid.
>=20
> 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?
Correct.
I don't know which version of capplets came with sarge, though, but yes,
after installing sarge I upgraded to sid immediately.
>=20
> > 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).
>=20
> During the Debian installation, while still in debian-installer, you
> created one user. =20
Correct. The installer almost forces you to create one user, actually :)
> 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?
I didn't configure it myself, I suppose the installer did. During
installation it asked for the keyboard layout, and I chose the swedish
one, and I guess it is system-wise setting (i.e. for all users).
Here are the contents of /etc/environment:
$ cat /etc/environment
LANGUAGE=3D"ca_ES:ca:en_GB:en"
LANG=3Dca_ES.UTF-8
This might be relevant: after installation the default locale was
ca_ES@euro ISO-8859-15, this annoyed me and so I made UTF-8 the default
(and actually since then I can't type accented characters (=C3=A0=C3=A9...)=
in the
consoles). I did the change by running "dpkg-reconfigure console-data".
> 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?
Yes, I configured both.
The installer configures the console keyboard, and then it runs the
XFree86 configuration which asks again.
>=20
> > This happens for every new user created.
>=20
> What happens is that they have to configure their keyboard layout to
> swedish (se) because by default it's qwerty?
For me the "default" is what I configured during the installation
process, which is the "swedish" layout.
But it looks like the default for gnome is "U.S. English".
>=20
> > A user that has set the layot correctly has this key:
> ...
> > While a newly created user:
> ...
> > (i.e.: empty)
>=20
> 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?
Correct.
>=20
> > 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
>=20
> Ok, so we do see that your Xfree server is set to use a "se" keyboard
> layout by default.
>=20
> 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.
>=20
> 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.
>=20
> Please confirm this is what you want.
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'll look at the gconf manual, but at first glance, I couldn't find it
in gnome.org, will look better :)
Regards, and thanks for your help!
/Josep