Where to get info about KDE4 wallpaper (Scaled/Cropped)?
Posted: 15 Nov 2011, 02:40
Hi all!
I'm trying to properly place background image for this program so if KDE4 wallpaper is stretched, I'd like to do the same for abovementioned program.
But so far I've been unable to retrieve any information on wallpaper palcement aside from image that is used for it (and even this information isn't accurate enough since there are quite many "wallpaper=" in config file):
I've tried to change wallpaper placement method and look for changes in configuration but no file was changed.
Also I've heard about qdbus but found it too complicated (although I was able to get some irrelevant info, I didn't find something related to wallpapers).
Does anybody know how to get information about KDE4 wallpaper placement for a script?
I'm trying to properly place background image for this program so if KDE4 wallpaper is stretched, I'd like to do the same for abovementioned program.
But so far I've been unable to retrieve any information on wallpaper palcement aside from image that is used for it (and even this information isn't accurate enough since there are quite many "wallpaper=" in config file):
Code: Select all
grep 'wallpaper=/' ~/.kde4/share/config/plasma-desktop-appletsrc | sed 's/wallpaper=//' | sed q
Also I've heard about qdbus but found it too complicated (although I was able to get some irrelevant info, I didn't find something related to wallpapers).
Does anybody know how to get information about KDE4 wallpaper placement for a script?