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

Alex Fernandez alejandrofer at gmail.com
Tue Jul 21 06:50:13 UTC 2009


Hi,

On Tue, Jul 21, 2009 at 7:52 AM, Yves-Alexis Perez<corsac at debian.org> wrote:
> 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.

Sure enough, it autodetects the "us" layout:

root at eee: /etc # cat /var/log/Xorg.0.log | grep Layout
(==) No Layout section.  Using the first Screen section.
(==) Assigned the driver to the xf86ConfigLayout
(**) Option "XkbLayout" "us"
(**) <default keyboard>: XkbLayout: "us"

Even after a console-setup reconfigure, and without an
/etc/X11/xorg.conf file. So it doesn't work. Meanwhile tty's work fine
and use "es" layout.

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

So the layout is stored, but not applied for the next session?
Strange. Wouldn't it make more sense to reapply the keyboard settings
for the next session, if "use system defaults" is not set?

> 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

OK. So, to clarify things, there are three different issues here:
  - X server does not pick up the console keyboard settings configured
with console-setup.
  - xfce4 does not set its own keyboard layout, even when told to
ignore system defaults.
  - xfce4 does not change its settings when selecting a keyboard
layout (but it does when picking a different model or changing "use
system defaults".

Last to first: the third one is already reported upstream. For the
second one I am waiting to hear your opinion, and then maybe report it
upstream. So only the first one remains. If you agree with the
analysis above, can you reassign this Debian bug to the proper X
package (xserver-xorg maybe) to try and solve the first issue?

Thanks,

Alex.





More information about the Pkg-xfce-devel mailing list