From cbdf593a966959dcdb4c20edf8a30ef79c88d9a7 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 16 Jul 2008 18:31:52 +0000 Subject: Scripte für Linux hinzugefügt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.neo-layout.org@664 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- linux/bin/asdf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 linux/bin/asdf (limited to 'linux/bin/asdf') 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 -- cgit v1.2.3