[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Changed in: gdm Status: New = Expired -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/460328 Title: Wrong keyboard settings when console-settings has multiple layouts To manage notifications about this bug go to: https://bugs.launchpad.net/gdm/+bug/460328/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Changed in: gnome-control-center Importance: Unknown = Medium -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Changed in: gnome-settings-daemon Importance: Unknown = Medium -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Changed in: gdm Importance: Unknown = Medium -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Changed in: gnome-control-center Status: Confirmed = Fix Released -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Changed in: gnome-settings-daemon Status: Unknown = Fix Released -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Changed in: gdm Status: Unknown = New -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Changed in: gnome-control-center Status: Unknown = Confirmed -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
Checkbox: new window inherits layout of active window or something like that. In new gnome it is a curious frontend to defaultGroup key. Checkbox true = defaultGroup -1 Checkbox false = defaultGroup 0 And this checkbox does not update visually when set defaults button is pressed and sets defaultGroup to -1. Checkbox remains false. I doubt this trifle worth a separate bug. -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
Psy[H[] [2010-03-24 20:13 -]: Confirming. Problems described in comments #41 and #42 are fixed. Finally :-) Thanks for testing. There is a small misguiding interface glitch left: if you have defaultGroup key set to 0, and you press set defaults in g-k-p, defaultGroup becomes -1, but corresponding checkbox in g-k-p interface is not being updated. Hm, what is the corresponding checkbox? Can you please file a new gnome-control-center bug about it? Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Bug watch added: GNOME Bug Tracker #613775 https://bugzilla.gnome.org/show_bug.cgi?id=613775 ** Also affects: gnome-control-center via https://bugzilla.gnome.org/show_bug.cgi?id=613775 Importance: Unknown Status: Unknown -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
control center patch sent upstream. ** Changed in: gnome-control-center (Ubuntu Lucid) Status: In Progress = Fix Committed -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
This bug was fixed in the package gnome-control-center - 1:2.29.92-0ubuntu2 --- gnome-control-center (1:2.29.92-0ubuntu2) lucid; urgency=low * Add 04_keyboard_layout_gconf_names.patch: keyboard: Fix layout gconf key initialization for empty variants. (LP: #460328) -- Martin Pitt martin.p...@ubuntu.com Wed, 24 Mar 2010 09:24:11 +0100 ** Branch linked: lp:~ubuntu-desktop/gnome-control-center/ubuntu ** Changed in: gnome-control-center (Ubuntu Lucid) Status: Fix Committed = Fix Released -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Branch linked: lp:ubuntu/gnome-control-center -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
Confirming. Problems described in comments #41 and #42 are fixed. There is a small misguiding interface glitch left: if you have defaultGroup key set to 0, and you press set defaults in g-k-p, defaultGroup becomes -1, but corresponding checkbox in g-k-p interface is not being updated. -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
Psy[H[] [2010-03-22 21:35 -]: Why make g-s-d add defaults from console-setup to gconf? Add nothing until user applies something that differs from console-setup settings. I think that should work as well, yes. -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
Psy[H[] [2010-03-22 22:26 -]: ...I was wrong: options with dups and tabs are correctly translated to console-setup, being stripped of garbage. But why such distorted syntax in gconf? Does it actually work with that syntax? If not, can you please file a separate bug about it, since it's a separate problem? Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Bug watch added: GNOME Bug Tracker #613666 https://bugzilla.gnome.org/show_bug.cgi?id=613666 ** Also affects: gnome-settings-daemon via https://bugzilla.gnome.org/show_bug.cgi?id=613666 Importance: Unknown Status: Unknown ** Changed in: gdm (Ubuntu Lucid) Status: In Progress = Invalid ** Changed in: gdm (Ubuntu Lucid) Assignee: Martin Pitt (pitti) = (unassigned) -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
It gets fairly hilarious at this point to close/reopen gdm, I'm sorry. But we can't fix this properly in g-s-d without fixing gdm first, since gdm destroys the initially configured keyboard layouts from X and just pokes in its own selection (which is just a single layout). ** Changed in: gdm (Ubuntu Lucid) Status: Invalid = In Progress ** Changed in: gdm (Ubuntu Lucid) Assignee: (unassigned) = Martin Pitt (pitti) -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Bug watch added: GNOME Bug Tracker #613681 https://bugzilla.gnome.org/show_bug.cgi?id=613681 ** Also affects: gdm via https://bugzilla.gnome.org/show_bug.cgi?id=613681 Importance: Unknown Status: Unknown -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
*Phew*, it's finally working. I sent the patches to the upstream bug and will upload them soon. They now implement the suggested behaviour, as long as the gconf key is empty, it uses the system-level layouts. The key stays empty as long as you just switch between the layouts configured on the system level (in GNOME or gdm), and is only written to if you pick a new layout in gdm or GNOME. ** Changed in: gdm (Ubuntu Lucid) Status: In Progress = Fix Committed ** Changed in: gnome-settings-daemon (Ubuntu Lucid) Status: In Progress = Fix Committed -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
Thank you, much appreciated. -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
This bug was fixed in the package gnome-settings-daemon - 2.29.92-0ubuntu3 --- gnome-settings-daemon (2.29.92-0ubuntu3) lucid; urgency=low * Add 08_multi_keyboard_layouts.patch: Default to system settings for handling multiple keyboard layouts. (LP: #460328) * Add 09_indicator-display.patch: Always call show_hide_icon() in apply_xkb_settings(), not just when we set a different keyboard layout. We always want to show the indicator if we have multiple keyboard layouts available. -- Martin Pitt martin.p...@ubuntu.com Tue, 23 Mar 2010 17:09:20 +0100 ** Changed in: gnome-settings-daemon (Ubuntu Lucid) Status: Fix Committed = Fix Released ** Branch linked: lp:~ubuntu-desktop/gnome-settings-daemon/ubuntu ** Branch linked: lp:~ubuntu-desktop/gdm/ubuntu ** Changed in: gdm (Ubuntu Lucid) Status: Fix Committed = Fix Released -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
This bug was fixed in the package gdm - 2.29.92-0ubuntu4 --- gdm (2.29.92-0ubuntu4) lucid; urgency=low * 31-unify-power-strings.patch: Drop Shut Down → Switch Off hunk, still under debate. * Add 33-multi-keyboard-layouts.patch: Keep multiple system keyboard layouts for session. (LP: #460328) -- Martin Pitt martin.p...@ubuntu.com Tue, 23 Mar 2010 17:08:55 +0100 -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Branch linked: lp:ubuntu/gnome-settings-daemon -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Branch linked: lp:ubuntu/gdm -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
Does it actually work with that syntax? Surprisingly, yes. -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
Confirming: with empty gconf keys g-s-d now correctly takes settings from console-setup. When something is changed on user-level, only corresponding gconf key is being set. Others remain empty and work correctly. I've tested addition of custom options by adding compose key option, and noticed that supposed garbage in options key may actually be some kind of headers. Gconf list entry of compose option goes like that: Compose key compose:menu. So it seems to be correct behavior, because these options can be transferred correctly to console-setup by apply systemwide. The only question is: why those redundant words are needed in gconf list anyway? But without them things break. Maybe it is better to leave it as it is. The only downside: it is hard to manually type in gconf options list with all correct symbols in place. But I doubt many people will ever need to do it. One last thing: wouldn't it be better to set /desktop/gnome/peripherals/keyboard/general/defaultGroup to 0 by default, instead of -1 ? -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
Wow! I've found another glitch! Check this: layouts key is empty, two layouts are set in console-setup. In my case us,ru If you select russian layout in g-k-p and press move up button to put in on frst place, then gconf layouts key will be set to [ru ,us ]. In this case those tab symbols are 100% garbage, as on next start of g-s-d layouts key becomes [ru ,us ,us]. It is very close to the problem described in the beginning of this bug. -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
In addition to second us, the defaultGroup spontaneously changes it's value to -1 from 0 This bug is far from being closed... -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
Adding control-center task for the gnome-keyboard-properties issue. ** Also affects: gnome-control-center (Ubuntu) Importance: Undecided Status: New ** Changed in: gnome-control-center (Ubuntu Lucid) Importance: Undecided = Medium ** Changed in: gnome-control-center (Ubuntu Lucid) Status: New = In Progress ** Changed in: gnome-control-center (Ubuntu Lucid) Assignee: (unassigned) = Martin Pitt (pitti) -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
Taking notes for myself, please ignore. I tested this in more detail, and gsd always sets the current default layout to what is in $GDM_KEYBOARD_LAYOUT, so this is already working correctly. Simple check which avoids logging out/in: gconftool --type list --list-type string -s /desktop/gnome/peripherals/keyboard/kbd/layouts '[us,de]' GDM_KEYBOARD_LAYOUT=gb gnome-settings-daemon --debug --no-daemon - I get GBr as default layout consistently, which is correct (g-s-d has code to match that). So what we actually need now is one of those: - not override the system default if the user doesn't pick anything different in gdm; i. e. consider an empty list in gconf as a valid long-term configuration - passing the entire list of system defaults in $GDM_KEYBOARD_LAYOUT, with the one selected being first The first seems easier to implement indeed. Sorry for all the back and forth, it took me a while to test all the scenarios, read the code, and understand how things should work. ** Changed in: gnome-settings-daemon (Ubuntu Lucid) Assignee: Martin Pitt (pitti) = (unassigned) ** Changed in: gnome-settings-daemon (Ubuntu Lucid) Status: In Progress = Invalid ** Changed in: gdm (Ubuntu Lucid) Status: Invalid = In Progress ** Changed in: gdm (Ubuntu Lucid) Assignee: (unassigned) = Martin Pitt (pitti) -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
*sigh* seems we can't get around fixing it the complicated way of supporting lists in $GDM_KEYBOARD_LAYOUT. If the gconf key is empty, the keyboard layout indicator does not work, and for me g-s-d does not take the settings from udev. ** Changed in: gnome-settings-daemon (Ubuntu Lucid) Status: Invalid = In Progress ** Changed in: gnome-settings-daemon (Ubuntu Lucid) Assignee: (unassigned) = Martin Pitt (pitti) -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
/desktop/gnome/peripherals/keyboard/kbd/layouts is [] empty - this is ok, because layouts are then taken from console-setup Everything works until reboot or restart of gnome-settings-daemon: How do you switch keyboard layouts then? -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
OK, so how would this work: * We keep gdm as it is; gdm is responsible for picking _one_ layout which is the one used for entering the password, and the one which is active when you log into the session. * We fix g-s-d to read the system default layout(s) and add them to gconf * Afterwards we keep the current g-s-d behavior of evaluating $GDM_KEYBOARD_LAYOUT to see which of the available layouts should be selected. As far as I can see, this will fix the original problem, avoid situations with empty gconf values which break the layout indicator and layout switching, and avoid intrusive patches and even more complex behaviour for $GDM_KEYBOARD_LAYOUT. -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
Before Karmic, I didn't have to configure gnome at all (meaning, all the gconf settings were working fine if they were empty). Console-setup was configured to [us,gr], and X would pick it up and let me work with it, and allow me to switch layouts, no matter if I used an xterm, gnome, or kde session. I could type a mixed English/Greek password in gdm. I think it'd be better if all the involved programs were modified to work correctly when all the gconf keys are empty. I.e. gconftool-2 --recursive-unset /desktop/gnome/peripherals/keyboard inside a session should not result in a broken layout/ability to switch etc... -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
Why make g-s-d add defaults from console-setup to gconf? Add nothing until user applies something that differs from console-setup settings. Let the layouts gconf key be empty until needed otherwise. I'm proposing the following g-s-d behavior: 1. setting present in gconf = use it 2. setting is empty in gconf = use corresponding setting from console-setup without writing anything to gconf. 3. user applies setting that differs from console-setup setting = write it to gconf and follow rule #1. Current wrong behavior in karmic: when gconf layouts key is empty, g-s-d adds us layout to it on its startup, despite I have us,ru in console-setup. So switching breaks. fix variants: 1. Add settings correctly. 2. Leave layouts key as it is (empty), use console-setup settings directly (latter is preferable). Current wrong behavior in lucid: When I press set defaults in g-k-p, all corresponding gconf-keys are being emptied. But console-setup settings are not being read. I have us,ru in console-setup, also terminate:ctrl_alt_bksp parameter. But none of this is being reflected in g-k-p. When gconf layouts key is empty, g-s-d acts as if layouts key is set to us. When g-s-d is restarted, it adds us to gconf key. So switching is broken in two ways. fix variants: 1. Make set defaults button set correct default settings (from console-setup), 2. Make set defaults button set empty gconf keys, but correct g-s-d to use console-setup settings _directly_ when there is no override in gconf) (latter is preferable). -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
also a glitch in lucid: when I set Xserver kill keys and layout switch keys through g-k-p, wrong syntax is being written to gconf key: instead of writing: [terminate:ctrl_alt_bksp,grp:alt_shift_toggle] it writes: [terminate terminate:ctrl_alt_bksp,grp grp:alt_shift_toggle] (duplicated parameter name and tab symbol) -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
after I manually correct all settings in gconf, apply systemwide button in g-k-p works fine: it asks for authorization and writes parameters from layouts, model and options keys to console-setup. summarizing problems: 1. g-s-d writes garbage to gconf (tab symbols, duplicated words broken syntax) (karmic lucid) 2. g-s-d does not read setting from console-setup when corresponding gconf keys is empty (lucid) 3. g-s-d haphazardly writes things to layouts key when it is empty, ignoring console-setup. (karmic lucid) -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
...I was wrong: options with dups and tabs are correctly translated to console-setup, being stripped of garbage. But why such distorted syntax in gconf? -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Tags added: iso-testing -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
xserver-xorg-input-evdev itself is fine, it just passes on the entire list to the udev property. So this is between gdm and g-s-d now, closing the -evdev task. ** Changed in: xserver-xorg-input-evdev (Ubuntu Lucid) Status: In Progress = Invalid ** Changed in: xserver-xorg-input-evdev (Ubuntu Lucid) Assignee: Martin Pitt (pitti) = (unassigned) ** Changed in: gnome-settings-daemon (Ubuntu Lucid) Status: Confirmed = In Progress ** Changed in: gdm (Ubuntu Lucid) Status: Confirmed = In Progress -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
I just tested current lucid with multiple layouts: [us,de,de\tnodeadkeys] gdm is meant to pick precisely one keyboard layout (the one you want to use by default), so we should not and will not support lists in gdm. (This is what I originally meant with multiple default layouts do not make sense). So I close the gdm task. What is actually wrong: If you pick a new layout in gdm (I chose UK), I get the correct layout added to gconf [us,de,de\tnodeadkeys,gb] but it does not become the default layout. That is a g-s-d bug. ** Changed in: gdm (Ubuntu Lucid) Status: In Progress = Invalid ** Changed in: gdm (Ubuntu Lucid) Assignee: Martin Pitt (pitti) = (unassigned) -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
what about situation when there are two layouts in console setup (for example us,ru) and gconf layouts key is empty? g-s-d is being started - what will happen? Currently in karmic gconf layouts key becomes just [us]. Shouldn't it remain empty? -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
Psy[H[] [2010-03-18 16:41 -]: what about situation when there are two layouts in console setup (for example us,ru) and gconf layouts key is empty? g-s-d is being started - what will happen? Currently in karmic gconf layouts key becomes just [us]. Shouldn't it remain empty? It should only be empty on your very first login. In this case I think it should become [us,ru]. I know that this doesn't work right now, that's part of the bug. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
I may disagree. If empty = no override, wouldn't it be logical to leave it empty and use system-level settings, until user decides to set something explicitly for himself? In case of gdm, which is a system tool, not a user-owned profile, it is even more appropriate to follow system-level settings, but with possibility of optional gdm-level override. another issue is /desktop/gnome/peripherals/keyboard/general/defaultGroup key. Its default -1 value (no defined default layout) is rather useless, it brings uncertainty in managing layouts when switching between several existing and new windows. 0 would be more appropriate. But that isn't as important as the first issue. -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
also if defaultGroup is set to -1 then there should be no visible dot in gnome-keyboard-properties. -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
bug #283128, which includes a patch (!), might be the same issue as well. -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
bug #401497 and its duplicates could be the same issue -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 460328] Re: Wrong keyboard settings when console-settings has multiple layouts
** Changed in: xserver-xorg-input-evdev (Ubuntu) Importance: Undecided = High ** Also affects: console-setup (Ubuntu Lucid) Importance: Undecided Status: Invalid ** Also affects: xserver-xorg-input-evdev (Ubuntu Lucid) Importance: High Assignee: Martin Pitt (pitti) Status: In Progress ** Also affects: gdm (Ubuntu) Importance: Undecided Status: New ** Also affects: gnome-settings-daemon (Ubuntu) Importance: Undecided Status: New ** Changed in: gnome-settings-daemon (Ubuntu Lucid) Importance: Undecided = High ** Changed in: gnome-settings-daemon (Ubuntu Lucid) Importance: High = Undecided ** Changed in: gnome-settings-daemon (Ubuntu Lucid) Status: New = Confirmed ** Changed in: gnome-settings-daemon (Ubuntu Lucid) Assignee: (unassigned) = Martin Pitt (pitti) ** Changed in: gdm (Ubuntu Lucid) Importance: Undecided = High ** Changed in: gdm (Ubuntu Lucid) Status: New = Confirmed ** Changed in: gdm (Ubuntu Lucid) Assignee: (unassigned) = Martin Pitt (pitti) ** Changed in: gnome-settings-daemon (Ubuntu Lucid) Importance: Undecided = High -- Wrong keyboard settings when console-settings has multiple layouts https://bugs.launchpad.net/bugs/460328 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs