You are not logged in.

#1 2009-10-16 15:09:33

ulukai
Member
Registered: 2009-10-16
Posts: 82

Gnome 2.28 GDM Keyboard layout

Hello,

A few months ago I installed Arch + Gnome 2.26 and never had problems since then until I upgraded to Gnome 2.28. Now with the rewritten GDM the keyboard layout (for entering the username because I don't like select-your-user-from-the-list-thingies) is set to USA (qwerty) while the rest of my system is completely BE (standard, no variant) layout. Before the upgrade also GDM was 100% BE, but now the username is USA and when I want to enter the password it changes immediately to BE (because in the panel down I chose BE). Is there a way to also make the username respond to the BE layout?

==> What works in BE?
TTY's
password prompt of GDM
gnome session
terminals

==> What works not in BE and responds to USA layout?
GDM username prompt

How weird is that? My system is setup as described in the beginners guide (keyboard layout in 10-osvendor.fdi file + hal + evdev) which was system-wide until the update.

I looked around and found some similar threads, but only complaining about keyboard variants, which is not my issue. Also on the Gnome forums, there is no-one with this problem. I checked all config files and XML files related to GDM I could found, but nothing helped.

I noticed that with the Ubuntu Karmic Beta live CD, upon entering the keyboard layout from the boot screen, everything was BE as I want it to be. It proves to me it's all possible, but I can't find how.

Any help would be appreciated!

Offline

#2 2009-10-16 15:33:34

jedbrown
Member
Registered: 2009-01-28
Posts: 8

Re: Gnome 2.28 GDM Keyboard layout

I have a similar problem with GDM, but also when a session is started by ck-launch-session.  My keyboard stays messed up until I change it manually and it resets on resume from suspend.

http://bbs.archlinux.org/viewtopic.php? … 13#p637913

Offline

#3 2009-10-16 15:50:58

Nepherte
Member
From: Belgium
Registered: 2008-09-09
Posts: 427
Website

Re: Gnome 2.28 GDM Keyboard layout

I can confirm the problem. I hav omitted the problem by showing the list of available users in the login screen so you don't have to enter the user name. However, t is certainly not a solution.

Offline

#4 2009-10-16 16:03:35

Nepherte
Member
From: Belgium
Registered: 2008-09-09
Posts: 427
Website

Re: Gnome 2.28 GDM Keyboard layout

I've checked out ubuntu's launchpad and this is the related bug: https://bugs.launchpad.net/gdm/+bug/421212. This was the patch released: http://bazaar.launchpad.net/~ubuntu-des … _hal.patch

I'll try to rebuild gdm with this patch and see if it helps. I'll let you know how it turns out.

Offline

#5 2009-10-16 16:53:49

Nepherte
Member
From: Belgium
Registered: 2008-09-09
Posts: 427
Website

Re: Gnome 2.28 GDM Keyboard layout

The proposed patch works. You can find the PKGBUILD and all the necessary files here: http://www.nepherte.be/files/gdm-2.28.0-2.src.tar.gz

Offline

#6 2009-10-16 17:08:39

knedlyk
Member
From: L'viv, Ukraine
Registered: 2009-04-14
Posts: 154
Website

Re: Gnome 2.28 GDM Keyboard layout

Good news!!!! Thanks!

Offline

#7 2009-10-16 17:43:25

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Gnome 2.28 GDM Keyboard layout

Nepherte wrote:

The proposed patch works. You can find the PKGBUILD and all the necessary files here: http://www.nepherte.be/files/gdm-2.28.0-2.src.tar.gz

Please add this to the bugtracker then!

Offline

#8 2009-10-16 18:04:29

Nepherte
Member
From: Belgium
Registered: 2008-09-09
Posts: 427
Website

Re: Gnome 2.28 GDM Keyboard layout

Offline

#9 2009-10-16 20:59:29

ulukai
Member
Registered: 2009-10-16
Posts: 82

Re: Gnome 2.28 GDM Keyboard layout

Thanks for all your input! I haven't tested the patch yet, because i'm unsure what it will change on my system.

Will I still be able to update gdm via pacman -Syu after rebuilding gdm with this patch?
And will there come an official Arch GDM update with this patch to solve the problem or is the only way to get it solved dealing with the patch now?

@ Jedbrown: I also launch my session with ck-launch-session, but have no such problem.

Last edited by ulukai (2009-10-16 21:00:18)

Offline

#10 2009-10-16 21:15:25

knedlyk
Member
From: L'viv, Ukraine
Registered: 2009-04-14
Posts: 154
Website

Re: Gnome 2.28 GDM Keyboard layout

I discovered that this patch enable to use only one (the first) keyboard layout from /etc/hal/fdi/policies/10-keyboard.fdi, but what to do if I have two keyboard layouts defined? After login to the openbox (without gnome-settings-daemon!) I have the first language defined in 10-keyboard.fdi), but I cannot switch to the second language...

Offline

#11 2009-10-17 14:17:37

killajoe
Member
From: Berlin Planet Earth
Registered: 2007-07-04
Posts: 162
Website

Re: Gnome 2.28 GDM Keyboard layout

/etc/gdm/custom.conf is the file to configure gdm:

http://library.gnome.org/admin/gdm/2.28 … on.html.en

there is no gui but for what we need a gui for that?


Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad

Offline

#12 2009-10-17 15:27:54

ulukai
Member
Registered: 2009-10-16
Posts: 82

Re: Gnome 2.28 GDM Keyboard layout

killajoe wrote:

/etc/gdm/custom.conf is the file to configure gdm:

http://library.gnome.org/admin/gdm/2.28 … on.html.en

there is no gui but for what we need a gui for that?

That's very interesting, thanks for the link. Sure, it's possible that way, but a few weeks ago there still was a GUI for it and now everything has to be done manually again. That sounds very much like a regression to me hmm Anyway, that's not really the point. GDM documentation pages tell us that the system keyboard layout is used to login and that every user logging in can choose their preferred session. However, our system languages (which are different than USA) are not detected correctly and there is no option to override this in custom.conf.

/apps/gdm/simple-greeter/recent-languages

    [] (string list)

    Set to a list of languages to be shown by default in the login window. Default value is "[]". With the default setting only the system default language is shown and the option "Other..." which pops-up a dialog box showing a full list of available languages which the user can select.

    Users are not intended to change this setting by hand. Instead GDM keeps track of any languages selected in this configuration key, and will show them in the language combo box along with the "Other..." choice. This way, commonly selected languages are easier to select.

/apps/gdm/simple-greeter/recent-layouts

    [] (string list)

    Set to a list of keyboard layouts to be shown by default in the login panel. Default value is "[]". With the default setting only the system default keyboard layout is shown and the option "Other..." which pops-up a dialog box showing a full list of available keyboard layouts which the user can select.

    Users are not intended to change this setting by hand. Instead GDM keeps track of any keyboard layouts selected in this configuration key, and will show them in the keyboard layout combo box along with the "Other..." choice. This way, commonly selected keyboard layouts are easier to select.

Has someone the answer to the questions I asked earlier:
1. Will I still be able to update gdm via pacman -Syu after rebuilding gdm with this patch?
2. And will there come an official Arch GDM update with this patch to solve the problem or is the only way to get it solved dealing with the patch now?

Last edited by ulukai (2009-10-17 15:28:35)

Offline

#13 2009-10-17 17:41:28

triplem
Member
Registered: 2009-10-16
Posts: 21
Website

Re: Gnome 2.28 GDM Keyboard layout

I have just read a little through the Bug-Reports on Gnome and found one interesting point. If you change the Layout property in the file ~/.dmrc (where ~ is your personal home-directory) as soon as you have typed in your Username then the correct Layout is read from the .dmrc-File. Now this is annoying as well, since the keyboard layout is different for the username and the password.

Probably the following can help us? https://bugzilla.gnome.org/show_bug.cgi?id=596897

I do not need a GUI to configure the Keyboard settings, but I definitly would like to get this resolved somehow.

Offline

#14 2009-10-18 17:36:52

ulukai
Member
Registered: 2009-10-16
Posts: 82

Re: Gnome 2.28 GDM Keyboard layout

*kick*

Will I still be able to update gdm via pacman -Syu after rebuilding gdm with this patch?
And will there come an official Arch GDM update with this patch to solve the problem or is the only way to get it solved dealing with the patch now?

Offline

#15 2009-10-18 17:48:50

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Gnome 2.28 GDM Keyboard layout

1. Yes
2. Arch packages are predominantly unpatched. So, in all likelihood, no.

Offline

#16 2009-10-18 18:14:43

ulukai
Member
Registered: 2009-10-16
Posts: 82

Re: Gnome 2.28 GDM Keyboard layout

hokasch wrote:

1. Yes
2. Arch packages are predominantly unpatched. So, in all likelihood, no.

Thanks for clearing that up smile

Installed the patch using the pkgbuild in this thread and it's working indeed. That'll do for now.
I'm kinda curious if and when there will come a new GUI and official Gnome patch for this problem.

Offline

#17 2009-10-18 18:44:58

Nepherte
Member
From: Belgium
Registered: 2008-09-09
Posts: 427
Website

Re: Gnome 2.28 GDM Keyboard layout

triplem wrote:

I have just read a little through the Bug-Reports on Gnome and found one interesting point. If you change the Layout property in the file ~/.dmrc (where ~ is your personal home-directory) as soon as you have typed in your Username then the correct Layout is read from the .dmrc-File. Now this is annoying as well, since the keyboard layout is different for the username and the password.

The patch I linked to in #4 solved this particular issue for me. See #5 and #8 as well for more information.

Last edited by Nepherte (2009-10-18 18:45:32)

Offline

#18 2009-10-18 18:47:34

Nepherte
Member
From: Belgium
Registered: 2008-09-09
Posts: 427
Website

Re: Gnome 2.28 GDM Keyboard layout

triplem wrote:

Probably the following can help us? https://bugzilla.gnome.org/show_bug.cgi?id=596897

This patch is for a particular keyboard variant like no dead keys and should be applied to gnome-settings-daemon.

Offline

#19 2009-10-19 03:17:05

Biganon
Member
From: Switzerland
Registered: 2009-04-13
Posts: 7

Re: Gnome 2.28 GDM Keyboard layout

I've been having the same problem since my last -Syu, but in my case :

1) The keymap is set to us. Even if I select another keymap in GDM at boot time, it's not read and it's still us. I have to do "setxkbmap ch fr" in order to get the right keymap.

2) My touchpad, ruled by synaptics and a HAL fdi file, isn't managed as it should be. The options I had turned on (like the "tapping") aren't read.

So both 10-keymap and 20-synaptics aren't read. GDM just doesn't look at my HAL config files.

Offline

#20 2009-10-19 10:41:58

jedbrown
Member
Registered: 2009-01-28
Posts: 8

Re: Gnome 2.28 GDM Keyboard layout

@Biganon

I have the same symptoms with GDM and if I start a session with SLiM via ck-launch-session (so it is likely a ConsoleKit issue).  You can sort of fix the touchpad issue by installing gsynaptics and configuring there (although not all options are available).  When I restore from suspend, I have to repeat my setxkbmap and xmodmap.  Do you have this issue as well?

Offline

#21 2009-10-19 11:56:22

Biganon
Member
From: Switzerland
Registered: 2009-04-13
Posts: 7

Re: Gnome 2.28 GDM Keyboard layout

@jedbrown : I never suspend, for I can not get my computer working again, I have to shut down manually (I don't know why though.)

Offline

#22 2009-10-20 11:09:24

ulukai
Member
Registered: 2009-10-16
Posts: 82

Re: Gnome 2.28 GDM Keyboard layout

I created a GDM bugreport: https://bugzilla.gnome.org/show_bug.cgi?id=599032

Hopefully Gnome will include the patch in the next official release. 2.28.1 is out now, but when I look at the changelog I don't think it's included already:

Version 2.28.1
===============

- GDM will now avoid calling XAddHosts for remote connections.  Refer to bug
  #598142 for more information.
- Now GDM uses DeviceKit-power instead of gnome-power-manager for Suspend
  support.
- Now the at-spi-registryd-wrapper.desktop GDM autostart file will run
  at-spi-registryd directly instead of calling at-spi-registryd-wrapper.
- Fix to the visibility check for the "Other" button which corrects some
  situations where the button would not appear when it was supposed to.
- Now the GDM daemon will make the /var/log/gdm directory if it does not exist.
- Fixes to avoid autologin failure when a NULL username is passed in.
- Restore CTYPE when canonicalizing codesets.
- Several fixes to avoid warnings.

===============

Offline

#23 2009-10-26 12:01:06

snoopy33
Member
From: Paris
Registered: 2009-09-30
Posts: 14

Re: Gnome 2.28 GDM Keyboard layout

Hi,

I ve the same issue.

Now I use Slim, don t want to, but it s the only way to fix it without patch I found...

Offline

#24 2009-10-27 20:18:39

chopinx04
Member
Registered: 2009-10-27
Posts: 1

Re: Gnome 2.28 GDM Keyboard layout

Hi all,

maybe this can be usefull for someone: following an advice of one of my collegue I used the command "setxkbmap it" in a terminal for using an italian keybord and this set it for the whole X environment.. I've to say that I'm using fluxbox instead of gnome but the login manager is gdm and I'm having the same problems as you are.


Bye all (hope this will help),
Armando

Offline

#25 2009-11-09 18:33:54

Cornholio
Member
Registered: 2007-09-26
Posts: 38

Re: Gnome 2.28 GDM Keyboard layout

any news?

Offline

Board footer

Powered by FluxBB