diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/matchbox-poky/matchbox-poky | |
parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
download | openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.bz2 openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.xz openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.zip |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/matchbox-poky/matchbox-poky')
-rwxr-xr-x | meta/packages/matchbox-poky/matchbox-poky/etc/matchbox/session | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/packages/matchbox-poky/matchbox-poky/etc/matchbox/session b/meta/packages/matchbox-poky/matchbox-poky/etc/matchbox/session new file mode 100755 index 000000000..fede9e44b --- /dev/null +++ b/meta/packages/matchbox-poky/matchbox-poky/etc/matchbox/session @@ -0,0 +1,43 @@ +#!/bin/sh + +module_id() { + awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo +} + +SHOWCURSOR="no" + +## Start up machine specific input devices. Really needs to go in its own session +case `module_id` in + "SHARP Shepherd" | "SHARP Husky" | "SHARP Corgi" | "SHARP Spitz" | "SHARP Akita" | "SHARP Borzoi") + chkhinge26 /dev/input/event0 hinge-handler & + ;; + "Generic OMAP1510/1610/1710") + /usr/bin/mbinputmgr & + ;; + "ARM-IntegratorCP") + /usr/bin/mbinputmgr & + SHOWCURSOR="yes" + ;; +esac + +## All this should be done by themeing/xsettings.. ## +matchbox-desktop --icon-size 48 \ + --icon-padding 64 \ + --font sans-8:bold \ + --titlefont sans-8:bold & + +# let theme set it +# --bg /usr/share/themes/Clearlooks/background/default.png \ + +mb-applet-startup-monitor & + +matchbox-panel --orientation east \ + --padding 4 \ + --no-menu \ + --no-session \ + --default-apps mb-applet-home,mb-applet-clock,mb-applet-battery & + +## eek ugly no cursor hack - transparent theme should do this +exec matchbox-window-manager -theme Clearlooks -use_cursor $SHOWCURSOR $@ + + |