← 返回命令列表

Linux command

sxiv 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Open

sxiv path/to/image

Example

sxiv -f path/to/image

Example

echo path/to/file | sxiv -i

Example

sxiv -S 3 path/to/image1 path/to/image2

Example

sxiv -t path/to/images/*

Recursive

sxiv -r path/to/directory

说明

sxiv is a simple image viewer for X. It has two modes: image mode for displaying individual images and thumbnail mode for selecting from a grid view. It supports keyboard navigation, zooming, rotation, and slideshow functionality.

参数

-f
Start in fullscreen mode
-b
Do not show info bar at bottom
-t
Start in thumbnail mode
-i
Read file list from stdin
-r
Search directories recursively for images
-o
Write marked files to stdout on exit
-a
Play animations of multi-frame images
-A FRAMERATE
Set animation framerate
-s MODE
Set scale mode (d=down, f=fit, F=fill, w=width, h=height)
-z ZOOM
Set zoom level as percentage
-g GEOMETRY
Set window geometry (WxH+X+Y)
-G GAMMA
Set gamma correction (-32 to 32)
-S SECONDS
Start slideshow with specified interval
-n NUM
Start at image number NUM
-c
Clean thumbnail cache
-q
Suppress warnings

FAQ

What is the sxiv command used for?

sxiv is a simple image viewer for X. It has two modes: image mode for displaying individual images and thumbnail mode for selecting from a grid view. It supports keyboard navigation, zooming, rotation, and slideshow functionality.

How do I run a basic sxiv example?

Run `sxiv path/to/image` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -f do in sxiv?

Start in fullscreen mode