You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, June 15th 2007, 4:52pm

problem of permanent changing keybindings with 2 layouts

Hi all,

Need to change few keys in KDE 3.5.5. It's easy with xmodmap.
Problem is I have 2 keyboard layouts. Any time when I switch layout with kxkb the xmodmap-made
changes get lost.

Specific follows:

xmodmap data:

keycode 112= F20
keycode 63 = F21
keycode 82 = F22
keycode 222= F23
keycode 223= F24
keycode 227= F25
keycode 79= SunF37
keycode 80= F26
keycode 81= F27

The ~/.kde/share/config/kxkbrc :

DisplayNames=
EnableXkbOptions=true
IncludeGroups=ru(phonetic):us
LayoutList=us,ru(phonetic)
Model=pc104
Options=grp_led:scroll,grp:menu_toggle
ResetOldOptions=true
ShowFlag=true
ShowSingle=false
StickySwitching=false
StickySwitchingDepth=2
SwitchMode=Window
Use=true

I have tried to change 'ResetOldOptions' to 'false', but it looks like the file gets rewritten when
kde starts ( or stops ).

Please help.