[Portland-bugs] [Bug 104349] New: xdg-screensaver: bad xautolock invocation for reset action

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 20 13:55:19 UTC 2017


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

            Bug ID: 104349
           Summary: xdg-screensaver: bad xautolock invocation for reset
                    action
           Product: Portland
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
          Assignee: portland-bugs at lists.freedesktop.org
          Reporter: fcharlier at ploup.net

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.

-- 
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/20171220/2bfbc0b8/attachment.html>


More information about the Portland-bugs mailing list