churchyard
(Miro Hrončok)
1
Hello,
I’ve updated from Fedora Linux 37 to 39. I am using Xfce.
I’m using slock
as my screen locker and I have enabled screen locking on suspend:
$ xfconf-query -c xfce4-session -p /general/LockCommand
slock
$ xfconf-query -c xfce4-session -p /shutdown/LockScreen
true
On Fedora 37, when I suspended my computer, via the Log out dialog, the following happened:
- the screen went black, as slock started
- in a ~second, the screen went blank, as the computer suspended
- (after hitting a key to wake up) the screen was black and later blue, allowing me to type my password to unlock
On Fedora 39, however:
- the screen goes black, as slock starts
- the computer does not suspend
- when I press buttons, the screen goes blue, allowing me to type my password
- (after unlocking slock) in a ~second, the screen goes blank, as the computer suspends
- (after hitting a key to wake up) the desktop is not locked
This is quite inconvenient. Any idea how to debug this further or fix it? I’d like to have my system locked when I suspend it.
kevin
(Kevin Fenzi)
2
What does
‘xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/lock-screen-suspend-hibernate’
and
‘xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-suspend-key’
show?
and what version of xfce4-power-manager do you have there?
churchyard
(Miro Hrončok)
3
$ xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/lock-screen-suspend-hibernate
true
$ xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-suspend-key
Property "/xfce4-power-manager/logind-handle-suspend-key" does not exist on channel "xfce4-power-manager".
$ rpm -q xfce4-power-manager
xfce4-power-manager-4.18.2-2.fc39.x86_64
I’ve checked and the only logind property I see is /xfce4-power-manager/logind-handle-lid-switch
(set to false
).
kevin
(Kevin Fenzi)
4
Thats all correct looking. ;(
I did just build xfce4-power-manager-4.18.3 if you want to try it (in
updates-testing soon). I don’t see anything obviously related to this
though. ;(
churchyard
(Miro Hrončok)
5
Still the same with xfce4-power-manager-4.18.3-1.fc39, even after restarting 
kevin
(Kevin Fenzi)
6
Yeah, didn’t think that would help.
Does it work as expected when you use xfce4-screensaver instead of
slock?
churchyard
(Miro Hrončok)
7
I get “Failed to lock the screen” and when I attempt to run from the terminal xfce4-screensaver, it tells me an instance of it is already running.
What is your xfconf-query -c xfce4-session -p /general/LockCommand
?
churchyard
(Miro Hrončok)
8
I’ve also noticed the screen does not go off when the computer is idle. Might be related (or not).
churchyard
(Miro Hrončok)
9
churchyard
(Miro Hrončok)
10
10 months have passed and I haven’t been able to figure this one out. Will check after upgrading to Fedora 41.
churchyard
(Miro Hrončok)
11
It works with:
$ xfconf-query -c xfce4-session -p /general/LockCommand
xfce4-screensaver-command --lock