summaryrefslogtreecommitdiffstats
path: root/recipes/obsolete/gpephone/gpe-session-scripts-phone/matchbox-session.vm
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/obsolete/gpephone/gpe-session-scripts-phone/matchbox-session.vm')
-rw-r--r--recipes/obsolete/gpephone/gpe-session-scripts-phone/matchbox-session.vm15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/obsolete/gpephone/gpe-session-scripts-phone/matchbox-session.vm b/recipes/obsolete/gpephone/gpe-session-scripts-phone/matchbox-session.vm
new file mode 100644
index 0000000000..24f80078f9
--- /dev/null
+++ b/recipes/obsolete/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 $@