Skip to content

Instantly share code, notes, and snippets.

@pojntfx
Created February 3, 2026 16:14
Show Gist options
  • Select an option

  • Save pojntfx/6e5af4001c748680c852afa1a8dc0480 to your computer and use it in GitHub Desktop.

Select an option

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
#!/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