[Bug 27839] Re: xmodmap setup is missing (general startup is wrong?)

Andreas Simon andreas.w.simon at gmail.com
Fri May 12 09:03:55 UTC 2006


It would be really nice to get this into dapper.

The question how kde starts automatically a user's ~/.Xmodmap file is a
common one from people who need to setup their keyboard's special keys.

Just adding the following lines from gdm's /etc/X11/gdm/Xsession to
/etc/kde3/kdm/Xsession or maybe better to /etc/X11/Xsession should be
enough:


usermodmap="$HOME/.Xmodmap"
userxkbmap="$HOME/.Xkbmap"

if [ -f "$userxkbmap" ]; then
    setxkbmap `cat "$userxkbmap"`
    XKB_IN_USE=yes
fi

# xkb and xmodmap don't play nice together
if [ -z "$XKB_IN_USE" ]; then
    if [ -f "$usermodmap" ]; then
       xmodmap "$usermodmap"
    fi
fi

unset XKB_IN_USE

-- 
xmodmap setup is missing (general startup is wrong?)
https://launchpad.net/bugs/27839




More information about the kubuntu-bugs mailing list