On Sunday March 4 2007, Dan Bar Dov wrote:
> [Sorry for the earlier post, kbd mistake]
>
> Now that I've learned that to switch input language on Linux I need to
> click the small icon with the two letters in the system tray, I'd like to
> do the switching by
> a keyboard shortcut.
>
> I've learned that the following commands do the switching:
>      setxkbmap -model pc104 -layout us
>      setxkbmap -model pc104 -layout il
> so I can use them as input actions to select english/hebrew.
>
> However, turns out the commands do not update the icon.
> Is there a better way to switching language on KDE 3.5.5/FC5 using the
> keyboard?

KDE keyboard switching uses xmodmap rather than xkb, so if you change the 
layout with xkb, the KDE keymap switcher, obviously, isn't aware of the 
changes. Use Leonid Zeitlin's excellent kkbswitch instead.

kkbswitch.sourceforge.net

-- 
Sincerely Yours,
Michael Vasiliev

"For me, the first challenge for computing science is to discover how to 
maintain order in a finite, but very large, discrete universe that is 
intricately intertwined. And a second, but not less important challenge is 
how to mould what you have achieved in solving the first problem, into a 
teachable discipline: it does not suffice to hone your own intellect (that 
will join you in your grave), you must teach others how to hone theirs. The 
more you concentrate on these two challenges, the clearer you will see that 
they are only two sides of the same coin: teaching yourself is discovering 
what is teachable."
                        -- Edsger Wybe Dijkstra

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to