1. 17
  1.  

  2. 4

    This should satisfy all my requirements and is a cleaner setup then I had before.

    All of these requirements seem incredibly reasonable, yet I am absolutely horrified that it’s not far more straightforward.

    I guess the reason we accept hacks like this is because screensavers and securely locking the screen aren’t very interesting problems, and no one volunteers to do the work… OSS: “hacked together solutions that solve the broad strokes. Can you, yeah you, write some docs on how to fill in the details?”

    1. 4

      or maybe people see X11’s security as being so broken that Wayland is the answer?

      I’ve tried Sway a few times and there’s always something I hit that makes it feel not ready for prime time (at least for me). With Wayland, can there be Wayland level solutions? In X11, I currently use xidlehook + i3lock to handle my screen locking. I use it with i3, but the combination should work with xmonad, dwn and other window managers.

      In Wayland, is sway-lock specific to Sway? Does each window manager need its own set of tools, or can some of them be shared? Does it require they use wlroots?

      1. 6

        or maybe people see X11’s security as being so broken that Wayland is the answer?

        Long before Wayland, this was true, and so were all of the screensaver problems. There’s also the problems of screensaver’s not getting updated in distributions when there are CVEs and such. Here, and then in jwz fashion: Previously, previously, previously, previously.

        In X11, I currently use xidlehook + i3lock to handle my screen locking. I use it with i3, but the combination should work with xmonad, dwn and other window managers.

        This is kind of the point. There are tools, and you’ve pieced them together in a way that makes it work for you. But, I’ll boldly say that I am positive your solution has quirks.

    2. 1

      Note that none of this requires systemd, DBus, or really anything else that X11 didn’t have for at least 25 years.