PDA

View Full Version : [lubuntu] lubuntu - refresh wallpaper problem



petodindo
June 15th, 2013, 09:01 PM
I have this script, take a look at it please

https://docs.google.com/file/d/0B0yJBwpfE0WxUXdXdGlsUnZyOTQ/edit?usp=sharing

It is downloading picture from web, save file to disk and set up as desktop wallpaper. One file, same name. Downloading and saving works fine, but refreshing wallpaper on desktop works only once - only first time. The picture is saved in some cache and the system won't change it even the file is updated, on the desktop I see only the picture downloaded first time. After system restart, the picture will change.

So is it possible to refresh wallpaper on desktop which has the same name?

toxicbreakfast
June 19th, 2013, 01:36 PM
Not sure if there is a better way but adding something like this will work



pcmanfm --wallpaper-mode=tiled; pcmanfm --wallpaper-mode=stretch


i.e. change the mode to something else, then back to the original.

petodindo
June 19th, 2013, 09:01 PM
man you are great :) thanx for tip, but I have to edit it like this to work for me

pcmanfm --wallpaper-mode=center
pcmanfm --wallpaper-mode=stretch