Skip to content

Commit

Permalink
Update kde.md: include note about VTs and wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
SamWilsn committed Nov 2, 2023
1 parent 037e4d3 commit f173829
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/config/graphical-session/wayland.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,39 @@ 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

0 comments on commit f173829

Please sign in to comment.