Page 1 of 2
Keyboard layout switcher is unrealible
Posted: Fri Apr 23, 2010 10:29 am
by bmarkus
Using lxpanel 0.5.5 Keyboard Layout Switcher plugin is unrealible. I have four layouts defined in xorg.conf:
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us,de,fr,hu"
Option "XkbModel" "pc105"
EndSection
When plugin is added to the panel in few cases randomly works properly but in most of the time displays "UNKNOWN" and doesn't work. When system restarted with a plugin it always shows "UNKNOWN",
Defining only one layout result is the same, randomly display selected layout or "UNKNOWN".
Any idea?
P.S. It is on Tiny Core Linux 2.10
Re: Keyboard layout switcher is unrealible
Posted: Fri Apr 23, 2010 11:58 am
by Marty Jack
This commit which is post 0.5.5 could very well solve your problem.
http://lxde.git.sourceforge.net/git/git ... 8a02b7c04b
Re: Keyboard layout switcher is unrealible
Posted: Fri Apr 23, 2010 3:49 pm
by bmarkus
Marty, thanks. Unfortunately patched lxpanel behaves the same way

Re: Keyboard layout switcher is unrealible
Posted: Fri Apr 23, 2010 10:18 pm
by Marty Jack
In this forum post is a program I would like to have you run and post the output. We'll get to the bottom of this yet.
http://forum.lxde.org/viewtopic.php?f=21&t=1397
Re: Keyboard layout switcher is unrealible
Posted: Sat Apr 24, 2010 10:40 am
by bmarkus
Sorry but do not understand your post

Re: Keyboard layout switcher is unrealible
Posted: Sat Apr 24, 2010 11:44 am
by Marty Jack
The second post down in that topic has a little program that dumps out what the X server says your Xkb configuration looks like. This is actually chopped out of LXPanel, so is the same code you are running to initialize the keyboard applet. If you compile that according to the instructions there and run it, it will be a start on seeing why we're apparently mishandling what your server is reporting.
Re: Keyboard layout switcher is unrealible
Posted: Sat Apr 24, 2010 3:10 pm
by bmarkus
OK, it's clear. I was in hurry when read your previous post, sorry. Will try it in few days.

Re: Keyboard layout switcher is unrealible
Posted: Mon Apr 26, 2010 7:38 am
by bmarkus
Marty, this is the output of xkbtest:
Code: Select all
4
USA
Germany
France
Hungary
pc+us+de:2+fr:3+hu:4
Re: Keyboard layout switcher is unrealible
Posted: Mon Apr 26, 2010 12:13 pm
by Marty Jack
Hopefully fixed in git commit 7f4490c5db477662685f49bc0253be52354c3008. Thanks for the help tracking it down.
Re: Keyboard layout switcher is unrealible
Posted: Mon Apr 26, 2010 2:36 pm
by bmarkus
Marty Jack wrote:Hopefully fixed in git commit 7f4490c5db477662685f49bc0253be52354c3008. Thanks for the help tracking it down.
Just built lxpanel from git. Unfortunately no change, still doesn't work
BTW, "Keyboard LED" plugin now shows all three LED's correctly; in 0.5.5 ScrollLock status did not work.
Let me know how can I help.