matchbox-session-sato: synchronize with matchbox 'session' file in poky
This file has not been synchronized with the one in Poky since previous versions of DEY. Not much has changed, but sync it anyway. Also: * Get SHOWCURSOR from formfactor config files, but fallback to one value depending on HAVE_TOUCHSCREEN if it was not configured. * Rename the bbappend to the version generic '_%.bbappend' https://jira.digi.com/browse/DEL-3046 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
387d1349e8
commit
8341462161
|
|
@ -2,12 +2,14 @@
|
|||
|
||||
. /etc/formfactor/config
|
||||
|
||||
## Use SHOWCURSOR from formfactor config files instaed of hardcoding it
|
||||
# if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
|
||||
# SHOWCURSOR="no"
|
||||
# else
|
||||
# SHOWCURSOR="yes"
|
||||
# fi
|
||||
## Use first SHOWCURSOR from formfactor config files (fallback to set it depending on HAVE_TOUCHSCREEN)
|
||||
if [ -z "${SHOWCURSOR}" ]; then
|
||||
if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
|
||||
SHOWCURSOR="no"
|
||||
else
|
||||
SHOWCURSOR="yes"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$HAVE_KEYBOARD" = "1" ]; then
|
||||
KEYBOARD_APPLET=""
|
||||
|
|
@ -15,6 +17,10 @@ else
|
|||
KEYBOARD_APPLET="keyboard"
|
||||
fi
|
||||
|
||||
# Tell GTK+3 we really want server side decorations, even with
|
||||
# GtkHeaderBar using applications: Without that mb-panel will render
|
||||
# on top of the client side decorations.
|
||||
export GTK_CSD=0
|
||||
|
||||
matchbox-desktop &
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue