On a freshly installed Neon desktop (User edition), there is the default wallpaper on the desktop, but it does not seem to be configured in ~/.config/plasma-org.kde.desktop-applsetsrc. That is, there is no: [Containments][8][Wallpaper][org.kde.image][General] Image=/path/to/plasma/default/wallpaper.png section. This breaks quite a few scripts which involve getting the current wallpaper from Plasma's configuration. Upon changing the wallpaper to a random one, the relevant config section appears.
Created attachment 110989 [details] Neon's default ~/.config/plasma-org.kde.desktop-appletsrc config file
Sorry for the delayed reply. In what way does this "break scripts"?
For example, I have an application: https://github.com/bharadwaj-raju/qoverview - that relies on such an entry being present in the appletsrc, so as to display the user's wallpaper as the application background. You can see the bug filed on my project here: https://github.com/bharadwaj-raju/qOverview/issues/10
Parsing another project's config file is asking for trouble in a million ways. I'm not writing out default values for that. Sorry. I'll try and extend the plasma scripting so you can retrieve it in a safer way.
If Plasma's scripting engine can be modified to provide a sane way for getting/setting the wallpaper, it'll be excellent. Much better than my proposed fix of writing out default values. Thank you.