2

I am making a project about wireless notice board using an android app and a raspberry pi. I am using feh image viewer to display images as slideshow from a specific folder.

The command I am using:

/usr/bin/feh --quiet --recursive --randomize --full-screen --slideshow-delay 7 /home/pi/New

It's displaying properly but has one problem. If I add a new image in the folder it won't display until it is restarted. Can somebody tell any method in which I can to auto reload as soon as something is added? Or is there any other image viewer which is capable of performing the required task?

1

According to feh's documentation, the solution is fairly simple. If you add the parameter -R n (where n is an integer), it will automatically reload from the specified directory every n seconds.

| improve this answer | |
  • I tried this but its not working in my case . I have found another image viewer called Eye of GNOME .This is doing my work perfectly .Its slideshow automatically shows the new added image without adding anything in command line. – Saman Nov 25 '15 at 16:11
0

In my project I upload photos from webcams, so I need to refresh also. Only feh did the job. I first tried with eog but had problems with display timeout: even if I put BLANK_TIME and POWERDOWN_TIME to zero in /etc/kbd/config, in the middle of the night the video ignored those parameters and became blank. This didn't happen with feh.

feh -Z -F -R 5 -Y /home/pi/photos
| improve this answer | |
0

Given directory $d where new images are being created, for displaying the images as they appear, starting from the freshest one, I'm using

feh -S mtime --reverse -D 1 -R 1 --on-last-slide hold --start-at $(ls -1tr "$d" | tail -n 1) "$d"

(I'm not sure how it performs for huge amount of images, as it is short-periodically reloading the list)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.