summaryrefslogtreecommitdiff
path: root/linux/bin/asdf
diff options
context:
space:
mode:
authorben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-07-16 18:31:52 +0000
committerben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-07-16 18:31:52 +0000
commitcbdf593a966959dcdb4c20edf8a30ef79c88d9a7 (patch)
tree03f79d810ca00abdf285a2a9667d502e41f3e542 /linux/bin/asdf
parent126f607c0f4275fcc590a4dfcbf0289fd97e489f (diff)
downloadneo-layout-cbdf593a966959dcdb4c20edf8a30ef79c88d9a7.tar.gz
neo-layout-cbdf593a966959dcdb4c20edf8a30ef79c88d9a7.tar.bz2
neo-layout-cbdf593a966959dcdb4c20edf8a30ef79c88d9a7.zip
Scripte für Linux hinzugefügt
git-svn-id: https://svn.neo-layout.org@664 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'linux/bin/asdf')
-rwxr-xr-xlinux/bin/asdf12
1 files changed, 12 insertions, 0 deletions
diff --git a/linux/bin/asdf b/linux/bin/asdf
new file mode 100755
index 0000000..39b1f7c
--- /dev/null
+++ b/linux/bin/asdf
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ -n "$SSH_CONNECTION" ]; then
+ echo "Dude, du bist in einer ssh session. Wie soll ich das Tastaturlayout hier ändern?"
+ exit 1
+fi
+if [ -z "$DISPLAY" ]; then
+ echo "Dude, du bist auf der Textkonsole. Ich kann das Layout nur auf dem X Server ändern!"
+ exit 1
+fi
+
+setxkbmap de neo