Bug 395373

Summary: Cannot change wallpaper using kwriteconfig5.
Product: [Plasma] plasmashell Reporter: Isolde <byron.hjl>
Component: Image & Slideshow wallpaper pluginsAssignee: Marco Martin <notmart>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: kde, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.13.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Isolde 2018-06-14 14:11:40 UTC
The command is like

kwriteconfig5 --file plasma-org.kde.plasma.desktop-appletsrc --group Containments --group 20 --group Wallpaper --group org.kde.image --group General --key Image --type string "file:///foo.jpg"

But that won't change wallpaper immediately unless restart plasmashell.
Comment 1 David Edmundson 2018-06-14 18:28:09 UTC
Correct. Kwiteconfig is generally bad for plasma as you need to know ids.

See the plasma scripting api.