Hi all,
I've recently installed OpenSuse 11.2 with KDE 4.4.2
And I have a problem when I try to make changes in russian (ru phonetic) keyboard layout.
I have french AZERTY keyboard and I use two languages / keyboard layouts French & Russian.
I use standard "KDE Keyboard layout switcher".
Here is "command line" from layout switcher :
setxkbmap -model pc105 -layout fr,ru -variant ,phonetic
Here is what i see when I type in console setxkbmap -print
For some reason when I log out, on the login window (password) my keyboard is switched to QWERTY layout, which is very annoying when need type correct passwordHTML Code:xkb_keymap { xkb_keycodes { include "evdev+aliases(azerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+fr+ru(phonetic):2+inet(evdev)+group(alt_shift_toggle)+capslock(capslock)" }; xkb_geometry { include "pc(pc104)" }; };
But the most important problem I have is that when I try change russian (RU) keyboard layout file from "/usr/share/X11/xkb/symbols/" directory, in order to switch some letters position (for better work-flow)
I do some modification, then save file (correctly saved) but when I log out or reboot PC keyboard layout still the same without my changes.
Here you can see few lines from modified file :
HTML Code:partial alphanumeric_keys xkb_symbols "phonetic" { name[Group1]= "Russia - Phonetic"; key <AE01> { [ exclam, 1 ] }; key <AE02> { [ at, 2 ] }; key <AE03> { [ Cyrillic_io, 3, quotedbl ] }; key <AE04> { [ Cyrillic_IO, 4 ] }; key <AE05> { [ Cyrillic_hardsign, 5, parenleft ] }; key <AE06> { [ Cyrillic_HARDSIGN, 6 ] }; key <AE07> { [ ampersand, 7 ] }; key <AE08> { [ asterisk, 8 ] }; key <AE09> { [ parenleft, 9 ] }; key <AE10> { [ plus, 0, at ] }; key <AE11> { [ parenright, degree ] };
and here is same lines from original russian keyboard layout file:
HTML Code:partial alphanumeric_keys xkb_symbols "phonetic" { name[Group1]= "Russia - Phonetic"; key <AE01> { [ 1, exclam ] }; key <AE02> { [ 2, at ] }; key <AE03> { [ 3, Cyrillic_io ] }; key <AE04> { [ 4, Cyrillic_IO ] }; key <AE05> { [ 5, Cyrillic_hardsign ] }; key <AE06> { [ 6, Cyrillic_HARDSIGN ] }; key <AE07> { [ 7, ampersand ] }; key <AE08> { [ 8, asterisk ] }; key <AE09> { [ 9, parenleft ] }; key <AE10> { [ 0, parenright ] };
Here is my file from /etc/hal/fdi/policy/20thirdparty/11-keymap.fdi
I have looked everywhere in Internet, but didn't found any advice how fix this problem.HTML Code:<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> <deviceinfo version="0.2"> <device> <match key="info.capabilities" contains="input.keymap"> <append key="info.callouts.add" type="strlist">hal-setup-keymap</append> </match> <match key="info.capabilities" contains="input.keys"> <merge key="input.xkb.rules" type="string">base</merge> <merge key="input.xkb.model" type="string">evdev</merge> <merge key="input.xkb.layout" type="string">fr,ru</merge> <merge key="input.xkb.variant" type="string",phonetic> <merge key="input.xkb.options" type="string">caps:capslock</merge> </match> </device> </deviceinfo>
I also have Linux Mint (Gnome) on other 3 computers and did same modification of keyboard layout file and it works fine.
Thank you for the help.




Reply With Quote

Bookmarks