summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2011-06-25 18:36:10 +0200
committerStefan Ritter <xeno@thehappy.de>2011-06-25 18:36:10 +0200
commitaf882f206b72244947da24394be7f71cbdb79050 (patch)
treebe2dc9e84af3400bb65a1e5aba2ecece1ab70cab
parent221e2867ab81d7b6a87340e11ecd68da77b7d6d9 (diff)
More tests
-rwxr-xr-xxorg/xinitrc12
1 files changed, 7 insertions, 5 deletions
diff --git a/xorg/xinitrc b/xorg/xinitrc
index 0f7ff0f..4fd10ce 100755
--- a/xorg/xinitrc
+++ b/xorg/xinitrc
@@ -6,11 +6,13 @@ WALLPAPER='media/bilder/wallpaper/wallpaper.png'
setxkbmap de neo
setxkbmap -option terminate:ctrl_alt_bksp
-xset +fp /usr/share/fonts/local
-xset fp rehash
-xset -b
-xset dpms force on
-xset s off
+if [ -e /usr/bin/xset ]; then
+ xset +fp /usr/share/fonts/local
+ xset fp rehash
+ xset -b
+ xset dpms force on
+ xset s off
+fi
if [ -e /usr/bin/xrandr ]; then
if [ $(hostname) = "galahad" ]; then