Created
September 20, 2016 17:06
-
-
Save leon-anavi/137cf512ce62792ce907330262ccb719 to your computer and use it in GitHub Desktop.
Porting AGL with Wayland/Weston to Raspberry Pi 2/3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
backend=drm-backend.so | |
shell=desktop-shell.so | |
[shell] | |
locking=true | |
# Uncomment below to hide panel | |
#panel-location=none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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