slideshow-1.1.pet: SDL based slideshow app
slideshow-1.1.pet: SDL based slideshow app
people have often asked for a suitable slideshow presentation application for puppy. i quite like the simplicity, and smallness, of this SDL based one.
http://www.xmission.com/~jstanley/slideshow.html
it needs SDL library files to run. extract the attached file to /, then type slideshow --help to see options.
http://www.xmission.com/~jstanley/slideshow.html
it needs SDL library files to run. extract the attached file to /, then type slideshow --help to see options.
- Attachments
-
- slideshow-1.1.tar.bz2
- (28.69 KiB) Downloaded 1413 times
Last edited by muggins on Mon 27 Oct 2008, 09:56, edited 1 time in total.
re-install sdl with petget, or use this dotpup:
http://dotpups.de/dotpups/Games/LibSDL1.2-forDoom.pup
Try petget first, as both versions are slightly different.
Mark
http://dotpups.de/dotpups/Games/LibSDL1.2-forDoom.pup
Try petget first, as both versions are slightly different.
Mark
Hi Yogi,
how did you extract the archive to / ? I suspect that the executable, slideshow, has been extracted & ended up somewhere else in your file system, rather than /usr/bin. You can try & locate where it's been extracted to by entering:
find / -name slideshow
and, if you find it, move it to /usr/bin.
how did you extract the archive to / ? I suspect that the executable, slideshow, has been extracted & ended up somewhere else in your file system, rather than /usr/bin. You can try & locate where it's been extracted to by entering:
find / -name slideshow
and, if you find it, move it to /usr/bin.
Yogi,
glad you got it working.
yes SDL needs X11 AFAIK. There are commandline graphic viewers, which might have slideshow capability, but they would probably be Svga or framebuffer based. So you would need to either use an Svga based distro, (2 floppy based blueflops springs to mind), or one that supports framebuffer mode, like maybe dsl. previous pupversions used to have packages for framebuffer & svga, but it could be problematical tracking that stuff down.
glad you got it working.
fargo,I'm wondering about how difficult it is to write a slideshow outside X11?
yes SDL needs X11 AFAIK. There are commandline graphic viewers, which might have slideshow capability, but they would probably be Svga or framebuffer based. So you would need to either use an Svga based distro, (2 floppy based blueflops springs to mind), or one that supports framebuffer mode, like maybe dsl. previous pupversions used to have packages for framebuffer & svga, but it could be problematical tracking that stuff down.
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
Tried both SDL libraries and this command line:
did not seem to work - nothing
am using xorg and Puppy 2.17
Code: Select all
slideshow -window -name 1c.jpg -advance 3 -random -tran random
am using xorg and Puppy 2.17
Last edited by Lobster on Fri 24 Oct 2008, 22:28, edited 1 time in total.
Hi Lobster,
you had me sweating there for a few secs, as I couldn't get the thing to work either!
-name should be entered by itself, to have the filename displayed on the pic. If not entered, pic will be unnamed.
-advance 3 -random -tran random This is all OK.
The last bit you should enter is just the path to the directory where the pics are, so on my computer, this works:
slideshow -name -advance 3 -random -tran random /x2
You can also have the last entry pointing to a text-file, with a list of jpegs to display, one per line. Hope this works for you.
you had me sweating there for a few secs, as I couldn't get the thing to work either!
-window option is probably redundant, as slideshow will use default window size of 800x600, unless you specify a different height & width.slideshow -window -name 1c.jpg -advance 3 -random -tran random
-name should be entered by itself, to have the filename displayed on the pic. If not entered, pic will be unnamed.
-advance 3 -random -tran random This is all OK.
The last bit you should enter is just the path to the directory where the pics are, so on my computer, this works:
slideshow -name -advance 3 -random -tran random /x2
You can also have the last entry pointing to a text-file, with a list of jpegs to display, one per line. Hope this works for you.
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
thanks guys
Don't sweat - it is me being incompetent and 'CLI fear'
(A penguin condition)
Finally got an error message (did not even get that before)
this is the file I have in at the moment
libsdl-1.2-9
it is wrong - where do I get the one mentioned?
Code: Select all
# slideshow -name -advance 3 -random -tran random /x2
slideshow: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory
# slideshow -name 1c.jpg -advance 3 -random -tran random /x2
slideshow: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory
(A penguin condition)
Finally got an error message (did not even get that before)
this is the file I have in at the moment
libsdl-1.2-9
it is wrong - where do I get the one mentioned?
it definately is in:
http://dotpups.de/dotpups/Games/LibSDL1.2-forDoom.pup
But maybe that depends on another one?
Please post the result of this command:
ldd /usr/lib/libSDL_image-1.2.so.0
Mark
http://dotpups.de/dotpups/Games/LibSDL1.2-forDoom.pup
But maybe that depends on another one?
Please post the result of this command:
ldd /usr/lib/libSDL_image-1.2.so.0
Mark
Hi mark & lobster,
I think Mark's http://dotpups.de/dotpups/Games/LibSDL1.2-forDoom.pup is the only thing you need to install. Maybe the libSDL-1.2.9 doesn't have libSDL_image.so ?
I think Mark's http://dotpups.de/dotpups/Games/LibSDL1.2-forDoom.pup is the only thing you need to install. Maybe the libSDL-1.2.9 doesn't have libSDL_image.so ?
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
Code: Select all
# ldd /usr/lib/libSDL_image-1.2.so.0
ldd: /usr/lib/libSDL_image-1.2.so.0: No such file or directory
#
will try that again if you think worthwhile?
Lobster,
Well, only you can judge if it's worth your while. But if you install Mark's http://dotpups.de/dotpups/Games/LibSDL1.2-forDoom.pup , then the program does work. And if you run it on a directory full of yantras, with fade between images, you'll be up there with the Ascended Masters in the Grand Teton...woops...I think I might have got the wrong Ascended Masters & the wrong mountain range!
Well, only you can judge if it's worth your while. But if you install Mark's http://dotpups.de/dotpups/Games/LibSDL1.2-forDoom.pup , then the program does work. And if you run it on a directory full of yantras, with fade between images, you'll be up there with the Ascended Masters in the Grand Teton...woops...I think I might have got the wrong Ascended Masters & the wrong mountain range!
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
I want to ascend with yantras
but I could not get it to work
Code: Select all
The following options apply only when picture_path is a directory:
-recurse : Recurse into subdirectories
-sort S : Sort file list, where S is one of the following:
n+ : Name ascending (a-z)
n- : Name descending (z-a)
cd+ : Create date ascending (oldest first)
cd- : Create date descending (newest first)
md+ : Mofify date ascending (oldest first)
md- : Mofify date descending (newest first)
# slideshow -window -name 1c.jpg -advance 3 -random -tran random
Marks doompup is there
I have rebooted and tried various combinations and changed Windows manager from JWM to Icewm
No Yantra
It is like the program runs - but does nothing . . .
I am using Nvidia card - should not be relevant . . .
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
As usual all it takes is someone with a bit of sense . . .
Thanks Mark
NOW Working - now to make use of it
Many thanks to you and Muggins
At the moment I am using Qiv for Tmxxine Vision
Shrine Builder . . . but I think I prefer this new Slideshow
http://tmxxine.com/wik/wikka.php?wakka= ... xineVision
thanks again
Thanks Mark
NOW Working - now to make use of it
Many thanks to you and Muggins
At the moment I am using Qiv for Tmxxine Vision
Shrine Builder . . . but I think I prefer this new Slideshow
http://tmxxine.com/wik/wikka.php?wakka= ... xineVision
thanks again