Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update wayland.md: include note about VTs and wayland #780

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions src/config/graphical-session/wayland.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,40 @@ accessing input devices. In Void systems, this requires a seat manager service,
which can be either elogind or seatd. Enabling them is explained in the
["Session and Seat Management"](../session-management.md) session.

### Display Managers

#### SDDM

To run SDDM itself under wayland, create the file
`/etc/sddm.conf.d/10-wayland.conf` (see
[sddm.conf(5)](https://man.voidlinux.org/sddm.conf.5)), with the contents:

```
[General]
DisplayServer=wayland
```

The above configuration requires installing the `weston` compositor.

Alternatively, if SDDM is being used as part of a KDE installation, it may be
preferable to use the `kwin` compositor:

```
[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell

[Wayland]
CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1
```

In either case, to avoid a conflict, disable `agetty` on the first virtual
terminal:

```
touch /etv/sv/agetty-tty1/down
```

### Native applications

[Qt5](https://wayland.freedesktop.org/qt5.html)-based applications require
Expand Down