A Simple X Image Viewer
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

14 роки тому
14 роки тому
13 роки тому
13 роки тому
14 роки тому
14 роки тому
14 роки тому
14 роки тому
14 роки тому
13 роки тому
14 роки тому
14 роки тому
14 роки тому
14 роки тому
14 роки тому
14 роки тому
14 роки тому
13 роки тому
14 роки тому
13 роки тому
14 роки тому
14 роки тому
14 роки тому
13 роки тому
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. because they depend on additional libraries:
  18. * Load all frames from GIF files and play GIF animations (requires giflib)
  19. * Auto-orientate JPEG images according to their EXIF tags (requires libexif)
  20. Screenshots
  21. -----------
  22. Image mode:
  23. <img src="http://github.com/muennich/sxiv/raw/master/sample/image.png">
  24. Thumbnail mode:
  25. <img src="http://github.com/muennich/sxiv/raw/master/sample/thumb.png">
  26. Installation
  27. ------------
  28. sxiv is built using the commands:
  29. $ make
  30. # make install
  31. Please note, that the latter one requires root privileges.
  32. By default, sxiv is installed using the prefix "/usr/local", so the full path
  33. of the executable will be "/usr/local/bin/sxiv".
  34. You can install sxiv into a directory of your choice by changing the second
  35. command to:
  36. # make PREFIX="/your/dir" install
  37. The build-time specific settings of sxiv can be found in the file *config.h*.
  38. Please check and change them, so that they fit your needs.
  39. If the file *config.h* does not already exist, then you have to create it with
  40. the following command:
  41. $ make config.h
  42. Usage
  43. -----
  44. sxiv has two modes of operation: image and thumbnail mode. The default is
  45. image mode, in which only the current image is shown. In thumbnail mode a grid
  46. of small previews is displayed, making it easy to choose an image to open.
  47. sxiv supports the following command-line options:
  48. -c Remove all orphaned cache files from thumbnail cache and exit
  49. -d Scale all images to 100%, but fit large images into window
  50. -F Use size-hints to make the window fixed/floating
  51. -f Start in fullscreen mode
  52. -g GEOMETRY Set window position and size
  53. (see section GEOMETRY SPECIFICATIONS of X(7))
  54. -n NUM Start at picture NUM
  55. -p Pixelize, i.e. turn off image anti-aliasing
  56. -q Be quiet, disable warnings
  57. -r Search given directories recursively for images
  58. -s Scale all images to fit into window
  59. -t Start in thumbnail mode
  60. -v Print version information and exit
  61. -Z Same as `-z 100'
  62. -z ZOOM Scale all images to current zoom level, use ZOOM at startup
  63. The following key mappings are available; differences between image view and
  64. thumbnail mode are denoted via brackets:
  65. q Quit sxiv
  66. Return Switch to thumbnail mode [open selected image]
  67. n,Space Go to the next image
  68. p,Backspace Go to the previous image
  69. g,G Go to [select] first/last image
  70. [,] Go 10 images backward/forward
  71. Ctrl-n,p Go to the next/previous frame of a multi-frame image
  72. Ctrl-Space Play/pause animation of a multi-frame image
  73. +,= Zoom in
  74. - Zoom out
  75. 0 Set zoom level to 100%
  76. w Fit image into window
  77. h,j,k,l Pan image [move selection] left/down/up/right
  78. (also with arrow keys)
  79. H,J,K,L Pan to left/bottom/top/right image edge
  80. Ctrl-h,j,k,l Pan image one window width/height left/down/up/right
  81. (also with Ctrl-arrow keys)
  82. <,> Rotate image (counter-)clockwise by 90 degrees
  83. W Resize window to fit image
  84. f Toggle fullscreen mode (requires an EWMH/NetWM compliant
  85. window manager)
  86. a Toggle anti-aliasing
  87. A Toggle visibility of alpha-channel, i.e. transparency
  88. D Remove image from file list and go to [select] next image
  89. r Reload image
  90. Additionally, the following mouse mappings are available:
  91. Button1 Go to the next image
  92. [select image/open image if it is already selected]
  93. Button2 Drag image with mouse while keeping it pressed
  94. Button3 Go to the previous image
  95. Scroll Pan image up/down [scroll up/down one thumbnail row]
  96. Shift+Scroll Pan image left/right
  97. Ctrl+Scroll Zoom in/out