Discussion:
[plasmashell] [Bug 391047] New: Desktop wallpaper is not configured in plasma-org.kde.desktop-appletsrc by default
Bharadwaj Raju
2018-02-25 13:12:41 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391047

Bug ID: 391047
Summary: Desktop wallpaper is not configured in
plasma-org.kde.desktop-appletsrc by default
Product: plasmashell
Version: 5.12.0
Platform: Neon Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Desktop Containment
Assignee: ***@kde.org
Reporter: ***@gmail.com
CC: plasma-***@kde.org
Target Milestone: 1.0

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.
--
You are receiving this mail because:
You are watching all bug changes.
Bharadwaj Raju
2018-02-25 13:14:53 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391047

--- Comment #1 from Bharadwaj Raju <***@gmail.com> ---
Created attachment 110989
--> https://bugs.kde.org/attachment.cgi?id=110989&action=edit
Neon's default ~/.config/plasma-org.kde.desktop-appletsrc config file
--
You are receiving this mail because:
You are watching all bug changes.
David Edmundson
2018-03-12 10:03:12 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391047

David Edmundson <***@davidedmundson.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@davidedmundson.co.uk

--- Comment #2 from David Edmundson <***@davidedmundson.co.uk> ---
Sorry for the delayed reply.

In what way does this "break scripts"?
--
You are receiving this mail because:
You are watching all bug changes.
Bharadwaj Raju
2018-03-13 08:41:55 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391047

--- Comment #3 from Bharadwaj Raju <***@gmail.com> ---
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
--
You are receiving this mail because:
You are watching all bug changes.
David Edmundson
2018-03-13 11:45:22 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391047

David Edmundson <***@davidedmundson.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|UNCONFIRMED |RESOLVED

--- Comment #4 from David Edmundson <***@davidedmundson.co.uk> ---
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.
--
You are receiving this mail because:
You are watching all bug changes.
Bharadwaj Raju
2018-03-13 13:58:46 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=391047

--- Comment #5 from Bharadwaj Raju <***@gmail.com> ---
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.
--
You are receiving this mail because:
You are watching all bug changes.
Loading...