Bug 44808 - Conflicting methods for keyboard language switching
Summary: Conflicting methods for keyboard language switching
Status: RESOLVED DUPLICATE of bug 84606
Alias: None
Product: kxkb
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Other
: NOR normal
Target Milestone: ---
Assignee: Andriy Rysin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-06 15:33 UTC by gsasha
Modified: 2004-07-10 20:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gsasha 2002-07-06 12:01:04 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: KDE
Version: 3.0.2
Severity: normal

On my computer I'm using 3 languages: English Russian and Hebrew.
I see that there are two different methods for switching languages from 
the keyboard.
First the one that is defined in the "Shortcuts" which switches 
languages by "Ctrl-Alt-K" by default.
Second one that is defined somewhere in KDE which switches by 
"Alt-Shift" but only between English and Hebrew.

Maybe as a result of this I cannot define "Alt-Shift" as a 
language-switching shortcut in the Configuration panel (actually I can 
but it does not work).

I think it should be fixed by having the language-switching 
functionality in one place only.

In addition I think that editing actions "RTL Paragraph" and "LTR 
Paragraph" which in  Windows are bound to "Ctrl-RightShift" and 
"Ctrl-LeftShift" could be useful.

And to finish I suppose that having these shortcuts compatible with 
Windows by default (or having both CTRL-ALT-K and ALT-SHIFT 
simultaneously by default) would be quite useful for people trying to 
switch from Windows to KDE (and even more so for people who have to 
constantly switch between them).

Thanks for the great work
we're gonna beat them! (I'm committing my first KDE app really soon ;)

Sasha
Comment 1 Andriy Rysin 2002-09-24 10:03:48 UTC
That's probably because you have Alt+Shift combination turned on in XConfig file
as switching groups. There are two engines for switching keyboard in X11:
layouts (which you switch with Ctrl+Alt+K) and groups (Alt+Shift in your case).
You may turn off Alt+Shift group switching editing /etc/X11/XConfig* file
(XkbOptions) or you can go to "Options" tab in kxkb configuration dialog and
check "reset old options" this will clear previous xkb options set in X.
Now as to the switching. E.g. I am using 3 layouts as well: English, Ukrainian
and Russian. But switching En-Uk and En-Ru happens much more often than Uk-Ru.
So What I do is I switch between Uk and Ru with Ctrl+Alt+K, and then between any
of the cyrillic and english with Ctrl+Shift. Switch for groups you can set up in
"Options" tab - there're several combinations for that.

layouts is to be found in /etc/X11/xkb/symbols and groups are defined inside the
layout file. Please take a look.

Andriy
Comment 2 Andriy Rysin 2004-07-10 20:37:27 UTC
kxkb now uses only layout switching - so you don't have to care about group switching any more.
As to the problem with assigning Alt+Shift - it's an X specific and also lack of integration between X and KDE. As it's not kxkb problem - I'll mark it as duplicate of 84606 to be able to follow the general problem.

*** This bug has been marked as a duplicate of 84606 ***