[Xfce-bugs] [Bug 5270] Active keyboard layout no remembered

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Sep 20 13:50:59 CEST 2010


http://bugzilla.xfce.org/show_bug.cgi?id=5270

Martin Pitt <martin.pitt at ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.pitt at ubuntu.com

--- Comment #2 from Martin Pitt <martin.pitt at ubuntu.com> 2010-09-20 11:50:58 UTC ---
I confirm that. There are several aspects to this problem:

 * It does not seem to write the default layout into xfconf, and the dialog
does nto allow to reorder them; if you would put the currently selected layout
first, X would switch to it once you set it through xkb.

 * If you use gdm: gdm has its own keyboard layout switcher and a per-user
setting in ~/.dmrc (so that you can type your password with your preferred
layout, or just generally change the keyboard from the very beginning). This is
passed as $GDM_KEYBOARD_LAYOUT. gnome-settings-daemon uses that to pick the
layout to set from the list of available ones. Is XFCE meant to respect this?

So option 1 is to teach the keyboard dialog to put the currently selected
default layout into ~/.dmrc (e. g. "Layout=de nodeadkeys"), so that it will
apply to gdm as well, and then teach the settings helper to check
$GDM_KEYBOARD_LAYOUT, and set that layout by default.

Option 2 is to either mark the default layout by putting it first on the list
in the perchannel XML, or add a new key for it.

What do you prefer?

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Xfce-bugs mailing list