<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: bad xautolock invocation for reset action"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104349">104349</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>xdg-screensaver: bad xautolock invocation for reset action
          </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>Linux (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>fcharlier@ploup.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>xdg-screensaver invokes a xautolock with a wrong parameter for the reset
action.

Currently it executes: "xautolock -restart"

To do what the manpage says, it should instead execute: "xautolock -unlocknow"

Calling with '-restart' causes some issues where xautolock will not work
correctly after the call.



- From xdg-screensaver manpage:

       reset          Turns the screensaver off immediately. If the screen was
locked the user may be asked to authenticate first.



- From xautolock manpage:

       -restart        Causes an already running xautolock process (if there is
one and it does not have -secure switched on) to restart.

       -unlocknow      Causes  an already running xautolock process (if there
is one, if it does not have -secure switched on, and is not currently disabled)
to unlock the display immediately (if it's locked) by sending the locker a
SIGTERM signal.</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>