[Pkg-xfce-devel] Bug#490410: Bug#490410: xfce4-xkb-plugin: Same issue with us, cz keyboard layout, more details, workaround
- Subject: [Pkg-xfce-devel] Bug#490410: Bug#490410: xfce4-xkb-plugin: Same issue with us, cz keyboard layout, more details, workaround
- From: jen at jikos.cz (Jan Capek)
- Date: Wed, 8 Oct 2008 08:23:18 +0200 (CEST)
- Message-id: <[🔎] Pine.LNX.4.64.0810080814310.17140@twin.jikos.cz>
- In-reply-to: <[🔎] 1223446037.26592.11.camel@hidalgo>
- References: <20080816203323.19148.49995.reportbug@pippin> <1218964482.10719.1.camel@hidalgo> <Pine.LNX.4.64.0808181401060.12772@twin.jikos.cz> <20080818145551.GB22650@corsac.net> <Pine.LNX.4.64.0808181719320.3911@twin.jikos.cz> <20080917000431.GA13958@think.homelan> <[🔎] 1223446037.26592.11.camel@hidalgo>
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..
Reply to: