8.2: changing keyboard layout group doesn't work
Hello, (SuSE 8.2 on Compaq Presario 2100) My problem probably has an easy solution, but I can't understand it. First of all, I noticed (in Kontrol Center) that Keyboard Layouts have been moved from 'Peripherals' to 'Regional'. As in 2 earlier version, I set as following: Primary layout: sr (serbian) Primary variant: basic (only possible) Additional layouts: sr (only, without default 'us') Group Shift/Lock behaviour: Left Win key changes group In earlier versions, I had a small 'sr' flag. By default, it meant 'us' keyboard. When I press Left-Win, I got 'sr' cyrillic keyboard. Now it doesn't work. 'sr' in the corner means _only_ cyrillic keyboard. For common us keyboard I have to add 'us' layout ; it's not good because I can't switch between layouts so fast. What's wrong? Nikola
Hm... Maybe this is wrong mailing-list for this question? Maybe suse-kde? Nikola On Thursday 29 May 2003 15:15, Nikola Lecic wrote:
Hello,
(SuSE 8.2 on Compaq Presario 2100)
My problem probably has an easy solution, but I can't understand it. First of all, I noticed (in Kontrol Center) that Keyboard Layouts have been moved from 'Peripherals' to 'Regional'. As in 2 earlier version, I set as following:
Primary layout: sr (serbian) Primary variant: basic (only possible) Additional layouts: sr (only, without default 'us') Group Shift/Lock behaviour: Left Win key changes group
In earlier versions, I had a small 'sr' flag. By default, it meant 'us' keyboard. When I press Left-Win, I got 'sr' cyrillic keyboard.
Now it doesn't work. 'sr' in the corner means _only_ cyrillic keyboard. For common us keyboard I have to add 'us' layout ; it's not good because I can't switch between layouts so fast.
What's wrong?
Nikola
Nikola Lecic <nikola@serbianunity.net> さんは書きました:
(SuSE 8.2 on Compaq Presario 2100)
My problem probably has an easy solution, but I can't understand it. First of all, I noticed (in Kontrol Center) that Keyboard Layouts have been moved from 'Peripherals' to 'Regional'. As in 2 earlier version, I set as following:
Primary layout: sr (serbian) Primary variant: basic (only possible) Additional layouts: sr (only, without default 'us') Group Shift/Lock behaviour: Left Win key changes group
In earlier versions, I had a small 'sr' flag. By default, it meant 'us' keyboard. When I press Left-Win, I got 'sr' cyrillic keyboard.
Now it doesn't work. 'sr' in the corner means _only_ cyrillic keyboard. For common us keyboard I have to add 'us' layout ; it's not good because I can't switch between layouts so fast.
What's wrong?
The following works: setxkbmap -symbols "en_US(pc105)+sr+group(lwin_toggle)" executed from the command line, not from the KDE control center, this gives you the Latin layout by default and you can toggle between the Latin layout and Cyrillic layout with the left windows key. I.e. this gives you the behaviour you want. I don't know why this only works from the command line and not from KDE. As far as I know, the keyboard settings in KDE are just a nice GUI wrapper around the xkb features of XFree86, i.e. KDE just calls some functions from Xlib to achieve the same as the command line above. Probably something changed recently in the xkb interface of XFree86 and KDE didn't adapt yet. -- Mike Fabian <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
Mike, Thank you very much; this works. I put that line in my ~/.kde/Autostart, but have to disable Keyboard Layouts in KDE Control Center because of overriding. (of course). Nikola On Monday 02 June 2003 17:16, Mike FABIAN wrote:
The following works:
setxkbmap -symbols "en_US(pc105)+sr+group(lwin_toggle)"
executed from the command line, not from the KDE control center, this gives you the Latin layout by default and you can toggle between the Latin layout and Cyrillic layout with the left windows key.
I.e. this gives you the behaviour you want.
I don't know why this only works from the command line and not from KDE. As far as I know, the keyboard settings in KDE are just a nice GUI wrapper around the xkb features of XFree86, i.e. KDE just calls some functions from Xlib to achieve the same as the command line above.
Probably something changed recently in the xkb interface of XFree86 and KDE didn't adapt yet.
participants (2)
-
Mike FABIAN
-
Nikola Lecic