Weston: Difference between revisions

From Alpine Linux
(rearranged headings and replaced content for eudev and seatd)
(added heading Prerequisites)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


Out of the box, Weston provides a very basic desktop, or a full-featured environment for non-desktop uses such as automotive, embedded, in-flight, industrial, kiosks, set-top boxes and TVs.  
Out of the box, Weston provides a very basic desktop, or a full-featured environment for non-desktop uses such as automotive, embedded, in-flight, industrial, kiosks, set-top boxes and TVs.  
== Prerequisites ==
{{:Include:Desktop prerequisites}}
* Wayland compositors need raw access to input and output devices, typically mediated by a [[seat manager]]. Either [[seatd]] or [[elogind]] work fine, but installing both leads to conflicts.
* Installing [[Alpine_setup_scripts#setup-wayland-base|wayland-base]] enables [[elogind]] as [[Seat manager|seat manager]], enables [[Repositories#Community|community repository]] and enables [[eudev]].


== Installation ==
== Installation ==
Line 10: Line 15:


{{Cmd|# apk add weston weston-backend-drm seatd weston-backend-wayland weston-shell-desktop weston-terminal font-dejavu}}
{{Cmd|# apk add weston weston-backend-drm seatd weston-backend-wayland weston-shell-desktop weston-terminal font-dejavu}}
== Configuration ==
=== Set up eudev ===
{{:Include:Setup_Device_Manager}}
=== Setup up a seat manager ===
Wayland compositors need raw access to input and output devices. This is mediated by a [[seat manager]].
Configure either [[seatd]] or [[elogind]] as both are supported. However using both may lead to conflicts.
If [[seatd]] is used, Set up [[XDG_RUNTIME_DIR]].


== Starting weston ==
== Starting weston ==


You can launch <Code>weston</Code> by issuing the command sway from TTY. {{Cmd|$ weston}}  
You can launch <Code>weston</Code> by issuing the command sway from TTY. {{Cmd|$ weston}}  
== Configuration ==


== Troubleshooting ==  
== Troubleshooting ==  


== See also ==
== See also ==
[https://wayland.pages.freedesktop.org/weston/ Weston]
[https://wayland.pages.freedesktop.org/weston/ Weston]



Latest revision as of 10:40, 17 March 2025

Weston is the reference implementation of a Wayland compositor, as well as a useful environment in and of itself.

Out of the box, Weston provides a very basic desktop, or a full-featured environment for non-desktop uses such as automotive, embedded, in-flight, industrial, kiosks, set-top boxes and TVs.

Prerequisites

Installation

Steps to install Weston

  • Install weston and necessary dependencies:

# apk add weston weston-backend-drm seatd weston-backend-wayland weston-shell-desktop weston-terminal font-dejavu

Starting weston

You can launch weston by issuing the command sway from TTY.

$ weston

Configuration

Troubleshooting

See also

Weston