How do I set the KDE desktop wallpaper (jpg file) from command line (e.g., by a script, started by the user)?
How to set KDE desktop wallpaper from command line
command linedesktop-customizationkde
Related Question
- Linux – Shutting up KDE applications launched from the command line
- Windows – How to change wallpaper real time regedit commands
- Bing Desktop Not Updating Wallpaper – How to Fix
- Windows 7 – Change Desktop Background via Command Line
- Linux – Run KDE applet from command line (within i3wm)
- VLC | video as wallpaper | wallpaper stays in foreground hiding the taskbar and desktop icons
Best Answer
Sadly, there doesn't seem to be a simple way.
It appears you need to do something like this (from https://www.kubuntuforums.net/showthread.php/66762-Right-click-wallpaper-changer?p=387392&viewfull=1#post387392):
or, another example, formatted more nicely (adapted from https://github.com/bharadwaj-raju/libdesktop/issues/1:
I also found a pythonic solution.