Ksetwallpaper
Set Plasma 5 wallpaper from command line
Install / Use
/learn @pashazz/KsetwallpaperREADME
KDE set wallpaper script
Usage
-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
- Set one wallpaper on all monitors
python3 ksetwallpaper.py --file filename
- Start random slideshow from images folder with updating time of 30 minutes
python3 ksetwallpaper.py -d ' /folder/with/Wallpapers' -p org.kde.image -t 1800
Note on lock screen wallpaper
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 |
Bugs
Plasma does not update the image of the same file name when it is replaced
wallpaper-reddit integration:
This assumes that you've copied ksetwallpaper.py to your $PATH and chmod +x'd it
Apply this patch to wallpaper.py
(located in /usr/lib/python3.6/site-packages/wpreddit/)
License
GPL v3
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
