diff options
-rwxr-xr-x | meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session | 8 | ||||
-rw-r--r-- | meta/packages/matchbox-sato/matchbox-sato_0.1.bb | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session b/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session index 8d095f3cd..8a2bdd013 100755 --- a/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session +++ b/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session @@ -1,6 +1,12 @@ #!/bin/sh -SHOWCURSOR="no" +. /etc/formfactor/config + +if [ "$HAVE_TOUCHSCREEN" = "1" ]; then + SHOWCURSOR="no" +else + SHOWCURSOR="yes" +fi matchbox-desktop & diff --git a/meta/packages/matchbox-sato/matchbox-sato_0.1.bb b/meta/packages/matchbox-sato/matchbox-sato_0.1.bb index bf39d7357..78598ce63 100644 --- a/meta/packages/matchbox-sato/matchbox-sato_0.1.bb +++ b/meta/packages/matchbox-sato/matchbox-sato_0.1.bb @@ -1,9 +1,9 @@ DESCRIPTION = "Custom MB session files for poky" LICENSE = "GPL" SECTION = "x11" -RDEPENDS = "gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato" +RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato" RCONFLICTS = "matchbox-common" -PR = "r16" +PR = "r17" SRC_URI = "file://etc file://matchbox-session" S = ${WORKDIR} |