Launchpad has imported 10 comments from the remote bug at
https://bugzilla.xfce.org/show_bug.cgi?id=6413.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-04-26T19:42:54+00:00 Yves-Alexis Perez wrote:

Hey,

a Debian user asked for a feature for xfpm (see
http://bugs.debian.org/579267). Basically what would be nice would be to
warn the user if she ticks the “lock screen on suspend” checkbox while
there is no screensaver running (or maybe even run it in the
background).

One problem is that there's no easy way to detect any screensaver, and
some of them don't need to run (for example xlockmore).

What do you think?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1054299/comments/0

------------------------------------------------------------------------
On 2014-01-02T16:14:35+00:00 Jarno Suni wrote:

I think one way to deal with this problem is to not let
suspend/hibernate happen, if xflock4 fails (i.e. returns a nonzero exit
code). An error message should be shown about it. (It should work
similarly, when suspend/hibernate is triggered via Log Out dialog or
Action Buttons.) That could be problematic, if user request
suspend/hibernate when laptop lid is closed or when battery is low,
though.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1054299/comments/14

------------------------------------------------------------------------
On 2014-01-02T16:56:10+00:00 Jarno Suni wrote:

The error dialog in conjunction with suspend/hibernate request should be
such that it gives user certain time to cancel the operation, if xflock4
fails. If user does not cancel, suspend or hibernate state (or maybe
shutdown?) should be entered.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1054299/comments/15

------------------------------------------------------------------------
On 2014-01-02T17:06:33+00:00 Jarno Suni wrote:

Yet, another solution is quit using xflock4 script in Xfce4, and start
depending on xautolock for which to add GUI for configuration, but it
might be an overkill, if you are going to use xscreensaver or new light-
locker anyway.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1054299/comments/16

------------------------------------------------------------------------
On 2014-04-29T14:45:53+00:00 Eric Koegel wrote:

I went with the simple approach of popping up a dialog box with the option to 
continue the suspend operation. My reasoning is that you'll see the dialog the 
first time this happens and install/fix the lock tool issue.
If someone feels strongly about this not being enough, let me know (or write a 
patch :)
The change is 
http://git.xfce.org/xfce/xfce4-power-manager/commit/?id=73ed5e362f7e0754b466d7d0e824ab14fec9cd17

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1054299/comments/20

------------------------------------------------------------------------
On 2014-04-29T19:27:37+00:00 Jarno Suni wrote:

If screen is requested to be locked after laptop lid is closed, user can
not see the dialog. I suppose some audio alarm could be given that would
(hopefully) make user open the lid and see the message.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1054299/comments/21

------------------------------------------------------------------------
On 2014-10-12T08:19:36+00:00 Jarno Suni wrote:

On the other hand, user may notice that suspend/hibernate does not
happen from a laptop LED or hard disk activity without an audio alarm.
Besides this is supposed to happen only in rare exception, so I think it
is not worth adding any additional alarm. As for the implementation of
xfpm_lock_screen, I think it is obsolete to use gnome-screensaver in it
explicitly. I guess no distribution uses gnome-screensaver by default.
Well, I could not find implementation of xfpm_lock_screen in GIT, so
maybe this is not an issue anymore.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1054299/comments/25

------------------------------------------------------------------------
On 2014-10-12T09:15:59+00:00 Jarno Suni wrote:

Oh, found xfpm_lock_screen :) And gnome-screensaver is not alone :) The
other locking methods are used in case xfce4-power-manager is installed
without xfce4-session. If gnome-screensaver is kept in the list, I would
suggest it is tried as the last option, since if it is installed, it
will start even if its daemon is not running and even if xscreensaver's
daemon is running.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1054299/comments/26

------------------------------------------------------------------------
On 2016-01-28T22:14:54+00:00 Simon Steinbeiß wrote:

I personally consider this issue fixed. There is not too much we can do
about users closing their lid and not noticing the lack of screen lock.
I would presume they would notice though when they reopen the lid for
the first time and see the message.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1054299/comments/28

------------------------------------------------------------------------
On 2016-01-28T22:45:08+00:00 Jarno Suni wrote:

Note that if the new LockCommand setting in xfconf is be used in
xflock4, it is hard or impossible to know, if the xflock4 actually
succeeds in locking.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1054299/comments/29


** Changed in: xfce4-power-manager
       Status: Unknown => Fix Released

** Changed in: xfce4-power-manager
   Importance: Unknown => Wishlist

** Bug watch added: Debian Bug tracker #579267
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579267

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054299

Title:
  Race condition in suspend scripts reveals desktop

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1054299/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to