summaryrefslogtreecommitdiffstats
path: root/debian/wheezy/tdebase/debian/80ubuntu-xmodmap
blob: 27a318d7381e9c9e8b3ccf630c44f3f5b0368370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Set the Ubuntu laptop keycode -> xkeysyms mapping (used by KDE)
#
# This file is sourced by Xsession(5), not executed.
# The "|| true" is to ensure that the Xsession script does not terminate on error
/usr/bin/xmodmap /usr/share/apps/kxkb/ubuntu.xmodmap || true

USRMODMAP="$HOME/.Xmodmap"

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