summaryrefslogtreecommitdiff
path: root/packages/gpephone/gpe-session-scripts-phone/matchbox-session.vm
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gpephone/gpe-session-scripts-phone/matchbox-session.vm')
-rw-r--r--packages/gpephone/gpe-session-scripts-phone/matchbox-session.vm15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/gpephone/gpe-session-scripts-phone/matchbox-session.vm b/packages/gpephone/gpe-session-scripts-phone/matchbox-session.vm
new file mode 100644
index 0000000000..24f80078f9
--- /dev/null
+++ b/packages/gpephone/gpe-session-scripts-phone/matchbox-session.vm
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# host session applications
+xoo -xd :1 -xn /usr/bin/Xephyr --device gpephone --title GPEPhone &
+
+# start nested session
+
+export DISPLAY=:1
+#. /etc/X11/Xsession
+if [ -x /etc/X11/phonesession ]; then
+ . /etc/X11/phonesession
+fi
+
+
+DISPLAY=:0 exec matchbox-window-manager -use_titlebar yes $@