Hi, On Wed, 8 Oct 2008, Yves-Alexis Perez wrote:
> On mer, 2008-09-17 at 03:04 +0300, Andrei Popescu wrote: > > > > > > > > Could you try: > > > > - start X and Xfce and don't type anything (for example using > > startx > > > > /usr/bin/startxfce4) > > > > > > This still gives me the problem, where the plugin loads only the > > US > > > keyboard, not reflecting what is in xorg.conf > > > > Confirmed (this is also my default) > > > > > > - start X, type some stuff, then start xfce4-panel (for example > > using > > > > gdm or any dm) > > > X is started via gdm, there are tons of characters typed when > > logging > > > in. Layout switching is already active there and works (tested). > > Then > > > after successful login xfce is started (probably via Xsession.d > > and > > > that whole path - not an expert here) and the xkb plugin is > > still > > > confused. I hope I understood this test correctly. > > > > Not confirmed. For me it works ok when using gdm. > > Andrei: > Ok so in your case, your hitting the “no keypress before init”. Not sure > if there's already a bug opened, I'll point you to it later. > > Jan: > For your case, that's another story, and thus another bug. What puzzles > me is that when you described the situation in your first mail, it was > kind of exactly that (no init before keypresses). > When you say that layout switching is working *before* Xfce is run, how > do you try that? I meant the gdm - which is already an instance of X, right? In the login dialogue in gdm, I am able to switch keyboard layouts using the shortcut specified in my xorg.conf (see below for the relevant snippet). Cheers, Jan relevant part of my xorg.conf: ----------------------------- Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "microsoftprousb" Option "XkbLayout" "us,cz" Option "XkbVariant" ",qwerty" Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll" EndSection ----------------------------- Please, note that it if I specify e.g. 'de,cz' instead of 'us,cz' in the xorg.conf, the xfce4-panel would start the plugin but the plugin would see the default 'us' layout. I am wondering if this whole thing could be some unfortunate synchronization issue during the whole startup sequence that causes the plugin to get the wrong information from X..