<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xdg-screensaver: Support xss-lock"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108865">108865</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>xdg-screensaver: Support xss-lock
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Portland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>xdg-utils
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>portland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>tpikonen@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=142613" name="attach_142613" title="Patch to support xss-lock in xdg-screensaver.">attachment 142613</a> <a href="attachment.cgi?id=142613&action=edit" title="Patch to support xss-lock in xdg-screensaver.">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=108865&attachment=142613'>[review]</a>
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'.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>