Bug 191083 - Keyboard layout switching does not actually switch the layout.
Summary: Keyboard layout switching does not actually switch the layout.
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard_layout (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-29 23:16 UTC by martynorespublika
Modified: 2009-08-24 04:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martynorespublika 2009-04-29 23:16:15 UTC
Version:            (using KDE 4.2.2)
Compiler:          gcc 4:4.3.3-1ubuntu1 
OS:                Linux
Installed from:    Ubuntu Packages

When KDE restarts, keyboard layout switching (Alt+Shift) does not actually switch the layout (from default English US to Lithuanian). The flag in the system tray changes, but layout - doesn't. The cure is to go to System Settings --> Regional & Language --> Keyboard Layout, to switch something that would trigger Apply button to activate (for example, unmark "Show country flag" and mark again), press Apply button and keyb. layout switching works until next reboot or KDE restart.

My settings (at "Keyboard Layout"):

Enable keyboard layouts; Show country flag; Keyb. model: Generic 105-key (Intl) PC; Active layouts: USA us, Lithuania lt; Layout variant: Default; Label: lt; Command: setxkbmap -model pc105 -layout us,lt -variant ,

Switching Policy: Global; Main shortcuts: Defined; 3rd level: None; Alternative: Ctrl+Alt+K

Reset old options, Command: setxkbmap -option -option grp:alt_shift_toggle
Comment 1 martynorespublika 2009-05-04 13:18:36 UTC
Now keyboard layout switching has changed it's behaviour: clicking on layout flag (at system tray) or pressing Alt+Shift or Ctrl+Alt+K changes layout to Lithuanian, BUT into some different layout variant - not to that, which I've chosen. I use Default variant, where Lithuanian letters are instead of 12345678 and = keys. That variant is chosen in my settings, but layout switching switches into some other variant, where Lithuanian letters are instead of [];'./ etc. keys.

The cure is the same: to go to System Settings --> Regional & Language --> Keyboard Layout, to switch something that would trigger Apply button to activate (for example, unmark "Show country flag" and
mark again), press Apply button and keyb. layout switching works correctly until next reboot or KDE restart.

It's very important to have "Default", because this layout variant is used widely in Lithuania. All keyboards in Lithuania's market have imprinted Lithuanian letters according to "Default" variant (where Lithuanian letters are instead of 12345678 and = keys).
Comment 2 Bruno Léon 2009-08-24 04:51:15 UTC
Hi,

the Keyboard Layout switch does not work on Kubuntu Jaunty (9.04), the correct layout is not set.

Setup:
- Kubuntu English default install
- Add French keyboard layout
- Switch to FR layout

Symptom:
- Press the letter A on the French keyboard correctly generates a A (Ok)
- Keyboard shortcut like CTRL+A will quit an application instead of doing select all. So it is understood as CRTL+Q

Conclusion
I first believed this to be a bug in shorcuts but when I checked in system settings, when you select the FR layout, what is actually done is:
setxkbmap -layout us,fr
when it should be
setxkbmap -layout fr,fr

I even do not understand how I can write in French with what the default comman d, but still I tested and this fixes the shortcuts issues.