summaryrefslogtreecommitdiff
path: root/kanotix-lxde-extra/kanotix-lxde-keyboard
blob: 85832136878e8b4f21f5dbe0f8af3104498524d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

# set default for lxde-keyboard-switcher

XKBMODEL="pc105"
XKBLAYOUT="ch"
XKBVARIANT="nodeadkeys"
XKBOPTIONS="terminate:ctrl_alt_bksp"
BACKSPACE="guess"

[ -f  /etc/default/keyboard ] && . /etc/default/keyboard
case $XKBLAYOUT in
 de) setxkbmap -layout de,us,fr -variant nodeadkeys,, ;;
 us) setxkbmap -layout us,fr,de -variant ,,nodeadkeys ;;
 fr) setxkbmap -layout fr,de,us -variant ,nodeadkeys, ;;
 *) setxkbmap -layout $XKBLAYOUT ;;
esac