summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kanotix-lxde-extra/debian/install3
-rw-r--r--kanotix-lxde-extra/kanotix-lxde-keyboard8
2 files changed, 10 insertions, 1 deletions
diff --git a/kanotix-lxde-extra/debian/install b/kanotix-lxde-extra/debian/install
index 0f6082b..a7ae577 100644
--- a/kanotix-lxde-extra/debian/install
+++ b/kanotix-lxde-extra/debian/install
@@ -4,4 +4,5 @@ kanotix-start-compiz usr/bin
51-synaptics-kanotix.conf usr/share/X11/xorg.conf.d
kanotix-eject.desktop usr/share/applications
kanotix-lxde-upstart usr/sbin
-kanotix-lightdm-display-setup-script usr/sbin \ No newline at end of file
+kanotix-lightdm-display-setup-script usr/sbin
+kanotix-lxde-keyboard usr/bin
diff --git a/kanotix-lxde-extra/kanotix-lxde-keyboard b/kanotix-lxde-extra/kanotix-lxde-keyboard
new file mode 100644
index 0000000..df30ace
--- /dev/null
+++ b/kanotix-lxde-extra/kanotix-lxde-keyboard
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# set default for lxde-keyboard-switcher
+setxkbmap -layout de,us,fr -variant nodeadkeys,,
+
+if grep 'XKBLAYOUT="us"' /etc/default/keyboard ;then
+ setxkbmap -layout us,de,fr -variant ,nodeadkeys,
+fi