Hello Denis, [moving this to debian-boot]
On Thu, Aug 04, 2005 at 09:38:25PM +0200, Denis Barbier wrote: > > The problem is, the default sarge installation does not ask about the X > > layout and silently assigns "us", making it impossible to login in gdm. > > In the Debian installer, the localization-config package provides a mapping > between console and X keyboard maps, which looks like (this is a Perl hash): > > 'Turkish (Q layout)' => { XkbLayout => 'tr', XkbOptions => 'caps:shift', > XkbModel => 'pc105' }, > 'Turkish (F layout)' => { XkbLayout => 'tr', XkbVariant => 'tr_f', > XkbOptions => 'caps:shift', XkbModel => 'pc105' }, > > Thus X should have the right settings, the problem being that gdm does > not use them by default. Hmm, I don't understand what "gdm does not use them" means. Is it resetting the mapping to its internal layout? I.e., gnome has its own layouts noted somewhere, X starts with the value from XF86Config-4, and gnome does something like setxkbmap -layout xx? Whatever the mechanism is, I experienced the following: * I've chosen Turkish F during the installation. * The console was Turkish F without problems. * Keyboard layout in gdm was us, not Turkish F. * Keyboard layout in gnome session was us, not Turkish F. I also started Paw -> Settings -> Keyboard (don't remember the exact names, it was in Turkish). There was one layout listed there, and it was us, not Turkish F. After I added Turkish F, I could switch to it via RAlt+LAlt. I couldn't switch back to us, probably because RAlt is AltGr in Turkish F layout. I couldn't find a gnome dialog to set another key combination for switching the layouts. So, it seems to be several problems: * X doesn't inherit tr_f from the installer. * gnome doesn't inherit tr_f from the installer. * I need to learn how to set up layout switch in gnome since I use a us keyboard and can't type Turkish F blindly. What is that "caps:shift" thingy? I'll try it tomorrow. With kind regards, Baurzhan. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]