The authority takes ext-session-lock before any surface exists, which is the window -pre reserves. It cannot start earlier — ext-session-lock is a Wayland protocol and needs the compositor's socket. Also drops the injected venv variable from eleven surface scripts; each finds the path itself.
15 lines
536 B
Desktop File
15 lines
536 B
Desktop File
[Unit]
|
|
Description=Souveraine session authority (lock-before-shell, lock-past-shell-death)
|
|
# graphical-session-pre, not graphical-session: the authority takes
|
|
# ext-session-lock before any surface exists, and -pre is the window systemd
|
|
# already reserves for that. It cannot start earlier — ext-session-lock is a
|
|
# Wayland protocol and needs the compositor's socket.
|
|
PartOf=graphical-session-pre.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/souveraine-sessiond
|
|
Restart=on-failure
|
|
RestartSec=1
|
|
|
|
[Install]
|
|
WantedBy=graphical-session-pre.target
|