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

USRMODMAP="$HOME/.Xmodmap"

if [ -x /usr/bin/xmodmap ]; then
        if [ -f /usr/share/apps/kxkb/ubuntu.xmodmap ]; then
                /usr/bin/xmodmap /usr/share/apps/kxkb/ubuntu.xmodmap || true
        fi
        if [ -f "$USRMODMAP" ]; then
                /usr/bin/xmodmap "$USRMODMAP" || true
        fi
fi