FS#16697 - [gdm] 2.28 does not respect hal keyboard layout

Attached to Project: Arch Linux
Opened by Bart Verhoeven (nepherte) - Friday, 16 October 2009, 18:03 GMT
Last edited by Jan de Groot (JGC) - Friday, 16 April 2010, 19:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 9
Private No

Details

Description:
gdm 2.28 login greeting window does not respect hal keyboard layout settings (i.e /etc/hal/fdi/policy files). It uses the standard usa keyboard layout instead. After one has entered their user name and has to fill in the password, the person is able to choose a keyboard layout from the gnome panel. This does not apply to the screen where one has to fill in his user name afterwards.

Steps to reproduce:
* Create a /etc/hal/fdi/policy/10-keymap.fdi file that includes a keyboard layout different from usa.
* Try to login with gdm afterwards (probably restart hal/gdm for changes to take effect) and notice that the new keyboard layout is not respected

Additional info:
* package version: gdm 2.28
* Reported Ubuntu bug: https://bugs.launchpad.net/gdm/+bug/421212.
* Arch bbs link: http://bbs.archlinux.org/viewtopic.php?pid=638161

Proposed fix:
* Ubuntu's patch is located here (and also attached): http://bazaar.launchpad.net/~ubuntu-desktop/gdm/ubuntu/annotate/head%3A/debian/patches/01_default_keyboard_layout_hal.patch
* Updated PKGBUILD and patch file attached
This task depends upon

Closed by  Jan de Groot (JGC)
Friday, 16 April 2010, 19:59 GMT
Reason for closing:  Fixed
Comment by YP (knedlyk) - Friday, 16 October 2009, 18:58 GMT
I have Polish and Ukrainian keyboard layouts configured in /etc/hal/fdi/policy/10-keymap.fdi :
<merge key="input.xkb.rules" type="string">base</merge>
<merge key="input.xkb.model" type="string">pc105</merge>
<merge key="input.xkb.layout" type="string">pl,ua</merge>
<merge key="input.xkb.variant" type="string">,unicode</merge>
<merge key="input.xkb.options" type="string">grp:alt_shift_toggle,lv3:ralt_switch,grp_led:scroll</merge>

After applying the patch and building gdm I rebooted the box and logged into the LXDE session from GDM. Now I have Polish keyboard layout but don't have Ukrainian layout and cannot switch to it.
Comment by lklklk (kknull) - Monday, 09 November 2009, 18:14 GMT
any news?
gdm 2.28.1 has the same problem, and the patch doesn't work anymore for it
Comment by clentfort (unkie) - Wednesday, 16 December 2009, 13:05 GMT
It's still broken for me (using HAL)
Comment by Ionut Biru (wonder) - Wednesday, 07 April 2010, 15:12 GMT
feedback using gdm 2.30.0?

for me this is now working.

Loading...