You are not logged in.
Pages: 1
Hi!
I am trying to properly set the wallpaper used by lightdm. It is exactly what I want if I lock the screen (for example going to the whiskermenu), because I did xfconf-query --create -c xfce4-session -p /general/LockCommand -t string -s "dm-tool lock". However, if I go to action buttons and click on suspend the system suspend, the screen is locked and the wallpaper is not the one set up in lightdm gtk greeter settings, but the wallpaper of my first workspace. I don't like it also because my setup is a laptop with an external monitor as primary screen, with a different resolution with respect to the laptop, and the wallpaper is not scaled. Is there a way to fix this?
I don't know if it is relevant but I am on Opensuse Tumbleweed.
Thanks
Paola
Offline
Is it possible you have another screensaver installed and running?
ps -ef | grep -E 'screensav|lock'
Also, which distro and version of Xfce are you running?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I am on Opensuse Tumbleweed with xfce 4.18. The result is:
root 136 2 0 gen26 ? 00:00:00 [kblockd]
root 144 2 0 gen26 ? 00:00:00 [kworker/0:1H-kblockd]
root 178 2 0 gen26 ? 00:00:00 [kworker/3:1H-kblockd]
root 257 2 0 gen26 ? 00:00:00 [kworker/1:1H-kblockd]
root 296 2 0 gen26 ? 00:00:00 [kworker/10:1H-kblockd]
root 298 2 0 gen26 ? 00:00:00 [kworker/12:1H-kblockd]
root 299 2 0 gen26 ? 00:00:00 [kworker/2:1H-kblockd]
root 302 2 0 gen26 ? 00:00:00 [kworker/4:1H-kblockd]
root 305 2 0 gen26 ? 00:00:00 [kworker/8:1H-kblockd]
root 329 2 0 gen26 ? 00:00:00 [kworker/14:1H-kblockd]
root 424 2 0 gen26 ? 00:00:00 [kworker/6:1H-kblockd]
root 431 2 0 gen26 ? 00:00:00 [kworker/7:1H-kblockd]
root 435 2 0 gen26 ? 00:00:00 [kworker/15:1H-kblockd]
root 437 2 0 gen26 ? 00:00:00 [kworker/13:1H-kblockd]
root 438 2 0 gen26 ? 00:00:00 [kworker/11:1H-kblockd]
root 441 2 0 gen26 ? 00:00:00 [kworker/9:1H-kblockd]
root 449 2 0 gen26 ? 00:00:00 [kworker/5:1H-kblockd]
paola 4672 4543 0 gen26 ? 00:00:00 /usr/bin/xfce4-screensaver
paola 15690 15665 0 07:27 pts/0 00:00:00 grep --color=auto -E screensav|lock
Offline
paola 4672 4543 0 gen26 ? 00:00:00 /usr/bin/xfce4-screensaver
You seem to have xfce4-screensaver also running. As a first step, try killing the xfce4-screensaver process and then try the Action Buttons suspend function again.
If it still doesn't work. on resume, check if xfce4-screensaver has once again started.
Edit: I did some further testing and it appears that there is some sort of conflict between dm-tool and xfce4-screensaver. If I uninstall xfce4-screensaver, then dm-tool lock works properly.
Edit2: Maybe this bug?
Last edited by ToZ (2023-01-27 11:58:53)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Killing xfce4-screensaver doesn't work because it is called by the action buttons suspend function once again. As for the bug you mentioned, I don't have that problem. I confirm that removing xfce4-screensaver solves the problem. Anyway, I'd just like to have a coherent lockscreen. Is there anything I could use apart from dm-tool?
Offline
I think for your particular use case, it may be better to use dm-tool instead of xfce4-screensaver.
Xfce4-screensaver has some outstanding bugs that I think are impacting you. On review of the list, I see these potential candidates:
https://gitlab.xfce.org/apps/xfce4-scre … /issues/68 (wrong scaling of background in multiple monitor mode - most likely because it is grabbing and using the resolution of the monitor that initiated the action). Can you confirm this? If you move the Actions plugin to the laptop monitor and initiate suspend from there, does the correct wallpaper and resolution appear on resume?
https://gitlab.xfce.org/apps/xfce4-scre … /issues/48 - uses default wallpaper from active monitor - request to change this behaviour.
The bug I linked above was one that I ran into when testing this that led me to understand that xfce4-screensaver needed to be uninstalled for dm-tool to work properly.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Yes. These two definitely apply to my case.
At this point I'll stay with dm-tool and uninstall xfce4-screensaver. Thank you very much!
Offline
Pages: 1
[ Generated in 0.015 seconds, 8 queries executed - Memory usage: 548.07 KiB (Peak: 548.91 KiB) ]