[Nix-dev] help with patch for screen locking

zimbatm zimbatm at zimbatm.com
Tue Feb 7 19:36:16 CET 2017


As a user I would expect slock to be installed and added to the suid list
if I selected it as my screensaver. That way I can also invoke it manually
in cases where I want to lock the screen manually.

On Mon, 6 Feb 2017, 23:51 , <david at zarel.net> wrote:

> Hi!
> I am making a patch to fix issue #16485 but I have encountered an issue.
>
> I added an option called screenLock to
> services.xserver.desktopManager.xfce that can take only "xscreensaver"
> "xlockmore" "slock" "gnome-screensaver" as values but:
>
> - gnome-screensaver seems to not exist anymore, at least not on nixos,
> so I removed the choice
> - slock needs suid to lock the screen, as explained in the wiki too, so
> I don't know if with this patch I should install slock and also set it
> suid, or if it's better to leave the choice out, or if the user that
> puts screenLock = "slock" should be presented an error in case slock is
> not set suid by the user themselves.
>
>
> Thanks for your help
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170207/6d1104d5/attachment.html>


More information about the nix-dev mailing list