LabWC: Difference between revisions
(remove eudev install command (already done by the setup script)) |
Prabuanand (talk | contribs) (rearranged headings and added Include:Desktop prerequisites) |
||
(12 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
[https://labwc.github.io LabWC] is a stacking [[Wayland]] compositor. | [https://labwc.github.io LabWC] is a stacking [[Wayland]] compositor. LabWC can serve as a drop-in replacement for the [[Openbox]] window manager. | ||
== Installation == | |||
{{:Include:Desktop prerequisites}} | |||
== | |||
{{ | |||
< | The <Code>setup-wayland-base</Code> script installs and enables [[elogind]] as [[Seat manager|seat manager]], enables [[Repositories#Community|community repository]] and enables [[eudev]] automatically as these are required for Wayland to work. | ||
</ | |||
=== 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. | |||
=== Install fonts === | |||
Install DejaVu fonts, which has good Unicode coverage: | |||
{{cmd|# apk add font-dejavu}} | |||
# apk add | |||
=== Install labwc === | |||
We can now install labwc: | We can now install labwc: | ||
{{Cmd|# apk add labwc labwc-doc | |||
# apk add \ # Install optional dependencies: | |||
# apk add labwc labwc-doc | |||
# apk add \ # Install optional dependencies: | |||
xwayland \ # recommended for compatibility reasons | xwayland \ # recommended for compatibility reasons | ||
foot \ # default terminal emulator | foot \ # default terminal emulator | ||
rofi | rofi \ # default application launcher (dmenu could be used instead) | ||
swaylock \ # lockscreen tool | swaylock \ # lockscreen tool | ||
swaybg \ # wallpaper daemon | swaybg \ # wallpaper daemon | ||
swayidle | swayidle \ # idle management (DPMS) daemon | ||
dbus-x11 | |||
}} | |||
== Running LabWC == | == Running LabWC == | ||
To | To run labwc from console:{{Cmd|$ dbus-launch labwc}} | ||
'''dbus-launch labwc''' is used because pipewire needs it, it is included in dbus-x11 and you may omit it. | |||
(if you run labwc with seatd-launch, you will need to use <code>$ | (if you run labwc with seatd-launch, you will need to use <code>$ dbus-launch seatd-launch labwc</code>) | ||
You can also create a simple alias in your shell rc file (e.g. .zshrc), like: | You can also create a simple alias in your shell rc file (e.g. .zshrc), like: | ||
{{Cmd|alias labwcinit="dbus-launch seatd-launch labwc"}} | |||
alias labwcinit | |||
{{Note| | {{Note| | ||
Line 119: | Line 48: | ||
}} | }} | ||
== Configuration | == Configuration == | ||
LabWC aims to implement the [http://openbox.org/wiki/Help:Contents openbox 3.4] specification, so many things working in OpenBox should be compatible. | LabWC aims to implement the [http://openbox.org/wiki/Help:Contents openbox 3.4] specification, so many things working in OpenBox should be compatible. | ||
Line 126: | Line 55: | ||
For additional information, labwc [https://labwc.github.io/manual.html manpages] and [https://github.com/labwc/labwc/wiki wiki] can be consulted. | For additional information, labwc [https://labwc.github.io/manual.html manpages] and [https://github.com/labwc/labwc/wiki wiki] can be consulted. | ||
== Troubleshooting == | |||
== See also == | |||
[https://labwc.github.io LabWC Official website] | |||
[[Category:Desktop]] | [[Category:Desktop]] | ||
[[Category:Wayland]] | |||
[[Category:compositor]] |
Latest revision as of 07:07, 9 January 2025
LabWC is a stacking Wayland compositor. LabWC can serve as a drop-in replacement for the Openbox window manager.
Installation
- Ensure you have Internet connectivity. If the test fails, setup your Internet access first, before you proceed further.
- Create a non-privileged user account for security reasons, if you skipped this step during Installation.
- Enable community repository.
- Install graphics driver for your video hardware.
The setup-wayland-base
script installs and enables elogind as seat manager, enables community repository and enables eudev automatically as these are required for Wayland to work.
Set up eudev
Setting up eudev on a desktop system is recommended in Alpine Linux. Without a fully functional device manager users will not be able to connect to input devices. The alpine-conf package provides setup-devd script to easily install and setup device managers.
Setup eudev.
# setup-devd udev
For more details and other options see eudev.
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.
Install fonts
Install DejaVu fonts, which has good Unicode coverage:
# apk add font-dejavu
Install labwc
We can now install labwc:
# apk add labwc labwc-doc # apk add \ # Install optional dependencies: xwayland \ # recommended for compatibility reasons foot \ # default terminal emulator rofi \ # default application launcher (dmenu could be used instead) swaylock \ # lockscreen tool swaybg \ # wallpaper daemon swayidle \ # idle management (DPMS) daemon dbus-x11
Running LabWC
To run labwc from console:
$ dbus-launch labwc
dbus-launch labwc is used because pipewire needs it, it is included in dbus-x11 and you may omit it.
(if you run labwc with seatd-launch, you will need to use $ dbus-launch seatd-launch labwc
)
You can also create a simple alias in your shell rc file (e.g. .zshrc), like:
alias labwcinit="dbus-launch seatd-launch labwc"
swaylock needs to be able to read your /etc/shadow
file to be able to validate your password
Configuration
LabWC aims to implement the openbox 3.4 specification, so many things working in OpenBox should be compatible.
Moreover, the project provides examples for all the configuration files and some themes, explaining where it must be located each one of them.
For additional information, labwc manpages and wiki can be consulted.