[Pkg-xfce-devel] Bug#537749: Bug#537749: xfce4-settings: xfce4 loses keyboard layout settings after restart

Yves-Alexis Perez corsac at debian.org
Tue Jul 21 05:52:44 UTC 2009


forwarded 537749 http://bugzilla.xfce.org/show_bug.cgi?id=5205
thanks
On mar, 2009-07-21 at 00:36 +0200, Alex Fernandez wrote:
> Hi,
> 
> On Mon, Jul 20, 2009 at 11:18 PM, Yves-Alexis Perez<corsac at debian.org>
> wrote:
> > On lun, 2009-07-20 at 19:10 +0200, Alex Fernandez wrote:
> >> The keyboard on my Asus Eee PC 1000H has Spanish layout. Xfce4 came
> >> preconfigured to "us" layout,
> >
> > No, Xfce autodetects what X is using. See X documentation to manage
> that
> > (hint: dpkg-reconfigure console-setup).
> 
> I am a bit confused about this, please forgive my deep ignorance about
> X and xfce4 configuration. I assume you mean
>   $ dkpg-reconfigure xserver-xorg
> as console-setup is just used for tty's and these are working fine
> with "es" layout. 

No, things changed recently. X now uses what console-setup uses, through
hal. So first thing is to dpkg-reconfigure console-setup and configure
it correctly. Then check in “pure” xorg (startx /usr/bin/xterm) how is
the layout configured.

> (Anyway I tried it out too.) But no use: after both
> reconfigures the keyboard keeps "us" layout, and after a reboot
> everything is back to abnormal (i.e. "us" layout,
> xfce4-keyboard-settings not working). Of course it is not writing out
> an xorg.conf file, but that is a different issue.

Check /var/log/Xorg.0.log (or the startx /usr/bin/xterm) to see what X
is really using. First fix that.
> 
> Also, I have not checked "use system defaults", so why should xfce4
> care about what X is using?

Because, by default, xfce will autodetect what X uses and use that.
Changing the layout only works during the session.

>  I am trying to tell it explicitly to
> ignore any X configuration and use an "es" layout. Can it be done?

Yes, chose first a keyboard model, then a keyboard layout.

> What am I doing wrong? Or is it some kind of configuration bug?
> 
> >> so I changed it to Spanish "es" layout. However, after a system
> >> restart it turns back to "us" layout, even if "es" is the only
> >> configured option.
> >
> > Yes, it seems the configuration is saved only when you chose a
> *layout*.
> > And what you're chosing is a *keymap*. Another way to have it
> remembered
> > is to check/uncheck the “use X configuration”.
> 
> Now I am really confused. It says "es" under "Layout", empty variant;
> so I don't know why I am choosing a keymap. Even if I have two layouts
> ("us" and "es"), switching between the two does not help. Why is it
> saving the configuration after I add or remove a layout, but not when
> I choose one from the list?

It seems there is a bug there. When you're only adding a layout (and not
a keyboard model, or not checking/unchecking the “Use X configuration”),
no config file is written, so nothing is changed in what X uses (see
above for X stuff)

This is already reported, you can follow and comment upstream bug report
at http://bugzilla.xfce.org/show_bug.cgi?id=5205

Cheers,

-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20090721/76416a77/attachment.pgp>


More information about the Pkg-xfce-devel mailing list