Hi.
Does anyone know how to view random images recursively? A GUI or terminal method?
Lets say I will use eog (Eye of GNOME) or gthumb to view the images.
Cheers.
Hi.
Does anyone know how to view random images recursively? A GUI or terminal method?
Lets say I will use eog (Eye of GNOME) or gthumb to view the images.
Cheers.
1st Distro used (live CD): Knoppix in early 2007 ¦ 1st Distro Installed: Ubuntu 7.10 in Feb 2008
GNU/Linux User #470660 – Ubuntu User #28226
Isaac Asimov: "I do not fear computers. I fear the lack of them."
I don't know how to do this with eog or gthumb, but I use feh:
recursive, random, fullscreen slideshow; change every 5 secondsCode:feh -rzsZFD 5 /home/ian/Pictures/
h - pause
m - menu
< - rotate left 90
> - rotate right 90
+/- speed up/slow down delay
Ian
You can use the shuf command with find.
Let's say that you want to view random images (jpgs and pngs) from ~/Pictures, ~/My Photos and ~/Camera Shots. You can use something like
Code:eog $(find ~/Pictures "~/My Photos" "~/Camera Shots" \( -iname "*.png" -or -iname "*.jpg" \) | shuf -n1)
Thats odd, I never got email notifications for these posts. [Edit - it actually was my spam filter acting up]
Thanks guys for the code lines.
Last edited by Rytron; April 2nd, 2012 at 04:41 PM.
1st Distro used (live CD): Knoppix in early 2007 ¦ 1st Distro Installed: Ubuntu 7.10 in Feb 2008
GNU/Linux User #470660 – Ubuntu User #28226
Isaac Asimov: "I do not fear computers. I fear the lack of them."
1st Distro used (live CD): Knoppix in early 2007 ¦ 1st Distro Installed: Ubuntu 7.10 in Feb 2008
GNU/Linux User #470660 – Ubuntu User #28226
Isaac Asimov: "I do not fear computers. I fear the lack of them."
I have used the third party applications to view the random images recursively!!
1st Distro used (live CD): Knoppix in early 2007 ¦ 1st Distro Installed: Ubuntu 7.10 in Feb 2008
GNU/Linux User #470660 – Ubuntu User #28226
Isaac Asimov: "I do not fear computers. I fear the lack of them."
Bookmarks