I'm on Debian 12 using XFCE.
When I open the lid of my laptop and it wakes from sleep, it briefly shows the screen before prompting me for the password.
Is there any way i can resolve this?
waking from sleep issue xfce
- FreewheelinFrank
- Global Moderator
- Posts: 2412
- Joined: 2010-06-07 16:59
- Has thanked: 45 times
- Been thanked: 266 times
Re: waking from sleep issue xfce
Just to clarify, is the password prompt to lock or unlock the screen?
What is the expected behaviour? For example lock screen and suspend on lid close or suspend on lid close?
What are the settings in Settings>Power Manager>General?
https://docs.xfce.org/xfce/xfce4-power- ... references
And if you have Light Locker (which is the default in Debian), what are the settings in Settings>Power Manager>Security?
There are various reports of this behaviour from XFCE and other DEs, but let's check what is actually happening, what your expected behaviour is, and what your settings are first.
This comment explains why the issue may happen:
https://bugs.launchpad.net/ubuntu/+bug/ ... omments/19
Here are a couple of historical bug reports just as a bookmark. There are some fixes mentioned, but these reports are from several years ago, and may not apply now.
https://bugzilla.xfce.org/show_bug.cgi?id=14782
https://github.com/linuxmint/Cinnamon/issues/4324
What is the expected behaviour? For example lock screen and suspend on lid close or suspend on lid close?
What are the settings in Settings>Power Manager>General?
https://docs.xfce.org/xfce/xfce4-power- ... references
And if you have Light Locker (which is the default in Debian), what are the settings in Settings>Power Manager>Security?
There are various reports of this behaviour from XFCE and other DEs, but let's check what is actually happening, what your expected behaviour is, and what your settings are first.
This comment explains why the issue may happen:
https://bugs.launchpad.net/ubuntu/+bug/ ... omments/19
Here are a couple of historical bug reports just as a bookmark. There are some fixes mentioned, but these reports are from several years ago, and may not apply now.
https://bugzilla.xfce.org/show_bug.cgi?id=14782
https://github.com/linuxmint/Cinnamon/issues/4324
Re: waking from sleep issue xfce
actually this issue is resolved when using xfce4-screensaver as a lock screen which i dont know why is not in the main branch of debian but only in sid..
Re: waking from sleep issue xfce
What you call main is called stable. There's actually a main in stable, testing and unstable.ape_din wrote: 2024-12-03 11:41 actually this issue is resolved when using xfce4-screensaver as a lock screen which i dont know why is not in the main branch of debian but only in sid..
Anyway, that xfce4-screensaver is in testing, means that it will be in the next stable release. Just not in this stable yet.
Thanks for the tip about installing xfce4-screensaver, this has been annoying me for a while : )
-
- Posts: 1614
- Joined: 2008-02-21 17:03
- Location: Finland
- Has thanked: 1 time
- Been thanked: 85 times
Re: waking from sleep issue xfce
Can you try without xscreensaver? I have not used it, and have no problems to resume XFCE. Recently here was a thread much like this, and the xsceensaver was the problem.
I have just set to the display to shut off at sleep mode.
I have just set to the display to shut off at sleep mode.
Re: waking from sleep issue xfce
I don't have xscreensaver installed. I just use the "blank after" slider on the display tab of xfce4-power-manager-settings instead of a screensaver.arzgi wrote: 2024-12-04 13:44 Can you try without xscreensaver? I have not used it, and have no problems to resume XFCE. Recently here was a thread much like this, and the xsceensaver was the problem.
I have just set to the display to shut off at sleep mode.
I'm not using the xfce4-screensaver either, installing the package was enough to fix it.
Edit:
I just uninstalled xfce4-screensaver and installed xscreensaver and got more or less the same result. No more desktop afterimage between waking from suspend and the lock screen. I wouldn't know which is better, I'm still not "using" a screensaver : )
Re: waking from sleep issue xfce
Now how can i install xfce4-screensaver? Since is not in the stable repo. Can you give me an hint?miegiel wrote: 2024-12-03 19:28What you call main is called stable. There's actually a main in stable, testing and unstable.ape_din wrote: 2024-12-03 11:41 actually this issue is resolved when using xfce4-screensaver as a lock screen which i dont know why is not in the main branch of debian but only in sid..
Anyway, that xfce4-screensaver is in testing, means that it will be in the next stable release. Just not in this stable yet.
Thanks for the tip about installing xfce4-screensaver, this has been annoying me for a while : )
Re: waking from sleep issue xfce
If you normally install things using sudo and apt in a terminal, try this:ape_din wrote: 2024-12-06 08:01
Now how can i install xfce4-screensaver? Since is not in the stable repo. Can you give me an hint?
Code: Select all
sudo apt install xscreensaver
Ask if you really want to install xfce4-screensaver or get stuck installing xscreensaver.