Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the best way to have Eye of Gnome Graphics viewer (EOG) open a folder full of images in a randomized slide-show from the terminal?

share|improve this question
Is this for personal use or for a program you are making? If the former, then you can just call eog /path/to/folder and press Ctrl+M so as to have a random image displayed... – hakermania Aug 21 '12 at 23:51
I was hoping to build a shell script. – southpointingchariot Aug 22 '12 at 1:16
up vote 6 down vote accepted
sudo apt-get install eog-plugins -y

then start eye of gnome, (terminal or not, doesn't matter for now), click
edit / preferences / plugins
Scroll down and check the "slideshow shuffle" box. Close the program.

Then, via terminal you can:

eog /path/to/pictures -s

Where the " -s" switch triggers the slideshow and eog remembers the shuffle plugin.

share|improve this answer
greatest thanks! – southpointingchariot Aug 22 '12 at 1:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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