A Simple X Image Viewer
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
13 лет назад
14 лет назад
13 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. sxiv: Simple (or small or suckless) X Image Viewer
  2. sxiv is an alternative to feh and qiv. Its only dependency besides xlib is
  3. imlib2. The primary goal for writing sxiv is to create an image viewer, which
  4. only has the most basic features required for fast image viewing (the ones I
  5. want). It has vi key bindings and works nicely with tiling window managers.
  6. Its code base should be kept small and clean to make it easy for you to dig
  7. into it and customize it for your needs.
  8. Features
  9. --------
  10. * Basic image operations, e.g. zooming, panning, rotating
  11. * Customizable key and mouse button mappings (in *config.h*)
  12. * Thumbnail mode: grid of selectable previews of all images
  13. * Ability to cache thumbnails for fast re-loading
  14. * Basic support for multi-frame images
  15. * Display image information in window title
  16. Additional features, that need to be enabled at compile-time (in *config.h*):
  17. * Load all frames from GIF files and play GIF animations
  18. * Auto-orientate JPEG images according to their EXIF tags
  19. Screenshots
  20. -----------
  21. Image mode:
  22. <img src="http://github.com/muennich/sxiv/raw/master/sample/image.png">
  23. Thumbnail mode:
  24. <img src="http://github.com/muennich/sxiv/raw/master/sample/thumb.png">
  25. Installation
  26. ------------
  27. sxiv is built using the commands:
  28. $ make
  29. # make install
  30. Please note, that the latter one requires root privileges.
  31. By default, sxiv is installed using the prefix "/usr/local", so the full path
  32. of the executable will be "/usr/local/bin/sxiv".
  33. You can install sxiv into a directory of your choice by changing the second
  34. command to:
  35. # make PREFIX="/your/dir" install
  36. The build-time specific settings of sxiv can be found in the file *config.h*.
  37. Please check and change them, so that they fit your needs.
  38. Usage
  39. -----
  40. sxiv has two modes of operation: image and thumbnail mode. The default is
  41. image mode, in which only the current image is shown. In thumbnail mode a grid
  42. of small previews is displayed, making it easy to choose an image to open.
  43. sxiv supports the following command-line options:
  44. -c Remove all orphaned cache files from thumbnail cache and exit
  45. -d Scale all images to 100%, but fit large images into window
  46. -F Use size-hints to make the window fixed/floating
  47. -f Start in fullscreen mode
  48. -g GEOMETRY Set window position and size
  49. (see section GEOMETRY SPECIFICATIONS of X(7))
  50. -n NUM Start at picture NUM
  51. -p Pixelize, i.e. turn off image anti-aliasing
  52. -q Be quiet, disable warnings
  53. -r Search given directories recursively for images
  54. -s Scale all images to fit into window
  55. -t Start in thumbnail mode
  56. -v Print version information and exit
  57. -Z Same as `-z 100'
  58. -z ZOOM Scale all images to current zoom level, use ZOOM at startup
  59. The following key mappings are available; differences between image view and
  60. thumbnail mode are denoted via brackets:
  61. q Quit sxiv
  62. Return Switch to thumbnail mode [open selected image]
  63. n,Space Go to the next image
  64. p,Backspace Go to the previous image
  65. g,G Go to [select] first/last image
  66. [,] Go 10 images backward/forward
  67. Ctrl-n,p Go to the next/previous frame of a multi-frame image
  68. Ctrl-Space Play/pause animation of a multi-frame image
  69. +,= Zoom in
  70. - Zoom out
  71. 0 Set zoom level to 100%
  72. w Fit image into window
  73. h,j,k,l Pan image [move selection] left/down/up/right
  74. (also with arrow keys)
  75. H,J,K,L Pan to left/bottom/top/right image edge
  76. Ctrl-h,j,k,l Pan image one window width/height left/down/up/right
  77. (also with Ctrl-arrow keys)
  78. <,> Rotate image (counter-)clockwise by 90 degrees
  79. W Resize window to fit image
  80. f Toggle fullscreen mode (requires an EWMH/NetWM compliant
  81. window manager)
  82. a Toggle anti-aliasing
  83. A Toggle visibility of alpha-channel, i.e. transparency
  84. D Remove image from file list and go to [select] next image
  85. r Reload image
  86. Additionally, the following mouse mappings are available:
  87. Button1 Go to the next image
  88. [select image/open image if it is already selected]
  89. Button2 Drag image with mouse while keeping it pressed
  90. Button3 Go to the previous image
  91. ScrollUp Pan image up [scroll up one thumbnail row]
  92. ScrollDown Pan image down [scroll down one thumbnail row]
  93. Shift+ScrollUp Pan image left
  94. Shift+ScrollDown Pan image right
  95. Ctrl+ScrollUp Zoom in
  96. Ctrl+ScrollDown Zoom out