aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/matchbox-sato/matchbox-sato/etc/matchbox/session
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/matchbox-sato/matchbox-sato/etc/matchbox/session')
-rwxr-xr-xrecipes/matchbox-sato/matchbox-sato/etc/matchbox/session15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/matchbox-sato/matchbox-sato/etc/matchbox/session b/recipes/matchbox-sato/matchbox-sato/etc/matchbox/session
new file mode 100755
index 0000000000..8c8f953b47
--- /dev/null
+++ b/recipes/matchbox-sato/matchbox-sato/etc/matchbox/session
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+. /etc/formfactor/config
+
+if [ -e /dev/touchscreen/touchscreen0 ]; then
+ SHOWCURSOR="no"
+else
+ SHOWCURSOR="yes"
+fi
+
+matchbox-desktop &
+
+matchbox-panel --titlebar --start-applets showdesktop,windowselector --end-applets clock,battery,systray,startup &
+
+exec matchbox-window-manager -theme Sato -use_desktop_mode decorated -use_cursor $SHOWCURSOR $@