You are not logged in.
Pages: 1
In three days time I need a program that can generate a slideshow using all the images in a directory and loop continuously. I also need this program to add new images to the slideshow as they're added to the folder. I was going to use the slideshow mode in gthumb, but it doesn't add new images to the slideshow without restarting it. Can anyone suggest a program?
Offline
feh might have option(s) to do what you want. I know it has a slideshow mode, and you can set the delay - it very likely works if new images are added to the folder it looks in.
-dav7
Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.
Offline
Unfortunately, feh doesn't check for new images added to the directory.
edit: I have come up with a solution:
#!/bin/bash
while true; do
killall feh
feh "$*`ls $* -c1 | sort -R | head -n1`" -x -F &
sleep 5
done
The only downside is that there is a period of a second or so when feh is not open, between the killing feh and starting it again.
Last edited by Barrucadu (2008-12-14 13:38:19)
Offline
You can use a script to periodically create a link named current to files in directory, and use feh's -R switch (reload switch). This works very good.
This is rotate.sh script with 2 second slideshow delay:
#!/bin/bash
while true; do
for filename in *; do
if (test "$filename" != "current" && test "$filename" != "rotate.sh"); then
ln -fs "$filename" current
sleep 2
fi
done
done
You put it in the directory where images are, and start it there. Then you start feh like this:
$ feh -R 1 /path/to/images_dir/current
Just make sure that feh's refresh interval is shorter than slideshow interval, otherwise it might miss some images.
Offline
Eye of Gnome does all you want.
Offline
Pages: 1