Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=weston
- [Service]
- ExecStart=/bin/bash /home/pi/weston-starter
- [Install]
- WantedBy=graphical.target
- ### the script
- #!/bin/bash
- export WLD="$HOME/local"
- export PATH="$WLD/bin:$PATH"
- export LD_LIBRARY_PATH="$WLD/lib:/opt/vc/lib"
- export PKG_CONFIG_PATH="$WLD/lib/pkgconfig/:$WLD/share/pkgconfig/"
- export ACLOCAL_PATH="$WLD/share/aclocal"
- export ACLOCAL="aclocal -I $ACLOCAL_PATH"
- export XDG_RUNTIME_DIR="/run/shm/wayland"
- export XDG_CONFIG_HOME="$WLD/etc"
- export XORGCONFIG="$WLD/etc/xorg.conf"
- ## I should fix this and add to all apps that are qt
- export QT_QPA_PLATFORM=wayland-egl
- /home/pi/local/bin/weston-launch --tty=/dev/tty1 --user=pi -- --log=/home/pi/.config/weston.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement