[Bug 118980] xmodmap settings are being resetted

Igor Poboiko igor.poboiko at gmail.com
Sat Jan 31 22:45:12 GMT 2009


http://bugs.kde.org/show_bug.cgi?id=118980


Igor Poboiko igor poboiko gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |igor.poboiko at gmail.com




--- Comment #2 from Igor Poboiko <igor poboiko gmail com>  2009-01-31 23:45:06 ---
I have same bug in KDE 4.2.0 (Debian Lenny; KDE was installed from Debian
experimental repo).. I installs XModmap using script in /etc/X11
/Xsession.d: 

 SYSMODMAP="/etc/X11/Xmodmap"
 USRMODMAP="$HOME/.Xmodmap"

if [ -x /usr/bin/X11/xmodmap ]; then
        if [ -f "$SYSMODMAP" ]; then
                xmodmap "$SYSMODMAP"
        fi
fi

if [ -x /usr/bin/X11/xmodmap ]; then
        if [ -f "$USRMODMAP" ]; then
                xmodmap "$USRMODMAP"
        fi
fi

Here is my /etc/X11/Xmodmap ($SYSMODMAP):

keycode 139 = XF86HomePage

keycode 144 = XF86AudioPrev
keycode 164 = XF86AudioStop
keycode 162 = XF86AudioPlay
keycode 153 = XF86AudioNext

keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume


And after loading KDE this keys stop working (checked xmodmap -pke | grep 144
and so on). But when i disables kxkb (in System settings -> Regional and
Lanuage -> Layout -> Disable keyboard layouts OR Indicator only), all works
fine - so i think, it's because kxkb overrides my keymap, which was set by
XModmap

PS sorry for my bad english


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list