[Portland-bugs] [Bug 108865] New: xdg-screensaver: Support xss-lock

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 26 12:40:24 UTC 2018


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

            Bug ID: 108865
           Summary: xdg-screensaver: Support xss-lock
           Product: Portland
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
          Assignee: portland-bugs at lists.freedesktop.org
          Reporter: tpikonen at gmail.com

Created attachment 142613
  --> https://bugs.freedesktop.org/attachment.cgi?id=142613&action=edit
Patch to support xss-lock in xdg-screensaver.

The attached patch adds support for xss-lock to xdg-screensaver.

xss-lock runs a user specified locker in response to X server screen saver
events (also some systemd events).

xss-lock would otherwise work fine with the 'screensaver_xserver' code in
current xdg-screensaver, but there is no support for the 'lock' subcommand in
screensaver_xserver, so some power managers (at least xfce4-power-manager) fail
to lock the screen when suspending. Also, the desktop environment detection
code could cause xdg-screensaver to use a code path for some other screen saver
than screensaver_xserver, while xss-lock is running.

This patch detects a running xss-lock program and runs the appropriate actions,
that is, it runs screensaver_xserver and replaces the 'lock' subcommand with
'activate'.

-- 
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/20181126/5098512e/attachment.html>


More information about the Portland-bugs mailing list