You are not logged in.

#1 2019-01-29 05:46:13

suson
Member
Registered: 2018-12-23
Posts: 24

[SOLVED] Auto Changing login screen background in kde plasma 5

There is a feature in kde plasma 5 "picture of the day" wallpaper which automatically downloads the picture from the providers like bing and sets the wallpaper, I wanted same feature for the login screen. By the way, I am using SDDM. I can change the background of the login screen from the settings, which creates files

  • /usr/share/sddm/themes/breeze/theme.conf.user

  • /usr/share/sddm/themes/breeze/bing

. After some research , I found that the downloaded images is saved to path "~/.cache/plasmashell/plasma_engine_potd/image_provider_name(like bing)". So I wanted to synchronize the desktop wallpaper and the login screen background. I create a symbolic link in the path "/usr/share/sddm/themes/breeze/image_name" and named it same as the name present in the "theme.user.conf" file. I ran the command

sddm-greeter --test-mode --theme /usr/share/sddm/themes/breeze/

The command executes and displays the login screen background. But when I logout, I get a white background in the login screen. I thought it might be some permission issues with the image file in the path "~/.cache/plasmashell/plasma_engine_potd/image_provider_name(like bing)" (like it might have permission like -rw-------), in which case the sddm (and i thought it might run as root) cannot read the file, but the permission were right (-rw-r--r--).

It's not super important for me, I was searching around, the thing that i was most confused is the command

sddm-greeter --test-mode --theme /usr/share/sddm/themes/breeze/

works fine, but the image doesn't show in the actual login screen.

And the log contains this line

sddm-greeter[594]: file:///usr/share/sddm/themes/breeze/Background.qml:34:5: QML Image: Cannot open: file:///usr/share/sddm/themes/breeze/bing

the file is actually there.

Last edited by suson (2020-07-18 12:39:06)

Offline

#2 2020-07-18 12:38:47

suson
Member
Registered: 2018-12-23
Posts: 24

Re: [SOLVED] Auto Changing login screen background in kde plasma 5

This issue is solved in the latest versions of KDE.

Offline

#3 2020-10-13 06:18:48

lance4284
Member
Registered: 2018-02-14
Posts: 8

Re: [SOLVED] Auto Changing login screen background in kde plasma 5

I'm using Plasma 5.19.5 (the lastest version) but the issue is still there. Exactly the same as yours. Fine running from the terminal but white background when actually logging in. Did you solve it bro?

Last edited by lance4284 (2020-10-13 06:20:50)

Offline

#4 2020-10-28 00:49:40

suson
Member
Registered: 2018-12-23
Posts: 24

Re: [SOLVED] Auto Changing login screen background in kde plasma 5

I think it was fixed (atleast for me) in 5.16. Since then I haven't used SDDM for login. I use the plain old linux terminal for login and then start plasma from there. You can ask in the kde subreddit. I think the current version 5.20 lockscreen doesn't work with setting symoblic link as the background. I used to have a single symbolic file pointing to the Picture of the day wallpaper and use the symbolic file in the lockscreen as it's background. Now it doesn't work in 5.20. For now I have also used the Picture of the day for the both lockscreen and desktop wallpaper.

Last edited by suson (2020-10-28 01:06:09)

Offline

#5 2020-10-28 08:49:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,364

Re: [SOLVED] Auto Changing login screen background in kde plasma 5

The lockscreen and SDDM have no relation to each other so your suggestion does not help or have relevance to the original question.

Closing this old topic.

Last edited by V1del (2020-10-28 08:49:35)

Offline

Board footer

Powered by FluxBB