Linux command
nsxiv 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Open images
nsxiv [path/to/file1 path/to/file2 ...]
Example
nsxiv [path/to/directory1 path/to/directory2 ...]
Example
nsxiv -r [path/to/directory1 path/to/directory2 ...]
Quit
q
Example
Enter
Next/previous
n / p
说明
nsxiv (Neo Simple X Image Viewer) is a lightweight, keyboard-driven image viewer for X11. It's a fork of the original sxiv with additional features and active maintenance. The viewer has two modes: image mode for viewing individual images with zoom and pan, and thumbnail mode for browsing multiple images. Navigation uses vim-like keybindings: h/j/k/l or arrow keys, n/p for next/previous. Images can be marked for batch operations, and the selection can be output to stdout for use in scripts. External commands can be configured through shell scripts.
参数
- -r, --recursive
- Search directories recursively for images
- -t, --thumbnail
- Start in thumbnail mode
- -f, --fullscreen
- Start in fullscreen mode
- -s _mode_
- Scale mode: fit, fill, width, height
- -g _geometry_
- Window geometry (WxH+X+Y)
- -b
- Hide info bar
- -q
- Quiet mode; suppress warnings
- -o
- Output selected files to stdout on exit
FAQ
What is the nsxiv command used for?
nsxiv (Neo Simple X Image Viewer) is a lightweight, keyboard-driven image viewer for X11. It's a fork of the original sxiv with additional features and active maintenance. The viewer has two modes: image mode for viewing individual images with zoom and pan, and thumbnail mode for browsing multiple images. Navigation uses vim-like keybindings: h/j/k/l or arrow keys, n/p for next/previous. Images can be marked for batch operations, and the selection can be output to stdout for use in scripts. External commands can be configured through shell scripts.
How do I run a basic nsxiv example?
Run `nsxiv [path/to/file1 path/to/file2 ...]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -r, --recursive do in nsxiv?
Search directories recursively for images