Ranger (file manager) explained

ranger
ranger
Developer:Toon Nolten, Wojciech Siewierski, Roman Zimbelmann[1]
Programming Language:Python
Operating System:Linux
FreeBSD
OS X
Size:274 KB (tar.gz source)[2]
Language:English only[3]
Genre:File manager
License:GPL-3.0-or-later[4]

ranger is a free and open-source file manager with text-based user interface for Unix-like systems. It is developed by Roman Zimbelmann and licensed under the terms of the GNU General Public License. The program can accomplish file management tasks with a few keystrokes, and mouse input is optional. In conjunction with extensions including the rifle file opener and scope.sh, ranger can be scripted to open files with pre-defined programs, and to display a preview of the selected file by calling external programs.[5]

Features

Design

ranger is written in Python and the text-based interface uses ncurses.[6] [7] The program makes use of the Miller columns visualization technique to display folder structures in three columns, whose default width ratios are 1:3:4. The currently active folder is always displayed in the central column, while folders higher up in the hierarchy are on the left. The rightmost column is used for displaying deeper folders and file previews.[4] [8]

Configuration

ranger borrows its keybindings from vi where possible, but also accepts mouse buttons and shares a few keybindings with GNU Readline and Midnight Commander. All configurable keybindings are defined in the configuration file, which is located in by default.[9]

Comparison with other file managers

Due to its use of the Miller columns layout, ranger has been compared to Finder,[10] [11] the default file manager used on the classic Mac OS and macOS operating systems. It has also been suggested as a viable alternative to users accustomed to Directory Opus.[12] [13] ranger shares similarities with other text-based file managers including Midnight Commander, from which it borrowed its function key keyboard shortcuts, and with, which also borrows features from vi and Mutt. In addition, most core utilities related to file management (cd, ls, rm, mv, ln, touch, etc.) are available from within ranger's distinct command language layer.[14] File browser with a similar text user interface include rover[15] and nnn.[16]

Reception

A 2012 survey among Arch Linux users found that ranger was the most used text-based file manager among respondents, surpassing Midnight Commander, the second most widely used text-based file manager, by a factor of two and a half (20% to 8%).[17] ranger also received 0.9% of votes in the "Best File Manager" category in a 2013 survey by Linux Journal.[18] LinuxLinks named it one of the "10 Best Orthodox Free Linux File Managers", and one of its "5 Top Console Linux File Managers".[19] [20] It is often cited in magazine articles and software blogs for power users as an illustration of the power and versatility of the command line interface.[21]

See also

External links

Notes and References

  1. Web site: Ranger home page. Ranger - console file manager with VI key bindings. 21 April 2023.
  2. Web site: Download . ranger - file manager. 28 April 2022.
  3. Web site: Ranger: le file-manager en python. arpinux.org. 5 July 2014. French. [...] le seul défaut de ranger serait qu'il est anglophone…. 5 July 2014. https://web.archive.org/web/20140705210329/http://arpinux.org/public/doc_arp_pdf/doc_arp-ranger.pdf. dead.
  4. Web site: ranger - visual file manager . ranger(1) manpage. 13 June 2014.
  5. Web site: Kemp. Juliet. Ranger: Console-Based File Management. ServerWatch. IT Business. 18 June 2014. 16 August 2010.
  6. Web site: Bezroukov. Dr. Nikolai. History of Scripting Language based OFMs. Softpanorama. 18 June 2014.
  7. Web site: Ranger. LinuxLinks. 5 July 2014. 31 May 2012.
  8. Web site: 黑日白月. Ranger: 控制台下的文件管理器. LinuxTOY. 18 June 2014. Chinese. 4 October 2010.
  9. Web site: Arora. Himanshu. Ranger – A Text Based File Manager For Command Line Users. MyLinuxBook. 18 June 2014. 5 September 2013.
  10. Web site: Vogelgesang. Matthias. Ranger File Manager. Bloerg. 18 June 2014. 17 October 2012. the first thing you will notice is a window layout similar to MacOS’ finder.
  11. Web site: Mottram. Jack. Ranger. One Thing Well. 18 June 2014. 30 April 2010.
  12. Hartnell. Brian. Directory Opus. Full Circle Magazine. March 2012. 59. 42. 18 June 2014. French.
  13. Beckers. Ludo. Directory Opus. Full Circle Magazine. April 2012. 60. 43. 18 June 2014. French.
  14. Web site: Bezroukov. Dr. Nikolai. OFM2012 -- Cutting Edge Features of Orthodox File Managers. Softpanorama. 18 June 2014. November 2012.
  15. Web site: Rover -- simple file browser for the terminal.
  16. Web site: Jarun/NNN. . 26 October 2021.
  17. Web site: LnF Awards 2012 - The best Light & Fast apps of 2012. bbs.archlinux.org. 11 June 2014.
  18. Shawn Powers. Readers' Choice Awards 2013. Linux Journal. December 2013. 236. 79. 17 June 2014. subscription .
  19. Web site: 10 Best Orthodox Free Linux File Managers. LinuxLinks. 5 July 2014.
  20. Web site: 5 Top Console Linux File Managers. LinuxLinks. 5 July 2014.
  21. Web site: 陈皓. 28个Unix/Linux的命令行神器. Chinese Software Developer Network (CSDN). 18 June 2014. Chinese. 11 July 2012.