-h, --help
show this help message and exit
--file, -f FILE
Wallpaper absolute path
--plugin PLUGIN, -p PLUGIN
Wallpaper plugin (default is org.kde.image)
--dir DIR, -d DIR
Absolute path of folder containging your wallpapers for slideshow
--timer TIMER, -t TIMER
Time in seconds between wallpapers
--lock-screen, -l Set lock screen wallpaper
python3 ksetwallpaper.py --file filename
python3 ksetwallpaper.py -d ' /folder/with/Wallpapers' -p org.kde.image -t 1800
This script cannot (at least for now) change lock screen wallpaper plugin
It reads and updates the Image
property of the specified plugin that should be manually enabled in:
System settings > Workspace Behaivor > Screen Locking > Appearance > Configure
A list of wallpapers plugins known to have the Image property are:
Name | ID |
---|---|
Image (default) | org.kde.image |
Inactive Blur | com.github.zren.inactiveblur Static mode |
Plasma does not update the image of the same file name when it is replaced
Apply this patch to wallpaper.py
(located in /usr/lib/python3.6/site-packages/wpreddit/
)
GPL v3