Created
February 3, 2026 16:14
-
-
Save pojntfx/6e5af4001c748680c852afa1a8dc0480 to your computer and use it in GitHub Desktop.
Set up Weston on Alpine Linux on desktops with old GPUs that lack Mesa support
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/bash | |
| doas setup-wayland-base | |
| apk add weston weston-backend-drm seatd weston-backend-wayland weston-shell-desktop weston-terminal font-dejavu | |
| doas adduser $USER video | |
| doas adduser $USER seat | |
| doas rc-service seatd start | |
| doas rc-update add seatd default | |
| doas reboot # So that the `seat` permission works, alternative logout and login again | |
| XDG_RUNTIME_DIR=/tmp weston --use-pixman |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment