Xfpm has the option to lock the screen whenever the computer goes into suspend or hibernate, which works when you suspend/hibernate through Xfpm. (E.g. when you click suspend/hibernate from the xfpm tray icon, or your computer has been idling long enough) Choosing the suspend / hiberate options from xfce-session-(logout) however does not respect those settings. The screen is not locked when you resume, even when xfpm settings specify it. Fixing this would solve a inconsistency and improves integration between xfce products.
Ali can you look at this?
(In reply to comment #0) > Fixing this would solve a inconsistency and improves integration between xfce > products. Yes, but first of all we need to define the way that xfce's session interacts with a running power manager (not only xfpm, since some people prefer to use other power managers), unfortunately there were a standard freedesktop draft about this that was deployed widely in xfpm, gpm and kpowersave, this standard is no longer supported and it is removed from gpm, because kde wanted to do something while gnome didn't agree and so on... I have some ideas on mind that would be possible to do probably for 4.10, keeping in mind that xfpm might run on other desktop environment, and xfce's session might have gpm or another power manager running. Anyway, will keep you notified.
*** Bug 6740 has been marked as a duplicate of this bug. ***
(In reply to comment #2) > (In reply to comment #0) > > Fixing this would solve a inconsistency and improves integration between xfce > > products. > > Yes, but first of all we need to define the way that xfce's session interacts > with a running power manager (not only xfpm, since some people prefer to use > other power managers), unfortunately there were a standard freedesktop draft > about this that was deployed widely in xfpm, gpm and kpowersave, this standard > is no longer supported and it is removed from gpm, because kde wanted to do > something while gnome didn't agree and so on... > > I have some ideas on mind that would be possible to do probably for 4.10, > keeping in mind that xfpm might run on other desktop environment, and xfce's > session might have gpm or another power manager running. > > Anyway, will keep you notified. Is there a workaround for this in Xfce4.8? (I'm using the packages in Debian wheezy.)
Has anyone found a workaround for this yet? I'm on debian/wheezy as well.
(In reply to comment #5) > Has anyone found a workaround for this yet? I'm on debian/wheezy as well. Actually, I believe if I use the suspend button on my Thinkpad keyboard, this triggers the lock-after-resume correctly, where the suspend button in the logout dialog does not. This is my current workaround.
I'm working on this for 4.10.
(In reply to comment #7) > I'm working on this for 4.10. Cool, thanks!
this isn't fixed for me in 4.10. "xfce4-session-logout --suspend" still doesn't lock the screen. I'm running Arch Linux btw.
Have you enabled the lock on suspend option in the preferences?
yes, the screen is locked when I close my laptop lid, just as it did in 4.8, but it still doesn't work using xfce4-session-logout.
sorry, I just realized there is another setting in "Session and startup -> advanced". This option indeed wasn't checked, I thought about the setting in the power manager. So why are there two "lock screen" options, one in "session and startup" and one in the power manager settings ?!
Because the code is not shared.