summaryrefslogtreecommitdiff
path: root/packages/gpephone/gpe-session-scripts-phone/matchbox-session.vm
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2007-02-06 08:45:07 +0000
committerRod Whitby <rod@whitby.id.au>2007-02-06 08:45:07 +0000
commit0a0d010cd1dd947f6d0e19b85f1d089ecb6eef16 (patch)
tree0312303c5036b611f075edbe3070f568103ceda3 /packages/gpephone/gpe-session-scripts-phone/matchbox-session.vm
parent493255c0ada70a916c0cd8604ac40a7011ba728f (diff)
parent68b828380e935344f72ffcbbb124f4f38a67569c (diff)
merge of '874adfdd0660713eb95ed9ae86e0bd3fb95ec61a'
and '8ed317e67b9356de305928b5c3cfb03fa0cc9816'
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 $@