I use this script to view my iPhoto pictures and movies on Linux as a slideshow