Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

1 Answer 1

up vote 5 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.