可以修改 Ristretto 图片查看器 的行为和外观,大多通过在首选项对话框 中显示的选项。
首选项对话框让用户配置 Ristretto 图片查看器 的不同方面。这些选项按以下标签分组。
Did you notice how the background-color around the image was the same as the rest of the window? It was themed by Gtk+, when you enable this option, the theme-color is overridden by whatever you set here. Most people like it black, but there is no limitation to the colors you can pick.
By default, Ristretto 图片查看器 comes with two toolbars, one containing the file-operations, and one for navigating the opened images. If you want to reduce the amount of space used for the different buttons, you can enable this option and the two toolbars merge into one.
If the Ristretto 图片查看器 window is fullscreen, you can choose to automatically hide the thumbnailbar. Even though the thumbnailbar is normally visible. This option overrides the Control+t shortcut for toggleing the visibility of the thumbnailbar.
When showing a slideshow of images, the value of this slider determines how long Ristretto 图片查看器 will show each image.
By default, Ristretto 图片查看器 zooms in when you turn the scroll-wheel forward, and zooms out when you turn the scroll-wheel backward. For touch-pads, this can be awkward, because a two-finger scroll is more of a pushing and pulling action. With this option set, turning the scroll-wheel forward will zoom out (pushing the image away) and turning the scroll-wheel backward will zoom in (pulling the image closer).
This option will automatically maximize the main window whenever Ristretto 图片查看器 is launched with a file argument.
With this option set, Ristretto 图片查看器 will wrap around images. When pressing Next on the last image, or Previous on the first image, it will jump to the Last or First image respectively.
Choose which desktop you are using, this determines the way ristretto configures the desktop wallpaper. Currently, GNOME and Xfce are supported.
By default, Ristretto 图片查看器 will ask thunar to pop-up the file-properties dialog. This way, you'll have the advantage of all of thunar's plugins that extend it's file-properties dialog beyond it's native functionality. Aswell as a consistent look-and-feel throughout the xfce desktop.
However, there are some cases where you want Ristretto 图片查看器 not to use Thunar, but go for the build-in dialog all the times. This can be the case when you have Thunar installed, but don't use it. Launching the file-properties dialog from Ristretto 图片查看器 will then cause Thunar to be launched, making it a pretty expensive dialog.
Being a somewhat advanced feature, this option is not exposed through the preferences-dialog, and can only be enabled through the xfconf command-line utility xfconf-query. This can be done as followed:
$ xfconf-query -c ristretto -p /window/use-thunar-properties -n -t bool -s false