It's a small program to use a picture from the web as a wallpaper and it refreshes periodically.

You can use e.g. a satellite picture or one from a webcam.. Everytime you have a actual wallpaper.

The program uses gtkdialog4 and it works at least with Slacko 5.3.2.6, Racy 5.2.2.8, Wary 5.2, Lupu-528.004, Lazy Puppy and Akita beta7.

If you install gtkdialog4, it also works with Puppy 4.31, Lupu 525 and probably with others too.

It also works with Pwidgets now, but sometimes there's still a small problem with the background of the analog clock widget.

You start the program with menu->Desktp->WallpaperRefresh Configuration.

- Type in a URL or select one.

- Refresh time determines the time, when the program looks for a newer picture. If it's available, it will be downloaded and the wallpaper will be refreshed. If no newer one is available, nothing happens.

- I added a new entry which will be executed after each refresh. This can be useful if running applications are needing a separate refresh (e.g. wbar)

- "Save refreshes to Log" is good to find out, how often a new picture is available (and if something doesn't work right ).

- "Backup URL file" copies the URL file to URL.bkp.
If you update the program or you delete something by accident, just copy URL.bkp back to URL.

- "Start WallRefresh at boot" should be clear, also "Start WallRefresh now".

If you use Pwidgets, at every refresh a Message pops up, about Syncing.
If you want to suppress this messages, open /usr/sbin/fixwidgets and change

Code:

/usr/local/pwidgets/box_splash &

to

Code:

# /usr/local/pwidgets/box_splash &

in my version it is line #39.

No warranty, no money back ! You should make a copy of your save file before testing.

Have fun ,
Rolf

UPDATE WallRefresh 1.4:
- Internationalisation, by now only english and german
- Added stu90's suggestions.

UPDATE WallRefresh 1.2:
- an additional entry which will be executed after each refresh
- changed path from /root/ to /usr/local/
- pictures are now in a separate folder

UPDATE WallRefresh 1.1:
- set_bg rewritten (thanks to stu90)
- Pwidgets seems to work now (tested with Lupu-528 and Slacko 5.3.2.6) but it looks very 'sensitive' to me. If a window hides the widgets during refresh, the background of the clock widget will go wrong till next refresh. Also it takes a 'long' time. Not recommended with small refresh rates. I'm not sure about different versions of Pwidget.
- If you changed the wallpaper but there was no new one on the web, the refresh tooks the time till a new picture was on the web. This is solved now.
- I cleaned the code (e.g. Rwallpaper from 9927 B to 2784 B).

Important: If you select a picture which is not available, then the program crashes. In this case you need to select a 'normal' wallpaper first. E.g. right click any icon on the desktop, select 'Backdrop', select any picture and 'Stretch'.

UPDATE wallrefresh-1.0-01.pet:
Fixed "Break by closing with upper right cross"
Added message if gtkdialog4 is not available

Downloaded .pet doesn't work in LazY Puppy (lucid based). If i choose to start the program at boot up, a dead link is created in Startup (goes to /root/wallrefresh/wallrefresh.sh - does not exist. Existing file name is : wallrefresh (no .sh)

I did edit line 82 in wprefresh-config and changed gtkdialog to gtkdialog4 and the application runs.

If i do close the window the applications runs only every second time (at the other time it removes/creates 1/1 the dead link in /root/Startup). _________________LazY PuppyRSH's DNASARA B.

Did you download the previous version?
The problem might be the same names of the attachement.

I did download the first one and did download the updated .pet two times. Second time i did download the updated .pet after my last post and then edited the post.

Line 82 in wprefrsh-config

Code:

gtkdialog4 -p main > $HOME/wallrefresh/.wprefreshrc

writes content of gtkdialog4 data to $HOME/wallrefresh/.wprefreshrc. If closing the window using the right upper cross, gtkdialog contains EXIT=abort, which is not usable data for the Wallrefresh application - but you could use it for

- Pwidgets seems to work now (tested with Lupu-528 and Slacko 5.3.2.6) but it looks very 'sensitive' to me. If a window hides the widgets during refresh, the background of the clock widget will go wrong till next refresh. Also it takes a 'long' time. Not recommended with small refresh rates. I'm not sure about different versions of Pwidget.

- If you changed the wallpaper but there was no new one on the web, the refresh tooks the time till a new picture was on the web. This is solved now.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum