[Portland-bugs] [Bug 98616] New: Add window-less "xdg-screensaver suspend"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 6 17:41:55 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98616

            Bug ID: 98616
           Summary: Add window-less "xdg-screensaver suspend"
           Product: Portland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: xdg-utils
          Assignee: portland-bugs at lists.freedesktop.org
          Reporter: rrt at sc3d.org

Sometimes an application, such as caffeine-indicator, which allows the user
manually to inhibit the screensaver, does not have a window to use with
xdg-screensaver suspend.

In such a case, or even in others, it would be convenient to use a process as
the "locking entity".

Suggestion:

xdg-screensaver suspend # note: no window ID

should start a process that suspends the screensaver, and resumes it on SIGHUP,
SIGINT, or anything else it can catch.

Indeed, for most modern desktops, even kill -9'ing the process will not leave
the screensaver inhibited, as the "resume" action is a no-op.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/portland-bugs/attachments/20161106/45ed3fd9/attachment.html>


More information about the Portland-bugs mailing list