Add seatd-launch

Simon Ser 2023-01-15 18:33:20 +01:00
parent 3e2284e306
commit 7f1dc7669b

@ -30,6 +30,16 @@ You might need to enable the seatd service: `systemctl enable --now seatd`
Sway should be correctly starting with `seatd`. If this is not the case, it may be needed to set the global variable `LIBSEAT_BACKEND=seatd`. Sway should be correctly starting with `seatd`. If this is not the case, it may be needed to set the global variable `LIBSEAT_BACKEND=seatd`.
# seatd-launch
If you don't want to enable the seatd service, it's possible to wrap the Sway command line inside `seatd-launch`:
```shell
seatd-launch -- sway
```
This will start a dedicated seatd instance for Sway, and will stop seatd when Sway exits.
# Direct via setuid ([sway < 1.8](https://github.com/swaywm/sway/commit/e5728052b59f)) # Direct via setuid ([sway < 1.8](https://github.com/swaywm/sway/commit/e5728052b59f))
_Note: Attempting to run sway this way without this being configured correctly will probably leave your computer in an unresponsive state, requiring a reboot_ _Note: Attempting to run sway this way without this being configured correctly will probably leave your computer in an unresponsive state, requiring a reboot_