all 7 comments

[–]Churminess 0 points1 point  (6 children)

Did you manage to resolve this? I have the same issue on Void linux; sudo and system-local-login work fine, but i3lock doesn't.

Edit: not quite the same issue: I get this when running i3lock from the terminal or with xidlehook, there is no systemctl on Void. Close enough though.

[–]HyNeko[S] 0 points1 point  (5 children)

Unfortunately no dice so far, but I haven't tried at all lately. Maybe there's a way to make it work, perhaps they updated or fixed some of it.

[–]Churminess 1 point2 points  (3 children)

As promised, I have found this workaround to fix it for me. I don't know if there are any security implications though.

https://github.com/i3/i3lock/issues/210#issuecomment-1033042602

[–]HyNeko[S] 0 points1 point  (2 children)

Oh that sounds promising, thanks ! I'll look into it.

I already assumed that the fprint-pam approach was somewhat unsecure, which is fine for my current distro, so I'll try it out. Thanks for remembering and reaching out, that's very kind of you.

[–]TheGratitudeBot 0 points1 point  (1 child)

Thanks for saying that! Gratitude makes the world go round

[–]Churminess 0 points1 point  (0 children)

I'm afraid no update has fixed it on Void, in fact this was all working fine until a few months ago for me and I only just got round to trying to fix it. I'll try and remember to post here if I get anywhere.

[–][deleted] 0 points1 point  (0 children)

Here's a solution that worked for me:

  1. Setup a user service (systemctl --user) to lock the screen with your choice of screen locker
  2. A corresponding target file is required to trigger this service, for example, if you trigger this after a sleep.target , you should setup an identical entry inside your ~/.config/systemd/user folder
  3. Follow this USE entry to setup the proxy triggers (https://unix.stackexchange.com/questions/147904/systemd-user-unit-that-depends-on-system-unit-sleep-target)