Registered Member
|
1. Since in KDE 4.3 wasn't added a feature to change wallpapers through dcop/dbus, like in KDE 3.x, I wonder if there is another way to set wallpaper besides changing plasma-desktop-appletsrc and restarting plasma?
2. I like new weather wallpaper plasma feature, but is there a way to get a path of current image? Information stored in plasma-desktop-appletsrc is not sufficient: [Containments][81][Wallpaper][weather] source=envcan|weather|City updateWeather=30 userswallpapers= wallpapercolor=56,111,150 wallpaperposition=0 Thanks. |
Administrator
|
1) I can find no such direct function, but calling reparseConfiguration may work.
2) I do not believe it is possible to retrieve such information as the wallpaper is chosen dynamically. It likely exists some place under /usr/share.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
There is a "next wallpaper" plasmoid. It says it works with KDE 4.2, don't know about 4.3. Perhaps by looking at the source you can see how they do it.
Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965 |
Registered Member
|
Could you specify what command should I use to reparseConfiguration. All commands I tried returned me "call failed". |
Administrator
|
@TheBlackCat:
Heh, i also thought of that widget. Unfortunately it seems it is only working when the Desktop is in slideshow mode. And looking at the code, there are only some Qt calls to the slideshow containment. @Untit13d:
|
Registered Member
|
Thanks, but here is what it returns:
And here is the output of qdbus org.kde.plasma-desktop /MainApplication:
And it doesn't change my wallpaper (( |
Administrator
|
That output is due to a bug in KApplication, which KUniqueApplication is based on, and is due to using invalid characters in its D-Bus interface. This is currently under discussion on kde-core-devel, including methods of fixing it.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Just out of curiosity:
How much CPU does this feature use? Is this stable enough for daily usage?
Sidux 2010.01 (Debian/Sid) - Intel i5 M 540, 4 GB RAM, Nvidia NVS 3100M on Lenovo T410
|
Registered Member
|
Well, it shouldn't use any CPU, since what it does is changing wallpapers according to current weather in your region with set delay. It is probably a simple script/application that runs once in 30 mins (default time interval), gets weather online and changes your wallpaper. It is stable enough, but sometimes there may be empty wallpaper (just blue background), i guess it is because there is no image assigned to some weather conditions. Sadly, I couldn't find where configuration files and images are stored for this app. |
Administrator
|
The automatic weather wallpaper is a Plasma wallpaper plugin that checks the configured weather provider once every so often ( this is configurable, and may be restricted by the weather provider )
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Because this thread is about changing the wallpaper: is there a way to call the dialog in which you change the wallpaper from commandline? Usually you have to rightclick onto the desktop to get the dialog or press a key combination.
By now I change my wallpaper through a servicemenu. I have set the wallpaper in that dialog to use ~/background.jpg. And via the picture's servicemenu I copy another file to background.jpg. That works fine except for one exception: the new wallaper only appears after either a relogin or in current session when I open the wallpaper dialog and confirm it without changing anything. So I'd love to call that dialog from the servicemenu. Or any other idea? Refreshing the desktop with F5 does not update the shown wallpaper and stopping/restarting plasma gives an error message about "Invalid D-BUS interface name". |
Registered Member
|
I installed the "next wallpaper" widget and it works fine even when the desktop is not in slideshow mode! I now set the wallpaper via my servicemenu (copy the chosen picture to background.jpg) and just have to click on the next wallpaper widget in the panel to let the new wallpaper smoothly blend in (I now use a subdirectory in which background.jpg is the only picture). Nice!
|
Registered users: Bing [Bot], Evergrowing, Google [Bot], ourcraft