freebsd-ports/sysutils/xfce4-utils/files/patch-scripts-xinitrc
2003-08-02 17:34:51 +00:00

10 lines
306 B
Text

--- scripts/xinitrc.orig Sat Aug 2 21:30:18 2003
+++ scripts/xinitrc Sat Aug 2 21:30:56 2003
@@ -14,6 +14,7 @@ Xft.hintstyle: hintmedium
EOF
# Launch xscreensaver (if available), but only as non-root user
+UID=`id -u`
test $UID -gt 0 && xscreensaver -no-splash &
# Run xfce4-session if installed