summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session')
-rwxr-xr-xopenembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session15
1 files changed, 13 insertions, 2 deletions
diff --git a/openembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session b/openembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session
index 6599e7dbb1..2806094a79 100755
--- a/openembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session
+++ b/openembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session
@@ -1,7 +1,18 @@
1#!/bin/sh 1#!/bin/sh
2 2
3## start up check hinge, XXX really needs to go in its own session 3module_id() {
4chkhinge26 /dev/input/event0 hinge-handler & 4 awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo
5}
6
7## Start up machine specific input devices. Really needs to go in its own session
8case `module_id` in
9 "SHARP Shepherd" | "SHARP Husky" | "SHARP Corgi" | "SHARP Spitz" | "SHARP Akita" | "SHARP Borzoi")
10 chkhinge26 /dev/input/event0 hinge-handler &
11 ;;
12 "Generic OMAP1510/1610/1710")
13 /usr/bin/mbinputmgr &
14 ;;
15esac
5 16
6## All this should be done by themeing/xsettings.. ## 17## All this should be done by themeing/xsettings.. ##
7matchbox-desktop --icon-size 48 \ 18matchbox-desktop --icon-size 48 \