summaryrefslogtreecommitdiffstats
path: root/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session')
-rwxr-xr-xmeta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session b/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session
new file mode 100755
index 0000000000..46419d8206
--- /dev/null
+++ b/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session
@@ -0,0 +1,38 @@
1#!/bin/sh
2
3module_id() {
4 awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo
5}
6
7SHOWCURSOR="no"
8
9## Start up machine specific input devices. Really needs to go in its own session
10case `module_id` in
11 # On Zaurus models, zaurusd takes care of mbinputmgr for us in its hinge scripts
12 "Generic OMAP1510/1610/1710")
13 /usr/bin/mbinputmgr &
14 ;;
15 # qemu machines.. likely need better detection
16 "ARM-IntegratorCP" | "ARM-Versatile PB")
17 /usr/bin/mbinputmgr &
18 #SHOWCURSOR="yes"
19 ;;
20esac
21
22## All this should be done by themeing/xsettings.. ##
23matchbox-desktop --icon-size 48 \
24 --icon-padding 64 \
25 --font sans-16:bold \
26 --titlefont sans-16:bold &
27
28mb-applet-startup-monitor &
29
30#matchbox-panel --orientation east \
31# --padding 4 \
32# --no-menu \
33# --no-session \
34# --default-apps mb-applet-home,mb-applet-clock,mb-applet-battery &
35
36exec matchbox-window-manager -use_cursor $SHOWCURSOR $@
37
38