ranger.okubeni 1.2 KB

123456789101112131415161718192021222324252627282930
  1. Here are the optionnal deps which you can choose to install or not:
  2. - file: for determining file types
  3. - The python module chardet, in case of encoding detection problems
  4. - "sudo" to use the "run as root"-feature
  5. - w3m for previewing images in "true color".
  6. And, for enhanced file previews (with "scope.sh"):
  7. - img2txt (from caca-utils) for previewing images in ASCII-art
  8. - highlight for syntax highlighting of code
  9. - atool for previews of archives
  10. - lynx, w3m or elinks for previews of html pages
  11. - pdftotext for pdf previews
  12. - transmission-show for viewing bit-torrent information
  13. - mediainfo or exiftool for viewing information about media files
  14. Note: previewing images in "true color" is disabled by default. To enable it,
  15. first make sure you have w3m installed, then check that your terminal supports it.
  16. It was successfully tested with urxvt and xterm, while it did not work with
  17. gnome-terminal and st. Currently it does not work with tmux but with screen.
  18. Finally, add this line to your ~/.config/ranger/rc.conf and restart ranger:
  19. set preview_images true
  20. Note: to use custom file previews, you need ranger 1.3.1 or later, and a script
  21. that creates previews. Use the default script by typing:
  22. ranger --copy-config=scope