With the help of some well constructed code by MU I have come up with a script that at least shows some small (resized) pictures that you might have in your system.
For interested persons; Please add your ideas, Please edit my code. This is for the Puppy community, not for me. If someone wants to take over, by all means do it! I have got the ball rolling!
EDIT: With help from CatDude and trio we have come up with a working slide show. I am releasing the basic widget version and CatDude is working on a GUI 'standalone' version which will probably end up as the 'official' 'Xlideshow'.
Notes
You should have 'xli' if you have Pwidgets, if not you can get conky-1.6.1.pet plus dependencies, it includes xli, and also needed is Scale2pics
Download and install 'xlideshow-0.0.1.pet'
It installs a directory called images.
Put .png or .jpg images in there, say up to 20 for a machine under 1gig processor, 25 to 50 for up to 2gig, 55 to 100 for a 2gig and over with a gig of ram. These are just guesses, I tested on my 1066Mhz CeleronM, with 512MBram with 25 images of various sizes. Keep the speed of your machine and size of images in mind. NO responsibility taken if your machine crashes, use at your own risk, sorry must say this stuff, you know
That's it. Start it from the menu or drag ~/my-applications/bin/xlideshow.sh to the desktop, or, type 'xlideshow.sh' in a terminal. In Jwm it is normal to see the commentary in the bar. Icewm won't do it. Not tested on other WMs but should work. Edit:Ok, icewm will do it but there is a fix; insert
Code: Select all
#xli picture viewer
WM_CLASS=xli
WM_NAME=xli
xli.layer: Desktop
xli.allWorkspaces: 1
xli.dBorder: 1
xli.dTitleBar: 0
xli.ignoreTaskBar: 1
xli.dMaximize: 0
xli.dMinimize: 0
xli.dRollup: 0
xli.dResize: 0
xli.dClose: 1
Not tested with Xvesa. Testers?
There is still work to do. Feedback is important.
.Changelog
27dec08: uploaded xlideshow-0.0.1
can now set position on screen, can change coordinates to suit your resolution, just open '~/my-applications/bin/xlideshow.sh' in a text editor and alter the values after '-geometry', thx trio
Empties '~/scaledimages' automatically, thx CatDude
28dec08: removed old versions, you can hack away at the latest one