A Simple X Image Viewer
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

README.md 2.1 KiB

14 lat temu
14 lat temu
14 lat temu
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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/sbin/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 has no useful command line options yet, but they will be added in the next
  24. releases. Right now, it simply displays all files given on the command line.
  25. Use the following keys to control sxiv:
  26. q Quit sxiv
  27. Escape Quit sxiv and return an exit value of 2 (useful for scripting)
  28. Space,n Go to the next image
  29. Backspace,p Go to the previous image
  30. g/G Go to first/last image
  31. [/] Go 10 images backward/forward
  32. +,= Zoom in
  33. - Zoom out
  34. h,j,k,l Pan image left/down/up/right
  35. <,> Rotate image (counter-)clockwise by 90 degrees
  36. f Toggle fullscreen mode (requires an EWMH/NetWM compliant
  37. window manager)
  38. a Toggle anti-aliasing
  39. Additionally, sxiv can be controlled via the following mouse commands:
  40. Button1 Go to the next image
  41. Button3 Go to the previous image
  42. ScrollUp Pan image up
  43. ScrollDown Pan image down
  44. Shift+ScrollUp Pan image left
  45. Shift+ScrollDown Pan image right
  46. Ctrl+ScrollUp Zoom in
  47. Ctrl+ScrollDown Zoom out