summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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