Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-01-26 20:30:30

paolab79
Member
Registered: 2021-12-20
Posts: 5

Wallpaper for lightdm

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

#2 2023-01-26 21:10:23

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: Wallpaper for lightdm

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

#3 2023-01-27 06:29:05

paolab79
Member
Registered: 2021-12-20
Posts: 5

Re: Wallpaper for lightdm

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

#4 2023-01-27 11:32:55

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: Wallpaper for lightdm

paolab79 wrote:

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

#5 2023-01-27 15:30:17

paolab79
Member
Registered: 2021-12-20
Posts: 5

Re: Wallpaper for lightdm

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

#6 2023-01-27 17:19:05

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: Wallpaper for lightdm

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:

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

#7 2023-01-27 19:25:52

paolab79
Member
Registered: 2021-12-20
Posts: 5

Re: Wallpaper for lightdm

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

Board footer

Powered by FluxBB