Replace the path to the current image with the path to the new image.
For example, if you want to use an image located at /usr/share/wallpapers/my-wallpaper.png, change the line to:
background=/usr/share/wallpapers/my-wallpaper.png
Save the file and restart the SDDM service to apply the new background image.
You can restart the SDDM service using the following command:
sudo systemctl restart sddm
Alternatively, you can use the SDDM configuration settings in the Lubuntu system settings to change the theme and background image. Navigate to the SDDM settings and choose a different theme or customize the current theme to set a new background image.
Remember to ensure that the new background image is accessible and correctly referenced in the configuration file. If you encounter issues, check the file permissions and paths carefully.
I hope all this helps.
@aug7744
To have the same login screen as in Lubuntu 20.04 you can indeed proceed as you have written but additionally you have to set the ‘lubuntu’ theme in SDDM Configuration:
Applications Menu → Accessories → SDDM Configuration → Theme → choose ‘lubuntu’ as current theme name from the menu → Save
[Addendum: See post #6]
@1fallen
I fear as default there is no folder /usr/share/sddm/themes/breeze/ in Lubuntu 24.04. Aside this you have described the same procedure as aug7744 has done, doesn’t you?
The clock on the default login screen is a nice feature. But to have it, no theme at all has to be chosen in SDDM Configuration. Hence, there seems to be no theme.conf file one can edit. Perhaps that’s the point of the entry post of aug7744. If not, may I ask whether it’s possible to choose an individual background image for the login screen together with the clock?
I’ve just verified it in VirtualBox: @tea-for-one has done it. The background picture has to be placed into the folder /usr/share/sddm/themes/lubuntu.
No edit of SDDM Configuration as described in my post above is necessary.
The wallpaper file can be in any folder.
You just have to give it the correct path.
OP probably just misspelled it e.g (‘.png’ instead of ‘.jpg’ ?).
If you get a white blank, it means it couldn’t load the picture.
journalctl -b | grep Background.qml
might give you a clue.
I don’t think that this is correct.
For example, if the chosen background is in the user’s home directory, the log in screen will not be able to display it because the user’s home directory is not mounted until after log in.
I agree with @tea-for-one…mine I placed directly into the same directory as the theme.config is located ‘/usr/share/sddm/themes/ubuntu-theme’
But changed the line:
Thanks for all replies. @tea-for-one had replied the solution.
In 20.04 SDDM use the image if is in /home/username , but anything was changed not being possible to do it in 24.04.
In 24.04 the image file need is in /usr/share/sddm/themes/lubuntu/ or in other mounted partition not being /home.
Now the image load correctly in SDDM.
Have a nice week.