On 2021-10-20 20:22:08, Ian Campbell wrote:
> On Sun, 2021-10-17 at 19:07 -0400, Antoine Beaupré wrote:
>> And I can confirm it works, or at least does not warn.
>
> Excellent, thanks.
>
> Is the diff as simple as:
>
> $ git diff
> diff --git a/doc/xss-lock.service b/doc/xss-lock.service
> index 52086c8..37d733e 100644
> --- a/doc/xss-lock.service
> +++ b/doc/xss-lock.service
> @@ -4,7 +4,7 @@ PartOf=graphical-session.target
>
> [Service]
> Type=simple
> -ExecStart=/usr/bin/xss-lock -l -s ${GRAPHICAL_SESSION_ID} -- i3lock
> +ExecStart=/usr/bin/xss-lock -l -s ${XDG_SESSION_ID} -- i3lock
>
> [Install]
> WantedBy=graphical-session.target
That sounds about right, here's my current service file.
--
Your injured body has become the burden of your digital soul.
- Yin Aiwen, 2013, The Massage is the Medium
[Unit]
Description=xss-lock - use external locker as X screen saver
Documentation=man:xss-lock(1)
PartOf=graphical-session.target
Wants=xset.service
After=xset.service
[Service]
Type=simple
EnvironmentFile=/home/anarcat/.xsecurelock.env
# note that when this works, document in #994762
ExecStart=/usr/bin/xss-lock --verbose --transfer-sleep-lock
--session=${XDG_SESSION_ID} --notifier /usr/libexec/xsecurelock/dimmer --
xsecurelock
[Install]
WantedBy=graphical-session.target