diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend new file mode 100644 index 0000000..1fdc845 --- /dev/null +++ b/recipes-graphics/wayland/weston-init.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend_stm32mpcommon := "${THISDIR}/${PN}:" + +SRC_URI_append_stm32mpcommon = " file://weston.ini " diff --git a/recipes-graphics/wayland/weston-init/weston.ini b/recipes-graphics/wayland/weston-init/weston.ini new file mode 100644 index 0000000..a2123f3 --- /dev/null +++ b/recipes-graphics/wayland/weston-init/weston.ini @@ -0,0 +1,85 @@ +[core] +#modules=cms-colord.so +shell=desktop-shell.so +backend=drm-backend.so +idle-time=0 +repaint-window=100 +require-input=false + +[keyboard] +keymap_layout=us + +[shell] +background-image=/usr/share/weston/backgrounds/ST13028_Linux_picto_11_1366x768.png +background-color=0xff002244 +background-type=scale-crop +clock-format=minutes +panel-color=0x90a1a1a1 +panel-position=bottom +locking=false +animation=none +startup-animation=none +close-animation=none +focus-animation=none +binding-modifier=ctrl +#num-workspaces=6 +#cursor-theme=whiteglass +#cursor-size=24 + +#lockscreen-icon=/usr/share/icons/gnome/256x256/actions/lock.png +#lockscreen=/usr/share/backgrounds/gnome/Garden.jpg +#homescreen=/usr/share/backgrounds/gnome/Blinds.jpg + +[launcher] +icon=/usr/share/weston/icon/utilities-terminal.png +path=/usr/bin/weston-terminal + +[launcher] +icon=/usr/share/weston/icon/space.png +path=/bin/true + +[launcher] +icon=/usr/share/weston/icon_flower.png +path=/usr/bin/weston-flower + +[launcher] +icon=/usr/share/weston/icon/space.png +path=/bin/true + +[launcher] +icon=/usr/share/weston/icon/ST13345_Products_light_blue_24x24.png +path=/usr/local/demo/demo_launcher.py + +[launcher] +icon=/usr/share/weston/icon/space.png +path=/bin/true + +[input-method] +path=/usr/libexec/weston-keyboard + +# HDMI connector +# If the hdmi cable is plugged, weston uses the hdmi output (else dsi output). +# Use the command "systemctl restart weston" after pluging/unpluging the hdmi cable. +[output] +name=HDMI-A-1 +mode=1280x720 + +# DSI connector +[output] +name=DSI-1 +mode=preferred +transform=270 + +#[libinput] +#enable_tap=true + +#[touchpad] +#constant_accel_factor = 50 +#min_accel_factor = 0.16 +#max_accel_factor = 1.0 + +[screen-share] +command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize + +#[xwayland] +#path=/usr/bin/Xwayland