4 个 Linux 桌面上的轻量级图像浏览器
图像

> 
> 当你需要的不仅仅是一个基本的图像浏览器，而是一个完整的图像编辑器，请查看这些程序。
> 
> 
> 


![](/data/attachment/album/201708/14/114804v97eze7hd2zled7s.jpg)


像大多数人一样，你计算机上可能有些照片和其他图像。而且，像大多数人一样，你可能想要经常查看那些图像和照片。


而启动一个 [GIMP](https://www.gimp.org/) 或者 [Pinta](https://pinta-project.com/pintaproject/pinta/) 这样的图片编辑器对于简单的浏览图片来说太笨重了。


另一方面，大多数 Linux 桌面环境中包含的基本图像查看器可能不足以满足你的需要。如果你想要一些更多的功能，但仍然希望它是轻量级的，那么看看这四个 Linux 桌面中的图像查看器，如果还不能满足你的需要，还有额外的选择。


### Feh


[Feh](https://feh.finalrewind.org/) 是我以前在老旧计算机上最喜欢的软件。它简单、朴实、用起来很好。


你可以从命令行启动 Feh：只将其指向图像或者包含图像的文件夹之后就行了。Feh 会快速加载，你可以通过鼠标点击或使用键盘上的向左和向右箭头键滚动图像。不能更简单了。


Feh 可能很轻量级，但它提供了一些选项。例如，你可以控制 Feh 的窗口是否具有边框，设置要查看的图像的最小和最大尺寸，并告诉 Feh 你想要从文件夹中的哪个图像开始浏览。


![Feh](/data/attachment/album/201708/14/114826kppgbgiaep0vtie0.png "Feh")


*Feh 的使用*


### Ristretto


如果你将 Xfce 作为桌面环境，那么你会熟悉 [Ristretto](https://docs.xfce.org/apps/ristretto/start)。它很小、简单、并且非常有用。


怎么简单？你打开包含图像的文件夹，单击左侧的缩略图之一，然后单击窗口顶部的导航键浏览图像。Ristretto 甚至有幻灯片功能。


Ristretto 也可以做更多的事情。你可以使用它来保存你正在浏览的图像的副本，将该图像设置为桌面壁纸，甚至在另一个应用程序中打开它，例如，当你需要修改一下的时候。


![Ristretto](/data/attachment/album/201708/14/114827ao7coq2oho23722o.png "Ristretto")


*在 Ristretto 中浏览照片*


### Mirage


表面上，[Mirage](http://mirageiv.sourceforge.net/)有点平常，没什么特色，但它做着和其他优秀图片浏览器一样的事：打开图像，将它们缩放到窗口的宽度，并且可以使用键盘滚动浏览图像。它甚至可以使用幻灯片。


不过，Mirage 将让需要更多功能的人感到惊喜。除了其核心功能，Mirage 还可以调整图像大小和裁剪图像、截取屏幕截图、重命名图像，甚至生成文件夹中图像的 150 像素宽的缩略图。


如果这还不够，Mirage 还可以显示 [SVG 文件](https://en.wikipedia.org/wiki/Scalable_Vector_Graphics)。你甚至可以从[命令行](http://mirageiv.sourceforge.net/docs-advanced.html#cli)中运行。


![Mirage](/data/attachment/album/201708/14/114828z7dpnuyvfnc7y2gx.png "Mirage")


*使用 Mirage*


### Nomacs


[Nomacs](http://nomacs.org/) 显然是本文中最重量级的图像浏览器。它所呈现的那么多功能让人忽视了它的速度。它快捷而易用。


Nomacs 不仅仅可以显示图像。你还可以查看和编辑图像的[元数据](https://iptc.org/standards/photo-metadata/photo-metadata/)，向图像添加注释，并进行一些基本的编辑，包括裁剪、调整大小、并将图像转换为灰度。Nomacs 甚至可以截图。


一个有趣的功能是你可以在桌面上运行程序的两个实例，并在这些实例之间同步图像。当需要比较两个图像时，[Nomacs 文档](http://nomacs.org/synchronization/)中推荐这样做。你甚至可以通过局域网同步图像。我没有尝试通过网络进行同步，如果你做过可以分享下你的经验。


![Nomacs](/data/attachment/album/201708/14/114829zezdd4ldb64doe8d.png "Nomacs")


*Nomacs 中的照片及其元数据*


### 其他一些值得一看的浏览器


如果这四个图像浏览器不符合你的需求，这里还有其他一些你可能感兴趣的。


**[Viewnior](http://siyanpanayotov.com/project/viewnior/)** 自称是 “GNU/Linux 中的快速简单的图像查看器”，它很适合这个用途。它的界面干净整洁，Viewnior 甚至可以进行一些基本的图像处理。


如果你喜欢在命令行中使用，那么 **display** 可能是你需要的浏览器。 **[ImageMagick](https://www.imagemagick.org/script/display.php)** 和 **[GraphicsMagick](http://www.graphicsmagick.org/display.html)** 这两个图像处理软件包都有一个名为 display 的应用程序，这两个版本都有查看图像的基本和高级选项。


**[Geeqie](http://geeqie.org/)** 是更轻和更快的图像浏览器之一。但是，不要让它的简单误导你。它包含的功能有元数据编辑功能和其它浏览器所缺乏的查看相机 RAW 图像格式的功能。


**[Shotwell](https://wiki.gnome.org/Apps/Shotwell)** 是 GNOME 桌面的照片管理器。然而它不仅仅能浏览图像，而且 Shotwell 非常快速，并且非常适合显示照片和其他图形。


*在 Linux 桌面中你有最喜欢的一款轻量级图片浏览器么？请在评论区随意分享你的喜欢的浏览器。*




---


作者简介：


我是一名长期使用自由/开源软件的用户，并因为乐趣和收获写各种东西。我不会很严肃。你可以在这些网站上找到我：Twitter、Mastodon、GitHub。


via: <https://opensource.com/article/17/7/4-lightweight-image-viewers-linux-desktop>


作者：[Scott Nesbitt](https://opensource.com/users/scottnesbitt) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
Like most people, you probably have more than a few photos and other images on your computer. And, like most people, you probably like to take a peek at those images and photos every so often.

Firing up an editor like [GIMP](https://www.gimp.org/) or [Pinta](https://pinta-project.com/pintaproject/pinta/) is overkill for simply viewing images.


On the other hand, the basic image viewer included with most Linux desktop environments might not be enough for your needs. If you want something with a few more features, but still want it to be lightweight, then take a closer look at these four image viewers for the Linux desktop, plus a handful of bonus options if they don't meet your needs.

## Feh

[Feh](https://feh.finalrewind.org/) is an old favorite from the days when I computed on older, slower hardware. It's simple, unadorned, and does what it's designed to do very well.

You drive Feh from the command line: just point it at an image or a folder containing images and away you go. Feh loads quickly, and you can scroll through a set of images with a mouse click or by using the left and right arrow keys on your keyboard. What could be simpler?

Feh might be light, but it offers some options. You can, for example, control whether Feh's window has a border, set the minimum and maximum sizes of the images you want to view, and tell Feh at which image in a folder you want to start viewing.


![Feh](https://opensource.com/sites/default/files/u128651/feh.png)

opensource.com

## Ristretto

If you've used Xfce as a desktop environment, you'll be familiar with [Ristretto](https://docs.xfce.org/apps/ristretto/start). It's small, simple, and very useful.

How simple? You open a folder containing images, click on one of the thumbnails on the left, and move through the images by clicking the navigation keys at the top of the window. Ristretto even has a slideshow feature.

Ristretto can do a bit more, too. You can use it to save a copy of an image you're viewing, set that image as your desktop wallpaper, and even open it in another application, for example, if you need to touch it up.


![Ristretto](https://opensource.com/sites/default/files/u128651/ristretto.png)

opensource.com

## Mirage

On the surface, [Mirage](http://mirageiv.sourceforge.net/) is kind of plain and nondescript. It does the same things just about every decent image viewer does: opens image files, scales them to the width of the window, and lets you scroll through a collection of images using your keyboard. It even runs slideshows.

Still, Mirage will surprise anyone who needs a little more from their image viewer. In addition to its core features, Mirage lets you resize and crop images, take screenshots, rename an image file, and even generate 150-pixel-wide thumbnails of the images in a folder.

If that wasn't enough, Mirage can display [SVG files](https://en.wikipedia.org/wiki/Scalable_Vector_Graphics). You can even drive it [from the command line](http://mirageiv.sourceforge.net/docs-advanced.html#cli).


![Mirage](https://opensource.com/sites/default/files/u128651/mirage.png)

opensource.com

## Nomacs

[Nomacs](http://nomacs.org/) is easily the heaviest of the image viewers described in this article. Its perceived bulk belies Nomacs' speed. It's quick and easy to use.

Nomacs does more than display images. You can also view and edit an image's [metadata](https://iptc.org/standards/photo-metadata/photo-metadata/), add notes to an image, and do some basic editing—including cropping, resizing, and converting the image to grayscale. Nomacs can even take screenshots.

One interesting feature is that you can run two instances of the application on your desktop and synchronize an image across those instances. The [Nomacs documentation](http://nomacs.org/synchronization/) recommends this when you need to compare two images. You can even synchronize an image across a local area network. I haven't tried synchronizing across a network, but please share your experiences if you have.


![Nomacs](https://opensource.com/sites/default/files/u128651/nomacs.png)

opensource.com

## A few other viewers worth looking at

If these four image viewers don't suit your needs, here are some others that might interest you.

** Viewnior** bills itself as a "fast and simple image viewer for GNU/Linux," and it fits that bill nicely. Its interface is clean and uncluttered, and Viewnior can even do some basic image manipulation.

If the command line is more your thing, then **display** might be the viewer for you. Both the ** ImageMagick** and

**image manipulation packages have an application named display, and both versions have basic and advanced options for viewing images.**

[GraphicsMagick](http://www.graphicsmagick.org/display.html)** Geeqie** is one of the lighter and faster image viewers out there. Don't let its simplicity fool you, though. It packs features, like metadata editing and viewing camera RAW image formats, that other viewers lack.

** Shotwell** is the photo manager for the GNOME desktop. While it does more than just view images, Shotwell is quite speedy and does a great job of displaying photos and other graphics.

*Do you have a favorite lightweight image viewer for the Linux desktop? Feel free to share your preferences by leaving a comment.*

## 7 Comments