Ranger (file manager): Difference between revisions
GNU GPL-3.0-or-later |
Fix license (removed "or later" from GPL-3.0) |
||
(15 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
{{Short description|Text-based file manager}} |
|||
__NOTOC__ |
|||
{{lowercase title}} |
{{lowercase title}}__NOTOC__ |
||
{{Infobox software |
{{Infobox software |
||
| name = ranger |
| name = ranger |
||
| title = ranger |
| title = ranger |
||
| logo = Ranger logo.png |
| logo = Ranger logo.png |
||
| screenshot = Ranger-screenshot.png |
| screenshot = Ranger-screenshot.png |
||
| caption = |
| caption = |
||
| collapsible = |
| collapsible = |
||
| developer = Roman Zimbelmann<ref name="description">{{cite web|url=https://ranger.github.io/index.html|title= |
| developer = Toon Nolten, Wojciech Siewierski, Roman Zimbelmann<ref name="description">{{cite web|url=https://ranger.github.io/index.html|title=Ranger home page|work=Ranger - console file manager with VI key bindings|accessdate=21 April 2023}}</ref> |
||
| released = {{Start date and age|2010|06|09}}<ref name="description"/> |
| released = {{Start date and age|2010|06|09}}<ref name="description"/> |
||
| latest release version= |
| latest release version = {{wikidata|property|preferred|references|edit|Q18215973|P348|P548=Q2804309}} |
||
| latest release date = {{wikidata|qualifier|preferred|single|Q18215973|P348|P548=Q2804309|P577}} |
|||
| latest release date = {{Start date and age|2019|12|31}}<ref name="github-releases">{{cite web|url=https://github.com/ranger/ranger/releases|title=Releases - ranger/ranger|accessdate=2 October 2018|via=[[GitHub]]}}</ref> |
|||
| latest preview version |
| latest preview version = {{wikidata|property|preferred|references|edit|Q18215973|P348|P548=Q51930650}} |
||
| latest preview date = {{wikidata|qualifier|preferred|single|Q18215973|P348|P548=Q51930650|P577}} |
|||
| latest_preview_date = {{Release date and age|2017|12|3}}<ref name="github-releases" /> |
|||
| programming language = [[Python (programming language)|Python]] |
| programming language = [[Python (programming language)|Python]] |
||
| operating system = [[Linux]]<br/>[[FreeBSD]]<br/>[[OS X|OS X]] |
| operating system = [[Linux]]<br/>[[FreeBSD]]<br/>[[OS X|OS X]] |
||
| size = |
| size = 274 KB (tar.gz source)<ref name="download">{{cite web|url=https://ranger.github.io/download.html|title= Download |work=ranger - file manager|accessdate=28 April 2022}}</ref> |
||
| language = English only<ref>{{cite web|title=Ranger: le file-manager en python|url=http://arpinux.org/public/doc_arp_pdf/doc_arp-ranger.pdf|website=arpinux.org|accessdate=5 July 2014|language=French |
| language = English only<ref>{{cite web|title=Ranger: le file-manager en python|url=http://arpinux.org/public/doc_arp_pdf/doc_arp-ranger.pdf|website=arpinux.org|accessdate=5 July 2014|language=French|quote=[...] le seul défaut de ranger serait qu'il est anglophone…|archive-date=5 July 2014|archive-url=https://web.archive.org/web/20140705210329/http://arpinux.org/public/doc_arp_pdf/doc_arp-ranger.pdf|url-status=dead}}</ref> |
||
| genre = [[File manager]] |
| genre = [[File manager]] |
||
| license = [[GNU General Public License|GPL-3.0 |
| license = [[GNU General Public License|GPL-3.0]]<ref name="doc">{{cite web|url=https://ranger.github.io/download.html|title= Download |work=ranger - file manager|accessdate=2024-11-06}}</ref> |
||
}} |
}} |
||
'''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.<ref name=serverwatch>{{cite web|last1=Kemp|first1=Juliet|title=Ranger: Console-Based File Management|url=http://www.serverwatch.com/tutorials/article.php/3898746/Ranger-ConsoleBased-File-Management.htm|website=ServerWatch|publisher=IT Business|accessdate=18 June 2014|date=16 August 2010}}</ref> |
'''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.<ref name=serverwatch>{{cite web|last1=Kemp|first1=Juliet|title=Ranger: Console-Based File Management|url=http://www.serverwatch.com/tutorials/article.php/3898746/Ranger-ConsoleBased-File-Management.htm|website=ServerWatch|publisher=IT Business|accessdate=18 June 2014|date=16 August 2010}}</ref> |
||
Line 31: | Line 32: | ||
* Renaming multiple files at once |
* Renaming multiple files at once |
||
* Automatically determine file types and run them with correct programs |
* Automatically determine file types and run them with correct programs |
||
* Integration with External Programs |
|||
* Change the directory of your shell after exiting ranger |
|||
* Shell directory changing after exit |
|||
* Tabs, bookmarks |
* Tabs, bookmarks and mouse support |
||
* True-color image previews |
* True-color image previews |
||
* Video thumbnails |
* Video thumbnails |
||
Line 40: | Line 42: | ||
=== Configuration === |
=== 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 {{mono|ranger/config/rc.conf}} configuration file, which is located in {{mono|$HOME/.config/}} by default.<ref name=mylinuxbook>{{cite web|last1=Arora|first1=Himanshu|title=Ranger – A Text Based File Manager For Command Line Users|url=http://mylinuxbook.com/ranger-command-line-file-manager/|website=MyLinuxBook|accessdate=18 June 2014|date=5 September 2013}}</ref> |
ranger borrows its keybindings from [[Vi (text editor)|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 {{mono|ranger/config/rc.conf}} configuration file, which is located in {{mono|$HOME/.config/}} by default.<ref name=mylinuxbook>{{cite web|last1=Arora|first1=Himanshu|title=Ranger – A Text Based File Manager For Command Line Users|url=http://mylinuxbook.com/ranger-command-line-file-manager/|website=MyLinuxBook|accessdate=18 June 2014|date=5 September 2013}}</ref> |
||
=== Comparison with other file managers === |
=== Comparison with other file managers === |
||
Due to its use of the [[Miller columns]] layout, ranger has been compared to [[Finder (software)|Finder]],<ref name=bloerg>{{cite web|last1=Vogelgesang|first1=Matthias|title=Ranger File Manager|url=http://bloerg.net/2012/10/17/ranger-file-manager.html|website=Bloerg|accessdate=18 June 2014|date=17 October 2012|quote=the first thing you will notice is a window layout similar to MacOS’ finder}}</ref><ref name="onethingwell">{{cite web|last1=Mottram|first1=Jack|title=Ranger|url=http://onethingwell.org/post/561436185/ranger|website=One Thing Well|accessdate=18 June 2014|date=30 April 2010}}</ref> 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]].<ref name=fcm1>{{cite journal|last1=Hartnell|first1=Brian|title=Directory Opus|journal=Full Circle Magazine|date=March 2012|issue=59|page=42|url=http://dl.fullcirclemagazine.org/issue59_fr.pdf|accessdate=18 June 2014|language=French |
Due to its use of the [[Miller columns]] layout, ranger has been compared to [[Finder (software)|Finder]],<ref name=bloerg>{{cite web|last1=Vogelgesang|first1=Matthias|title=Ranger File Manager|url=http://bloerg.net/2012/10/17/ranger-file-manager.html|website=Bloerg|accessdate=18 June 2014|date=17 October 2012|quote=the first thing you will notice is a window layout similar to MacOS’ finder}}</ref><ref name="onethingwell">{{cite web|last1=Mottram|first1=Jack|title=Ranger|url=http://onethingwell.org/post/561436185/ranger|website=One Thing Well|accessdate=18 June 2014|date=30 April 2010}}</ref> 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]].<ref name=fcm1>{{cite journal|last1=Hartnell|first1=Brian|title=Directory Opus|journal=Full Circle Magazine|date=March 2012|issue=59|page=42|url=http://dl.fullcirclemagazine.org/issue59_fr.pdf|accessdate=18 June 2014|language=French}}</ref><ref name=fcm2>{{cite journal|last1=Beckers|first1=Ludo|title=Directory Opus|journal=Full Circle Magazine|date=April 2012|issue=60|page=43|url=http://dl.fullcirclemagazine.org/issue59_fr.pdf|accessdate=18 June 2014|language=French}}</ref> ranger shares similarities with other text-based file managers including [[Midnight Commander]], from which it borrowed its [[function key]] keyboard shortcuts, and with {{Proper name|vifm}}, which also borrows features from [[Vi (text editor)|vi]] and [[Mutt (email client)|Mutt]]. In addition, most [[GNU Core Utilities|core utilities]] related to file management (cd, ls, rm, mv, ln, touch, etc.) are available from within ranger's distinct command language layer.<ref>{{cite web|last1=Bezroukov|first1=Dr. Nikolai|title=OFM2012 -- Cutting Edge Features of Orthodox File Managers|url=http://www.softpanorama.org/OFM/Standards/ofm_standard2012.shtml#Distinct_command_layer_and_usage_of_scripting_language|website=Softpanorama|accessdate=18 June 2014|date=November 2012}}</ref> |
||
File browser with a similar text user interface include ''rover''<ref>https://lecram.github.io/p/rover/</ref> and ''nnn''.<ref>https://github.com/jarun/nnn</ref> |
File browser with a similar text user interface include ''rover''<ref>{{Cite web|url=https://lecram.github.io/p/rover/|title=Rover -- simple file browser for the terminal}}</ref> and ''nnn''.<ref>{{Cite web|url=https://github.com/jarun/nnn|title = Jarun/NNN| website=[[GitHub]] |date = 26 October 2021}}</ref> |
||
== Reception == |
== 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%).<ref>{{cite web|title=LnF Awards 2012 - The best Light & Fast apps of 2012|url=https://docs.google.com/spreadsheet/viewanalytics?formkey=dFFyLTNZNGhpNUVOdTQ4dF9sMEtlUWc6MQ#title#18|website=bbs.archlinux.org|accessdate=11 June 2014}}</ref> ranger also received 0.9% of votes in the "Best File Manager" category in a 2013 survey by [[Linux Journal]].<ref name=linuxjournal>{{cite journal|author1=Shawn Powers|title=Readers' Choice Awards 2013|journal=Linux Journal|date=December 2013|issue=236|page=79|url=http://www.linuxjournaldigital.com/linuxjournal/december_2013?pg=4#pg79|accessdate=17 June 2014|url-access=subscription }}</ref> LinuxLinks named it one of the "10 Best Orthodox Free Linux File Managers", and one of its "5 Top Console Linux File Managers".<ref name=linuxlinks-orthodox>{{cite web|title=10 Best Orthodox Free Linux File Managers|url=http://www.linuxlinks.com/article/2012053114312121/OrthodoxFileManagers.html|website=LinuxLinks|accessdate=5 July 2014}}</ref><ref name=linuxlinks-console>{{cite web|title=5 Top Console Linux File Managers|url=http://www.linuxlinks.com/article/20121006063839167/ConsoleFileManagers.html|website=LinuxLinks|accessdate=5 July 2014}}</ref> It is often cited in magazine articles and software blogs for [[power user]]s as an illustration of the power and versatility of the command line interface.<ref name=csdn>{{cite web|author1=陈皓|title=28个Unix/Linux的命令行神器|url=http://www.csdn.net/article/2012-07-11/2807272/1|website=Chinese Software Developer Network (CSDN)|accessdate=18 June 2014|language=Chinese|date=11 July 2012}}</ref> |
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%).<ref>{{cite web|title=LnF Awards 2012 - The best Light & Fast apps of 2012|url=https://docs.google.com/spreadsheet/viewanalytics?formkey=dFFyLTNZNGhpNUVOdTQ4dF9sMEtlUWc6MQ#title#18|website=bbs.archlinux.org|accessdate=11 June 2014}}</ref> ranger also received 0.9% of votes in the "Best File Manager" category in a 2013 survey by [[Linux Journal]].<ref name=linuxjournal>{{cite journal|author1=[[Shawn Powers]]|title=Readers' Choice Awards 2013|journal=Linux Journal|date=December 2013|issue=236|page=79|url=http://www.linuxjournaldigital.com/linuxjournal/december_2013?pg=4#pg79|accessdate=17 June 2014|url-access=subscription }}</ref> LinuxLinks named it one of the "10 Best Orthodox Free Linux File Managers", and one of its "5 Top Console Linux File Managers".<ref name=linuxlinks-orthodox>{{cite web|title=10 Best Orthodox Free Linux File Managers|url=http://www.linuxlinks.com/article/2012053114312121/OrthodoxFileManagers.html|website=LinuxLinks|accessdate=5 July 2014}}</ref><ref name=linuxlinks-console>{{cite web|title=5 Top Console Linux File Managers|url=http://www.linuxlinks.com/article/20121006063839167/ConsoleFileManagers.html|website=LinuxLinks|accessdate=5 July 2014}}</ref> It is often cited in magazine articles and software blogs for [[power user]]s as an illustration of the power and versatility of the command line interface.<ref name=csdn>{{cite web|author1=陈皓|title=28个Unix/Linux的命令行神器|url=http://www.csdn.net/article/2012-07-11/2807272/1|website=Chinese Software Developer Network (CSDN)|accessdate=18 June 2014|language=Chinese|date=11 July 2012}}</ref> |
||
== See also == |
== See also == |
||
Line 67: | Line 69: | ||
[[Category:Free software programmed in Python]] |
[[Category:Free software programmed in Python]] |
||
[[Category:Free file managers]] |
[[Category:Free file managers]] |
||
[[Category: |
[[Category:Free software that uses ncurses]] |
||
[[Category:Console applications]] |
[[Category:Console applications]] |
||
[[Category:Linux software]] |
[[Category:Linux software]] |
Latest revision as of 21:02, 6 November 2024
Developer(s) | Toon Nolten, Wojciech Siewierski, Roman Zimbelmann[1] |
---|---|
Initial release | June 9, 2010[1] |
Stable release | 1.9.4[2]
/ 4 November 2024 |
Repository | |
Written in | Python |
Operating system | Linux FreeBSD OS X |
Size | 274 KB (tar.gz source)[3] |
Available in | English only[4] |
Type | File manager |
License | GPL-3.0[5] |
Website | ranger |
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.[6]
Features
[edit]- UTF-8 support
- Multi-column display (Miller columns)
- Preview of the selected file/directory
- Common file operations (create/chmod/copy/delete/...)
- VI-like console and hotkeys
- Renaming multiple files at once
- Automatically determine file types and run them with correct programs
- Integration with External Programs
- Shell directory changing after exit
- Tabs, bookmarks and mouse support
- True-color image previews
- Video thumbnails
Design
[edit]ranger is written in Python and the text-based interface uses ncurses.[7][8] 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.[5][9]
Configuration
[edit]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 ranger/config/rc.conf configuration file, which is located in $HOME/.config/ by default.[10]
Comparison with other file managers
[edit]Due to its use of the Miller columns layout, ranger has been compared to Finder,[11][12] 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.[13][14] ranger shares similarities with other text-based file managers including Midnight Commander, from which it borrowed its function key keyboard shortcuts, and with vifm, 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.[15] File browser with a similar text user interface include rover[16] and nnn.[17]
Reception
[edit]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%).[18] ranger also received 0.9% of votes in the "Best File Manager" category in a 2013 survey by Linux Journal.[19] LinuxLinks named it one of the "10 Best Orthodox Free Linux File Managers", and one of its "5 Top Console Linux File Managers".[20][21] 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.[22]
See also
[edit]References
[edit]- ^ a b "Ranger home page". Ranger - console file manager with VI key bindings. Retrieved 21 April 2023.
- ^ "Release 1.9.4". 4 November 2024. Retrieved 6 November 2024.
- ^ "Download". ranger - file manager. Retrieved 28 April 2022.
- ^ "Ranger: le file-manager en python" (PDF). arpinux.org (in French). Archived from the original (PDF) on 5 July 2014. Retrieved 5 July 2014.
[...] le seul défaut de ranger serait qu'il est anglophone…
- ^ a b "Download". ranger - file manager. Retrieved 2024-11-06.
- ^ Kemp, Juliet (16 August 2010). "Ranger: Console-Based File Management". ServerWatch. IT Business. Retrieved 18 June 2014.
- ^ Bezroukov, Dr. Nikolai. "History of Scripting Language based OFMs". Softpanorama. Retrieved 18 June 2014.
- ^ "Ranger". LinuxLinks. 31 May 2012. Retrieved 5 July 2014.
- ^ 黑日白月 (4 October 2010). "Ranger: 控制台下的文件管理器". LinuxTOY (in Chinese). Retrieved 18 June 2014.
- ^ Arora, Himanshu (5 September 2013). "Ranger – A Text Based File Manager For Command Line Users". MyLinuxBook. Retrieved 18 June 2014.
- ^ Vogelgesang, Matthias (17 October 2012). "Ranger File Manager". Bloerg. Retrieved 18 June 2014.
the first thing you will notice is a window layout similar to MacOS' finder
- ^ Mottram, Jack (30 April 2010). "Ranger". One Thing Well. Retrieved 18 June 2014.
- ^ Hartnell, Brian (March 2012). "Directory Opus" (PDF). Full Circle Magazine (in French) (59): 42. Retrieved 18 June 2014.
- ^ Beckers, Ludo (April 2012). "Directory Opus" (PDF). Full Circle Magazine (in French) (60): 43. Retrieved 18 June 2014.
- ^ Bezroukov, Dr. Nikolai (November 2012). "OFM2012 -- Cutting Edge Features of Orthodox File Managers". Softpanorama. Retrieved 18 June 2014.
- ^ "Rover -- simple file browser for the terminal".
- ^ "Jarun/NNN". GitHub. 26 October 2021.
- ^ "LnF Awards 2012 - The best Light & Fast apps of 2012". bbs.archlinux.org. Retrieved 11 June 2014.
- ^ Shawn Powers (December 2013). "Readers' Choice Awards 2013". Linux Journal (236): 79. Retrieved 17 June 2014.
- ^ "10 Best Orthodox Free Linux File Managers". LinuxLinks. Retrieved 5 July 2014.
- ^ "5 Top Console Linux File Managers". LinuxLinks. Retrieved 5 July 2014.
- ^ 陈皓 (11 July 2012). "28个Unix/Linux的命令行神器". Chinese Software Developer Network (CSDN) (in Chinese). Retrieved 18 June 2014.