summaryrefslogtreecommitdiff
path: root/packages/pdm/pdm-1.0/xfce
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pdm/pdm-1.0/xfce')
-rw-r--r--packages/pdm/pdm-1.0/xfce24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/pdm/pdm-1.0/xfce b/packages/pdm/pdm-1.0/xfce
new file mode 100644
index 0000000000..ba2582ff54
--- /dev/null
+++ b/packages/pdm/pdm-1.0/xfce
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+# Set some variables of some consequence
+
+export PATH=$PATH:/usr/X11R6/bin:/usr/lib/ICAClient/
+export DISPLAY=:0
+
+# Because we're not actually logging in, we do this
+# FIXME: PDM should do this instead
+
+export HOME=/user
+
+# Allow all comers
+/usr/X11R6/bin/xhost +
+
+# Start the screen saver
+xscreensaver -no-splash &
+
+# Start the rest of the XFCE world
+xfce-mcs-manager
+xfwm4 --daemon
+xftaskbar4 &
+xfdesktop &
+exec xfce4-panel