A Simple X Image Viewer
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

README.md 2.5 KiB

hace 14 años
hace 14 años
hace 14 años
hace 14 años
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. sxiv: Simple (or small or suckless) X Image Viewer
  2. sxiv is a really simple alternative to feh and qiv. Its only dependency is
  3. imlib2. The primary goal for writing sxiv is to create an image viewer, which
  4. only implements the most basic features required for fast image viewing. It
  5. works nicely with tiling window managers and its code base should be kept small
  6. and clean to make it easy for you to dig into it and customize it for your
  7. needs.
  8. Installation
  9. ------------
  10. sxiv is built using the commands:
  11. $ make
  12. # make install
  13. Please note, that the latter one requires root privileges.
  14. By default, sxiv is installed using the prefix "/usr/local", so the full path
  15. of the executable will be "/usr/local/bin/sxiv".
  16. You can install it into a directory of your choice by changing the second
  17. command to:
  18. # PREFIX="/your/dir" make install
  19. All build-time specific settings can be found in the file "config.h". Please
  20. check and change them, so that they fit your needs.
  21. Usage
  22. -----
  23. sxiv supports the following command-line options:
  24. -d scale all images to 100%, but fit large images into window
  25. -f start in fullscreen mode
  26. -p pixelize, i.e. turn off image anti-aliasing
  27. -s scale all images to fit into window
  28. -v print version information and exit
  29. -W enable printing of warnings
  30. -w WIDTHxHEIGHT
  31. set window width to WIDTH and height to HEIGHT
  32. (if HEIGHT is omitted, height is also set to WIDTH)
  33. -Z same as `-z 100'
  34. -z ZOOM scale all images to current zoom level, use ZOOM at startup
  35. Use the following keys to control sxiv:
  36. q Quit sxiv
  37. Escape Quit sxiv and return an exit value of 2 (useful for scripting)
  38. n,Space Go to the next image
  39. p,Backspace Go to the previous image
  40. g/G Go to first/last image
  41. [/] Go 10 images backward/forward
  42. +,= Zoom in
  43. - Zoom out
  44. h,j,k,l Pan image left/down/up/right (also with arrow keys)
  45. <,> Rotate image (counter-)clockwise by 90 degrees
  46. f Toggle fullscreen mode (requires an EWMH/NetWM compliant
  47. window manager)
  48. a Toggle anti-aliasing
  49. Additionally, sxiv can be controlled via the following mouse commands:
  50. Button1 Go to the next image
  51. Button3 Go to the previous image
  52. ScrollUp Pan image up
  53. ScrollDown Pan image down
  54. Shift+ScrollUp Pan image left
  55. Shift+ScrollDown Pan image right
  56. Ctrl+ScrollUp Zoom in
  57. Ctrl+ScrollDown Zoom out