summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2013-06-23 17:28:21 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2013-09-03 19:57:25 +0200
commit692199c8f9d838175c007c4447dd0676f38b7ab0 (patch)
tree6670ea2ed25ada7503a8ae44aa7d584673b46ad9
parentec306adff7b17bd49f6b50001b44699054ba80ef (diff)
downloadkanotix-packages-692199c8f9d838175c007c4447dd0676f38b7ab0.zip
kanotix-packages-692199c8f9d838175c007c4447dd0676f38b7ab0.tar.gz
file for keyboard config
-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