Bug#490410: [Pkg-xfce-devel] Bug#490410: Bug#490410: xfce4-xkb-plugin: Same issue with us, cz keyboard layout, more details, workaround
On mer, 2008-10-08 at 08:23 +0200, Jan Capek wrote: 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). Ok. Cheers, 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.. The thing is, the display started from gdm belongs to X, while later it's owned by $user. In startxfce4 case it's owned directly by $user. I'm not really sure what happens here… Cheers, -- Yves-Alexis signature.asc Description: This is a digitally signed message part
Bug#490410: [Pkg-xfce-devel] Bug#490410: Bug#490410: xfce4-xkb-plugin: Same issue with us, cz keyboard layout, more details, workaround
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.. The thing is, the display started from gdm belongs to X, while later it's owned by $user. In startxfce4 case it's owned directly by $user. I'm not really sure what happens here… I want to point out that I have two independent computers here: 1) laptop - uses gdm to start xfce4 2) server - has no gdm installed and I launch xfce4 manually (startx) Both are experiencing the same issue. I am willing to debug further. However, it has been more than a month and I forgot some of the internals I saw in the keyboard plugin. Would it help if I post here the exact mechanism how the plugin gets the keyboard layout information from X? Maybe somebody w/ better knowledge of X could direct us. Cheers, Jan
Bug#490410: [Pkg-xfce-devel] Bug#490410: Bug#490410: xfce4-xkb-plugin: Same issue with us, cz keyboard layout, more details, workaround
On Mon, Aug 18, 2008 at 02:14:51PM +0200, Jan Capek wrote: I have tried this and that works as expected that is START case is the same as RESTART case. So it still looks like some crap in the actual xkb stuff. Ok. Can you tell me how do you start Xfce? Julien Cristeau (XSF Dev) said me that it could be because of the lack of keypresses before plugin initialization. Could you try: - start X and Xfce and don't type anything (for example using startx /usr/bin/startxfce4) - start X, type some stuff, then start xfce4-panel (for example using gdm or any dm) And report us what the result are. Cheers, -- Yves-Alexis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#490410: [Pkg-xfce-devel] Bug#490410: Bug#490410: xfce4-xkb-plugin: Same issue with us, cz keyboard layout, more details, workaround
Ok. Can you tell me how do you start Xfce? Julien Cristeau (XSF Dev) said me that it could be because of the lack of keypresses before plugin initialization. I normally start Xfce by 'startx' on my machine. However, on my parent's machine Xfce is being started through gdm. So, the results: 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 - 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. One more interesting note. I have tried using fbxkb and that one gives yet another broken result: unlike xfce's xkb plugin, it doesn't display the US flag at all, only '??'. The Czech one is correct. It doesn't make any difference whether I restart it or not. I don't care though. I would like the xfce's xkb indicator working. Cheers, Jan And report us what the result are. Cheers, -- Yves-Alexis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#490410: [Pkg-xfce-devel] Bug#490410: Bug#490410: xfce4-xkb-plugin: Same issue with us, cz keyboard layout, more details, workaround
On Mon, Aug 18, 2008 at 05:45:17PM +0200, Jan Capek wrote: Ok. Can you tell me how do you start Xfce? Julien Cristeau (XSF Dev) said me that it could be because of the lack of keypresses before plugin initialization. I normally start Xfce by 'startx' on my machine. However, on my parent's machine Xfce is being started through gdm. So, the results: 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 - 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. This could be related to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492919 But what puzzles me is that it should have worked via gdm, but doesn't. Weird :/ You may want to try xfkc too (but that's orthogonal to xkb anyway) -- Yves-Alexis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]