Skip to content

Instantly share code, notes, and snippets.

@leon-anavi
Created September 20, 2016 17:06
Show Gist options
  • Save leon-anavi/137cf512ce62792ce907330262ccb719 to your computer and use it in GitHub Desktop.
Save leon-anavi/137cf512ce62792ce907330262ccb719 to your computer and use it in GitHub Desktop.
Porting AGL with Wayland/Weston to Raspberry Pi 2/3
[core]
backend=drm-backend.so
shell=desktop-shell.so
[shell]
locking=true
# Uncomment below to hide panel
#panel-location=none
[Unit]
Description=Weston reference Wayland compositor
[email protected]
After=dbus.service rc.pvr.service
[Service]
ExecStartPre=/etc/weston.sh
ExecStart=/usr/bin/weston-launch -u root -- --idle-time=4294967
ExecStop=/usr/bin/killall -s KILL weston
Type=simple
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target
#!/bin/sh
if test -z "$XDG_RUNTIME_DIR"; then
export XDG_RUNTIME_DIR=/var/run/user/root
mkdir --parents $XDG_RUNTIME_DIR
chmod 0700 $XDG_RUNTIME_DIR
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment