diff options
-rwxr-xr-x | openembedded/packages/matchbox-poky/matchbox-poky/etc/matchbox/session | 15 |
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 | 3 | module_id() { |
4 | chkhinge26 /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 | ||
8 | case `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 | ;; | ||
15 | esac | ||
5 | 16 | ||
6 | ## All this should be done by themeing/xsettings.. ## | 17 | ## All this should be done by themeing/xsettings.. ## |
7 | matchbox-desktop --icon-size 48 \ | 18 | matchbox-desktop --icon-size 48 \ |