412

The terminal is very fast and convenient way to quickly access directories and files (faster than find and click on the directory).

One thing that it cannot show in text-mode is "pictures".

What is a best way to view pictures (like you see images thumbnail in Nautilus) when you are working in the terminal (e.g. command nautilus or any program - but should be fast and convenient)?

7
  • See also: unix.stackexchange.com/questions/15771/irfanview-alternative Commented Mar 29, 2012 at 20:32
  • 1
    I just run a terminal emulator under my desktop enviroment. So you have the advantages of both at hand. Commented Mar 23, 2014 at 16:05
  • Gotta object to the close votes here as there is a substantial difference between the need to view images files from a (presumably GUI) terminal (this question) and the need to view them on the console (the other question). Commented Mar 23, 2014 at 19:50
  • I provide a list of pretty much all your options here in this Q&A: How to get JPEG thumbnails quickly Commented Mar 24, 2014 at 2:17
  • how to do it from inside the terminal askubuntu.com/questions/97542/… Commented Mar 21, 2016 at 15:37

33 Answers 33

1
2
0
  • No X11 needed.
  • Works in tmux.
git clone https://github.com/stolk/imcat.git ~/ cd ~/imcat make ~/imcat Your_path_of_a_pic 

enter image description here

2
  • Same as unix.stackexchange.com/a/440521/70524 Commented Dec 6, 2021 at 2:24
  • Yes, same tool. Just provide some information for convenience Commented Dec 6, 2021 at 3:56
0

If you have ffmpeg installed, you can try the command ffplay [/path/to/your/image] &>/dev/null

&>/dev/null ignores the text output that's probably irrelevant if you just want to see the image.

-2

If using gnome it is as simple as typing

$ gnome-open /path/to/photo 

and it opens the image using the default image viewer that you have in your machine.

2
  • 4
    Already posted a few months ago: unix.stackexchange.com/a/248179/70524 Commented Apr 4, 2016 at 10:52
  • this method will be very slow, if you have many images in the same folder with that image. Commented Dec 29, 2016 at 9:09
1
2

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.