waking from sleep issue xfce

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
ape_din
Posts: 10
Joined: 2024-09-10 22:10

waking from sleep issue xfce

#1 Post by ape_din »

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?

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2412
Joined: 2010-06-07 16:59
Has thanked: 45 times
Been thanked: 266 times

Re: waking from sleep issue xfce

#2 Post by FreewheelinFrank »

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?


Image


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

ape_din
Posts: 10
Joined: 2024-09-10 22:10

Re: waking from sleep issue xfce

#3 Post by ape_din »

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..

User avatar
miegiel
Posts: 16
Joined: 2008-07-30 23:15
Has thanked: 1 time
Been thanked: 2 times

Re: waking from sleep issue xfce

#4 Post by miegiel »

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..
What you call main is called stable. There's actually a main in stable, testing and unstable.
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 : )

arzgi
Posts: 1614
Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 85 times

Re: waking from sleep issue xfce

#5 Post by arzgi »

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.

User avatar
miegiel
Posts: 16
Joined: 2008-07-30 23:15
Has thanked: 1 time
Been thanked: 2 times

Re: waking from sleep issue xfce

#6 Post by miegiel »

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 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.
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 : )

ape_din
Posts: 10
Joined: 2024-09-10 22:10

Re: waking from sleep issue xfce

#7 Post by ape_din »

miegiel wrote: 2024-12-03 19:28
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..
What you call main is called stable. There's actually a main in stable, testing and unstable.
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 : )
Now how can i install xfce4-screensaver? Since is not in the stable repo. Can you give me an hint?

User avatar
miegiel
Posts: 16
Joined: 2008-07-30 23:15
Has thanked: 1 time
Been thanked: 2 times

Re: waking from sleep issue xfce

#8 Post by miegiel »

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?
If you normally install things using sudo and apt in a terminal, try this:

Code: Select all

sudo apt install xscreensaver
xscreensaver also fixes the afterimage issue for me and it is in the stable repro (see my previous post).

Ask if you really want to install xfce4-screensaver or get stuck installing xscreensaver.

Post Reply