Bug#301262: GDM does not inherit XKB settings from Debian installer (was Re: [xkb] Re: Eliminating language-based layouts)
Hello Konstantinos, On Sun, Aug 07, 2005 at 12:43:45PM +0300, Konstantinos Margaritis wrote: From the debconf database you sent me, I see that d-i preseeds the debian-installer/keymap variable (which is what l-c checks to get the corresponding X settings) to 'trf' instead of 'trfu'. I'm pretty sure I got this right from the Turkish developers, so it probably got changed somewhere in the meantime. I fixed this and it worked, so I'm doing an upload soon with this and some other bugs there :-) But before that, could someone tell me if the entry for 'trqu' has changed also to eg. 'trq' :-) I don't know, I use neither Turkish localization nor keyboard. Can I find it out without reinstalling the system? I grepped the sources of debian-installer, but couldn't find trf. With kind regards, Baurzhan. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#301262: GDM does not inherit XKB settings from Debian installer (was Re: [xkb] Re: Eliminating language-based layouts)
On Sun, Aug 07, 2005 at 12:43:45PM +0300, Konstantinos Margaritis wrote: On Σάββατο 06 Αύγουστος 2005 09:48, Baurzhan Ismagulov wrote: The language was Turkish, the keyboard was Turkish F, localization-config is installed, but XkbLayout is us. Anything else I could look at? Ok, Just looked at l-c and found these entries in /usr/lib/localization-config/common/xfree86-kbd.pl: 'trfu' = { XKBD = 'Turkish (F layout)' }, 'trqu' = { XKBD = 'Turkish (Q layout)' }, and in /usr/lib/localization-config/sarge/lang_X_map.pl: 'Turkish (Q layout)' = { XkbLayout = 'tr', XkbOptions = 'caps:shift', XkbModel ='pc105' }, 'Turkish (F layout)' = { XkbLayout = 'tr', XkbVariant = 'tr_f', XkbOptions = 'caps:shift', XkbModel = 'pc105' }, These entries were sent sometime ago by the Turkish team, I didn't test them myself. The key is the first set is the console keymap and i think this is causing the problem. From the debconf database you sent me, I see that d-i preseeds the debian-installer/keymap variable (which is what l-c checks to get the corresponding X settings) to 'trf' instead of 'trfu'. Indeed, kbd-chooser/debian/prebaseconfig contains # Install non-Unicode variants of Turkish keymaps if [ $KEYMAP = trqu ]; then KEYMAP=trq db_set debian-installer/keymap $KEYMAP fi if [ $KEYMAP = trfu ]; then KEYMAP=trf db_set debian-installer/keymap $KEYMAP fi as a workaround for #276752. I'm pretty sure I got this right from the Turkish developers, so it probably got changed somewhere in the meantime. I fixed this and it worked, so I'm doing an upload soon with this and some other bugs there :-) But before that, could someone tell me if the entry for 'trqu' has changed also to eg. 'trq' :-) Yes, see above. Denis
Bug#301262: GDM does not inherit XKB settings from Debian installer (was Re: [xkb] Re: Eliminating language-based layouts)
On Σάββατο 06 Αύγουστος 2005 09:48, Baurzhan Ismagulov wrote: The language was Turkish, the keyboard was Turkish F, localization-config is installed, but XkbLayout is us. Anything else I could look at? Ok, Just looked at l-c and found these entries in /usr/lib/localization-config/common/xfree86-kbd.pl: 'trfu' = { XKBD = 'Turkish (F layout)' }, 'trqu' = { XKBD = 'Turkish (Q layout)' }, and in /usr/lib/localization-config/sarge/lang_X_map.pl: 'Turkish (Q layout)' = { XkbLayout = 'tr', XkbOptions = 'caps:shift', XkbModel ='pc105' }, 'Turkish (F layout)' = { XkbLayout = 'tr', XkbVariant = 'tr_f', XkbOptions = 'caps:shift', XkbModel = 'pc105' }, These entries were sent sometime ago by the Turkish team, I didn't test them myself. The key is the first set is the console keymap and i think this is causing the problem. From the debconf database you sent me, I see that d-i preseeds the debian-installer/keymap variable (which is what l-c checks to get the corresponding X settings) to 'trf' instead of 'trfu'. I'm pretty sure I got this right from the Turkish developers, so it probably got changed somewhere in the meantime. I fixed this and it worked, so I'm doing an upload soon with this and some other bugs there :-) But before that, could someone tell me if the entry for 'trqu' has changed also to eg. 'trq' :-) Konstantinos
Bug#301262: GDM does not inherit XKB settings from Debian installer (was Re: [xkb] Re: Eliminating language-based layouts)
* Konstantinos Margaritis [2005-08-07 12:43:45+0300] Baurzhan Ismagulov wrote: The language was Turkish, the keyboard was Turkish F, localization-config is installed, but XkbLayout is us. Anything else I could look at? Ok, Just looked at l-c and found these entries in /usr/lib/localization-config/common/xfree86-kbd.pl: [...] These entries were sent sometime ago by the Turkish team, I didn't test them myself. The key is the first set is the console keymap and i think this is causing the problem. From the debconf database you sent me, I see that d-i preseeds the debian-installer/keymap variable (which is what l-c checks to get the corresponding X settings) to 'trf' instead of 'trfu'. I'm pretty sure I got this right from the Turkish developers, so it probably got changed somewhere in the meantime. I fixed this and it worked, so I'm doing an upload soon with this and some other bugs there :-) But before that, could someone tell me if the entry for 'trqu' has changed also to eg. 'trq' :-) As Denis pointed out, yes, 'trqu' has also changed to 'trq'. Honestly speaking, I couldn't test the Turkish localization-config completely due to the lack of time, so that's my fault. Baurzhan, thank you for the detailed information you gave in this thread, which helped to detect this bug. Could you please also contact debian-l10n-turkish for this type of (Turkish related) problems? I'm planning to use UTF-8 for Turkish, seeing that Aptitude is no longer an issue. Till that time, we should make the following changes in localization-config, as Konstantinos suggests: -'trfu' = { XKBD = 'Turkish (F layout)' }, -'trqu' = { XKBD = 'Turkish (Q layout)' }, +'trf' = { XKBD = 'Turkish (F layout)' }, +'trq' = { XKBD = 'Turkish (Q layout)' }, Regards, -- roktas signature.asc Description: Digital signature
Bug#301262: GDM does not inherit XKB settings from Debian installer (was Re: [xkb] Re: Eliminating language-based layouts)
Hello Recai, On Sun, Aug 07, 2005 at 06:30:06PM +0300, Recai Oktas wrote: Baurzhan, thank you for the detailed information you gave in this thread, which helped to detect this bug. Not at all, some Turkish user contacted the xkeyboard-config maintainer privately. I just tested and confirmed. Could you please also contact debian-l10n-turkish for this type of (Turkish related) problems? I'll do. Actually, Denis advised me to do that, but I was still not sure. With kind regards, Baurzhan. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#301262: GDM does not inherit XKB settings from Debian installer (was Re: [xkb] Re: Eliminating language-based layouts)
Hello Frans, On Sat, Aug 06, 2005 at 01:21:29AM +0200, Frans Pop wrote: On Friday 05 August 2005 09:56, Baurzhan Ismagulov wrote: I had, it was us, and it still is (after I added Turkish F in gnome): [EMAIL PROTECTED]:~$ grep XkbLayout /etc/X11/XF86Config-4 Option XkbLayout us What was the language you selected for the installation? If it was English, that would explain a lot. For English, package localization-config is _not_ installed, so the keyboard settings are not copied for X11. The language was Turkish, the keyboard was Turkish F, localization-config is installed, but XkbLayout is us. Anything else I could look at? With kind regards, Baurzhan. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#301262: GDM does not inherit XKB settings from Debian installer (was Re: [xkb] Re: Eliminating language-based layouts)
On Παρασκευή 05 Αύγουστος 2005 00:14, Denis Barbier wrote: * X doesn't inherit tr_f from the installer. Can you please check your /etc/X11/XF86Config-4 file? If this happens then it's a problem with localization-config, and that's a problem i'll have to fix. But I'd really appreciate if you send me the relevant preseeded variables. Actually, if you could send me (privately to avoid flooding the lists) both the XF86Config-4 file and the preseed database /var/cache/debconf/config.dat that would really help me a lot. * gnome doesn't inherit tr_f from the installer. Yes, this seems to be the root of the problem. This bugreport is currently assigned to localization-config, so maybe Konstantinos can tell whether he is willing to preseed gdm settings. gnome or gdm? i'll do a test installation and see for myself. Though I have to say this, while it may be comparatively easy to configure gdm, it isn't the same with gnome, as it uses gconf, and imho, this is gnome's bug, since kde and every other environment I tested with various settings works correctly. Konstantinos
Bug#301262: GDM does not inherit XKB settings from Debian installer (was Re: [xkb] Re: Eliminating language-based layouts)
On Thu, Aug 04, 2005 at 11:14:03PM +0200, Denis Barbier wrote: * X doesn't inherit tr_f from the installer. Can you please check your /etc/X11/XF86Config-4 file? I had, it was us, and it still is (after I added Turkish F in gnome): [EMAIL PROTECTED]:~$ grep XkbLayout /etc/X11/XF86Config-4 Option XkbLayout us * gnome doesn't inherit tr_f from the installer. Yes, this seems to be the root of the problem. This bugreport is currently assigned to localization-config, so maybe Konstantinos can tell whether he is willing to preseed gdm settings. I looked at the .gconf/desktop/gnome/peripherals/keyboard/xkb/%gconf.xml, there was only us there. I can see this also in the GUI (it is Applications - Desktop preferences - Keyboard). * 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. This means that Caps Lock acts as a locked Shift key; this makes a difference on the upper row (the one with digits), but I do not know why it is set. Hmm, I would say this is rather unusual. Just checked, Windows doesn't do this. Maybe they are emulating Turkish F typewriters :) . With kind regards, Baurzhan. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#301262: GDM does not inherit XKB settings from Debian installer (was Re: [xkb] Re: Eliminating language-based layouts)
On Friday 05 August 2005 09:56, Baurzhan Ismagulov wrote: I had, it was us, and it still is (after I added Turkish F in gnome): [EMAIL PROTECTED]:~$ grep XkbLayout /etc/X11/XF86Config-4 Option XkbLayout us * gnome doesn't inherit tr_f from the installer. Yes, this seems to be the root of the problem. This bugreport is currently assigned to localization-config, so maybe Konstantinos can tell whether he is willing to preseed gdm settings. What was the language you selected for the installation? If it was English, that would explain a lot. For English, package localization-config is _not_ installed, so the keyboard settings are not copied for X11. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#301262: GDM does not inherit XKB settings from Debian installer (was Re: [xkb] Re: Eliminating language-based layouts)
On Thu, Aug 04, 2005 at 10:09:37PM +0200, Baurzhan Ismagulov wrote: Hello Denis, [moving this to debian-boot] [Removing XKB mailing-list, and changing title] Some background for debian-boot: on XKB mailing list, Baurzhan Ismagulov complained that distros (including Debian) do not let user select keyboard variants, which may be very impractical, e.g. for Turkish people because there are 2 different layouts, and unexperienced users may be unable to log in because they do not know that the password they type is wrong. They experience similar problems with all distros, and I replied that to my knowledge Debian installer proposes these alternatives. 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. Your /etc/X11/XF86Config-4 file should have the right settings, but as your keyboard layout is wrong when gdm is launched, it means that gdm has its own settings. 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? Yes, at least this is my understanding of the situation. 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. Thanks for these detailed explanations. So, it seems to be several problems: * X doesn't inherit tr_f from the installer. Can you please check your /etc/X11/XF86Config-4 file? * gnome doesn't inherit tr_f from the installer. Yes, this seems to be the root of the problem. This bugreport is currently assigned to localization-config, so maybe Konstantinos can tell whether he is willing to preseed gdm settings. * 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. This means that Caps Lock acts as a locked Shift key; this makes a difference on the upper row (the one with digits), but I do not know why it is set. I just discover that there is a debian-l10n-turkish mailing list, you should be able to find there the people who worked on those Turkish settings (though this list is dedicated to translating Debian into Turkish). Denis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]