Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ranger, a textbased filemanager
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
hut
n00b
n00b


Joined: 12 Mar 2010
Posts: 0

PostPosted: Fri Mar 12, 2010 8:47 pm    Post subject: Ranger, a textbased filemanager Reply with quote

Hi guys. I'm working on this project off and on for quite a while now and I think it entered a stage where other people might enjoy it as much as I do.

It's Ranger, a filemanager made for comfortable browsing with a text-based user interface. Multiple columns show you a preview and backview, VIM users will find the hotkeys intuitive, though most actions can also be done with arrow keys etc.

Everything's written in python and licensed under the GNU GPL v3.

Features:
* Multi-column display
* Preview of the selected file/directory
* Common file operations (create/chmod/copy/delete/...)
* Quickly find files or text inside files
* VIM-like console and hotkeys
* Open files in external programs
* Mouse support
* Change the directory of your shell after exiting ranger
* Bookmarks

Dependencies:
* A Unix-like Operating System
* Python 2.6 or 3.1
* Python curses module (often but not always included with Python)

And here's a screenshot:
http://download.savannah.gnu.org/releases-noredirect/ranger/screenshot1.png

Check out the project page!
https://savannah.nongnu.org/projects/ranger/

Submit bug reports here (or just post at this forum):
https://savannah.nongnu.org/bugs/?func=additem&group=ranger

Get the git repository by typing:
git clone git://git.sv.gnu.org/ranger.git

___________________________________

I advise you to read the README and INSTALL file, but for the lazy, here's a download link and quickstart instructions:
http://git.savannah.gnu.org/cgit/ranger.git/snapshot/ranger-master.tar.gz

Code:
cd /the/download/path/
tar xf ranger-master.tar.gz && cd ranger-master
./ranger.py --clean

(the --clean option makes it leave no traces on your system.)

There you go. Press ? for help.

Thanks for reading. Of course I would appreciate any comments and contributions.
Back to top
View user's profile Send private message
doubleagent
Guru
Guru


Joined: 15 Apr 2005
Posts: 444
Location: 127.0.0.1

PostPosted: Fri Mar 12, 2010 10:30 pm    Post subject: Reply with quote

Keep up the excellent work.
_________________
shickapooka wrote:
i think they programmed [otw] based on a right-wing jewish-nigger-nazi, his gay, retarded, left-wing love slave with webbed feet, and their three headed cat that poops uncontrollably. the cat is also an apple fanboy
Back to top
View user's profile Send private message
norg
Tux's lil' helper
Tux's lil' helper


Joined: 23 Aug 2010
Posts: 98
Location: Augsburg (Germany)

PostPosted: Tue Jun 07, 2011 12:06 pm    Post subject: Reply with quote

Just started using it, great file manager :)
Back to top
View user's profile Send private message
jabbat
n00b
n00b


Joined: 23 Mar 2013
Posts: 2

PostPosted: Sat Mar 23, 2013 6:14 pm    Post subject: gvim tabs Reply with quote

Hi hut!

Thanks for your project, I find it awesome :)
To make ranger open text files in new gvim tabs, the only working option I have found so far is to add script with gvim options and export EDITOR in my .zshrc:

~/bin/gvim:
#!/bin/bash
/usr/bin/gvim --remote-tab-silent $2 || /usr/bin/gvim $2

~/.zshrc:
export EDITOR=/home/jabbat/bin/gvim

Thanks,
Alexey.
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1553
Location: U.S.A.

PostPosted: Sat Mar 23, 2013 7:48 pm    Post subject: Reply with quote

File managers are unnecessary bloatware for noob pussies. :P
Back to top
View user's profile Send private message
patrix_neo
Guru
Guru


Joined: 08 Jan 2004
Posts: 372
Location: Svedala

PostPosted: Sat Mar 23, 2013 8:06 pm    Post subject: Re: Ranger, a textbased filemanager Reply with quote

hut wrote:
Hi guys. I'm working on this project off and on for quite a while now and I think it entered a stage where other people might enjoy it as much as I do.

It's Ranger, a filemanager made for comfortable browsing with a text-based user interface. Multiple columns show you a preview and backview, VIM users will find the hotkeys intuitive, though most actions can also be done with arrow keys etc.

Everything's written in python and licensed under the GNU GPL v3.

Features:
* Multi-column display
* Preview of the selected file/directory
* Common file operations (create/chmod/copy/delete/...)
* Quickly find files or text inside files
* VIM-like console and hotkeys
* Open files in external programs
* Mouse support
* Change the directory of your shell after exiting ranger
* Bookmarks

Dependencies:
* A Unix-like Operating System
* Python 2.6 or 3.1
* Python curses module (often but not always included with Python)

And here's a screenshot:
http://download.savannah.gnu.org/releases-noredirect/ranger/screenshot1.png

Check out the project page!
https://savannah.nongnu.org/projects/ranger/

Submit bug reports here (or just post at this forum):
https://savannah.nongnu.org/bugs/?func=additem&group=ranger

Get the git repository by typing:
git clone git://git.sv.gnu.org/ranger.git

___________________________________

I advise you to read the README and INSTALL file, but for the lazy, here's a download link and quickstart instructions:
http://git.savannah.gnu.org/cgit/ranger.git/snapshot/ranger-master.tar.gz

Code:
cd /the/download/path/
tar xf ranger-master.tar.gz && cd ranger-master
./ranger.py --clean

(the --clean option makes it leave no traces on your system.)

There you go. Press ? for help.

Thanks for reading. Of course I would appreciate any comments and contributions.

python? really? want to rely on a high layer like python?
[edit] I would love a Midnight Commander though in C
Back to top
View user's profile Send private message
LoTeK
Apprentice
Apprentice


Joined: 26 Jul 2012
Posts: 270

PostPosted: Sat Mar 23, 2013 8:40 pm    Post subject: Reply with quote

BoneKracker wrote:
File managers are unnecessary bloatware for noob pussies. :P

:lol:

yes and therefore every programmer (talented or not) should code important stuff, like a new windowing system, or a cool WM like dwm and euclid-wm, or a microkernel. Or the programmer should try to improve gcc or even graphical stuff, but not a file manager or a GUI-program to configure a wallpaper :P

@hut
don't be offended!! at least the screenshot looks like the best, minimalistic file manager I've ever seen :)
_________________
"I want to see gamma rays! I want to hear X-rays! Do you see the absurdity of what I am? I can't even express these things properly because I have to conceptualize complex ideas in this stupid limiting spoken language!"
Back to top
View user's profile Send private message
Dr.Willy
Guru
Guru


Joined: 15 Jul 2007
Posts: 318
Location: NRW, Germany

PostPosted: Sat Mar 23, 2013 9:00 pm    Post subject: Re: Ranger, a textbased filemanager Reply with quote

Guys, the OP is 3 years old.


BoneKracker wrote:
File managers are unnecessary bloatware for noob pussies. :P

Begone foul creature. Ranger is the awesomest thing since the invention of cursed based applications.

patrix_neo wrote:
I would love a Midnight Commander though in C

I would love a Midnight Commander that doesn't fucking suck. Seriously.
Double-paned file managers have a future, mc does not.
Back to top
View user's profile Send private message
patrix_neo
Guru
Guru


Joined: 08 Jan 2004
Posts: 372
Location: Svedala

PostPosted: Sat Mar 23, 2013 9:28 pm    Post subject: Re: Ranger, a textbased filemanager Reply with quote

Dr.Willy wrote:
Guys, the OP is 3 years old.


BoneKracker wrote:
File managers are unnecessary bloatware for noob pussies. :P

Begone foul creature. Ranger is the awesomest thing since the invention of cursed based applications.

patrix_neo wrote:
I would love a Midnight Commander though in C

I would love a Midnight Commander that doesn't fucking suck. Seriously.
Double-paned file managers have a future, mc does not.


Heresey! Blasphemy! I would love MC with udev support and systemd support! :)
[edit] I do love ncursed apps.
Back to top
View user's profile Send private message
LoTeK
Apprentice
Apprentice


Joined: 26 Jul 2012
Posts: 270

PostPosted: Sat Mar 23, 2013 10:11 pm    Post subject: Reply with quote

Quote:
Guys, the OP is 3 years old.

lol, I haven't noticed it... :oops:
_________________
"I want to see gamma rays! I want to hear X-rays! Do you see the absurdity of what I am? I can't even express these things properly because I have to conceptualize complex ideas in this stupid limiting spoken language!"
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16090
Location: Colorado

PostPosted: Sat Mar 23, 2013 10:31 pm    Post subject: Re: Ranger, a textbased filemanager Reply with quote

Dr.Willy wrote:
I would love a Midnight Commander that doesn't fucking suck. Seriously.
Double-paned file managers have a future, mc does not.
Imagine what he could do if you didn't coddle him!

What's wrong with mc that wouldn't be present in a double-paned alternative?


patrix_neo wrote:
I would love a Midnight Commander though in C
On principle, or some other reason?
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
Dr.Willy
Guru
Guru


Joined: 15 Jul 2007
Posts: 318
Location: NRW, Germany

PostPosted: Sat Mar 23, 2013 11:19 pm    Post subject: Re: Ranger, a textbased filemanager Reply with quote

pjp wrote:
Imagine what he could do if you didn't coddle him!

…I don't get it.

pjp wrote:
What's wrong with mc that wouldn't be present in a double-paned alternative?

Mhhh.
I think it comes down to this: mc is a clone of an application that wasn't designed to be used in a unix/keyboard environment and and makes just about every possible mistake in the process of providing it's functionality.
Like the command line that is always "open" in mc. Thats useful if you don't have direct access to a shell.
But in linux you do. So if you use mc as a "graphical" file manager, all it does is get in the way of hotkeys. On the other hand that shell doesn't even offer tab-completion. Congratulations, you got the worst of both worlds.
mc is also terrible in terms of integrating useful programs (aka being "unixy"). Why would a program ship a shitty file viewer and a shitty editor? You could just use less and $EDITOR. Stupid people making decisions.
They implement stuff like vfs modules so you can access ftp sites and smb shares. Ever heard of ftpfs? smbmount? Well the mc dev's apparently didn't.
Instead they make pretty dialogs to change the options by clicking curses-buttons. Useful feature that.
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1553
Location: U.S.A.

PostPosted: Sun Mar 24, 2013 1:11 am    Post subject: Re: Ranger, a textbased filemanager Reply with quote

Dr.Willy wrote:
Guys, the OP is 3 years old.

jabbat is a necrophiliac.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16090
Location: Colorado

PostPosted: Sun Mar 24, 2013 3:23 am    Post subject: Re: Ranger, a textbased filemanager Reply with quote

Dr.Willy wrote:
pjp wrote:
Imagine what he could do if you didn't coddle him!

…I don't get it.
It was supposed to be a joke regarding the poster's age. Didn't work out too well. But, hey, that's the life of a comic... testing and refining.

Dr.Willy wrote:
Useful feature that.
I've never really used mc much, so thanks. I can see how those features could be improved.
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
jabbat
n00b
n00b


Joined: 23 Mar 2013
Posts: 2

PostPosted: Sun Mar 24, 2013 9:08 am    Post subject: Reply with quote

Wow...

I am pretty sure you should use a tool that suites your needs. Ever.
My needs are:

1. Minimalistic
2. Vim-syntax and good shortcuts
3. Shows directory tree and file context like img or source etc (at least it should but doesn't)
4. Easy to configure
5. Shell is by hand

But those are not your reasons, huh?

btw... 3 years? Based on changelog it is fresh and smelly :D
Sure, I don't care what the underlying language is. Why should I?
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 749
Location: Germany

PostPosted: Sun Mar 24, 2013 10:02 am    Post subject: Reply with quote

jabbat wrote:

btw... 3 years? Based on changelog it is fresh and smelly :D

Posted Friday, Mar 12 2010.
Smelly? You bet!
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1553
Location: U.S.A.

PostPosted: Sun Mar 24, 2013 3:04 pm    Post subject: Reply with quote

Fresh, like a steaming turd on the frosty ground of a spring morning.
Back to top
View user's profile Send private message
patrix_neo
Guru
Guru


Joined: 08 Jan 2004
Posts: 372
Location: Svedala

PostPosted: Sun Mar 24, 2013 7:00 pm    Post subject: Re: Ranger, a textbased filemanager Reply with quote

pjp wrote:

patrix_neo wrote:
I would love a Midnight Commander though in C
On principle, or some other reason?


Well, I do not like to be dependent on layers like python/perl. C is more in my comfort zone when it comes to system centric software. I find it easier to extend a programs functionality via C, but I can be mistaken here.
And midnight commander was great.

Anyways, soon we will have quantum tech, so whatever the lang. used is not that important. :)
Back to top
View user's profile Send private message
LoTeK
Apprentice
Apprentice


Joined: 26 Jul 2012
Posts: 270

PostPosted: Sun Mar 24, 2013 7:38 pm    Post subject: Reply with quote

Quote:
Well, I do not like to be dependent on layers like python/perl. C is more in my comfort zone when it comes to system centric software. I find it easier to extend a programs functionality via C, but I can be mistaken here.


++

I want a system that is as simple as possible and C is inevitable but python/perl are not necessary. I guess there are good reasons for using those languages, although I don't know them :)

It's more complex to know 4 different syntax (bash, C, perl, python) than 2 and on modern computers it's not slow to compile C programs...

Quote:
Anyways, soon we will have quantum tech, so whatever the lang. used is not that important. :)

??

if you mean quantum computers than it's afaik not even clear if it's possible to build one at room-temperature. Moreover they are of course way faster than current computers but one can prove that those machines are not more powerfull than current machines (in the sense that QM-machines can compute something a conventional computer can't)

And why should the language not be important anymore?
_________________
"I want to see gamma rays! I want to hear X-rays! Do you see the absurdity of what I am? I can't even express these things properly because I have to conceptualize complex ideas in this stupid limiting spoken language!"


Last edited by LoTeK on Sun Mar 24, 2013 7:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dr.Willy
Guru
Guru


Joined: 15 Jul 2007
Posts: 318
Location: NRW, Germany

PostPosted: Sun Mar 24, 2013 7:38 pm    Post subject: Re: Ranger, a textbased filemanager Reply with quote

patrix_neo wrote:
C is more in my comfort zone when it comes to system centric software.

…but ranger (and mc) are as userspace as it gets.

patrix_neo wrote:
And midnight commander was great.

Really? When?
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1553
Location: U.S.A.

PostPosted: Sun Mar 24, 2013 8:06 pm    Post subject: Reply with quote

Windows Explorer started as a rip-off of Norton Commander and Xtree. I remember.

In fact, Windows itself was originally viewed as a competitor to Norton Desktop, which bundled Norton Commander and some other utilities to provide a basic graphical environment one could use to interact with the computer, launch programs, work with files, etc. :lol:

Windows started off as something like MC, and ended up as what it is today, in a classic case of Poettering-style "vertical integration". Embrace and extend! Got to sleep and wake up in 20 years like Rip Van Winkle, and everybody will be running around obeying the commands of the Government through something called "System D" which runs on a chipset embedded in various parts of their bodies. :lol:
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16090
Location: Colorado

PostPosted: Sun Mar 24, 2013 8:49 pm    Post subject: Re: Ranger, a textbased filemanager Reply with quote

patrix_neo wrote:
I do not like to be dependent on layers like python/perl.
LoTeK wrote:
python/perl are not necessary. I guess there are good reasons for using those languages, although I don't know them :)
I can understand wanting the core functions of a system to be available with minimal dependencies, but a powerful scripting language sees to be part of that IMO. The infamous "one liner" is a good example. And once people get something working, the importance of doing other things usually outweighs rewriting to C, etc.
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
LoTeK
Apprentice
Apprentice


Joined: 26 Jul 2012
Posts: 270

PostPosted: Sun Mar 24, 2013 8:56 pm    Post subject: Reply with quote

Quote:
I can understand wanting the core functions of a system to be available with minimal dependencies, but a powerful scripting language sees to be part of that IMO. The infamous "one liner" is a good example. And once people get something working, the importance of doing other things usually outweighs rewriting to C, etc.

I see, but why are two such languages needed?

Wouldn't it be better to just choose one of them?
_________________
"I want to see gamma rays! I want to hear X-rays! Do you see the absurdity of what I am? I can't even express these things properly because I have to conceptualize complex ideas in this stupid limiting spoken language!"
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16090
Location: Colorado

PostPosted: Sun Mar 24, 2013 9:35 pm    Post subject: Reply with quote

Two? I'd include all of the shells and ruby. And I'm probably forgetting something obvious.

Why? Why aren't we all using Windows? Or Mac? Or a single distro? Why C++, C#. Heck, why not keep it simple and go with Assembly. It's faster.

To be a bit more specific, each solves a "problem" (or set) as perceived by its creator(s).
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
LoTeK
Apprentice
Apprentice


Joined: 26 Jul 2012
Posts: 270

PostPosted: Sun Mar 24, 2013 9:55 pm    Post subject: Reply with quote

Quote:
Why? Why aren't we all using Windows?

because it's not open, so you can't really learn anything, therefore not interesting.

Quote:
Or Mac?

because it's even worse than windows.

Quote:
Or a single distro?

At the moment I'm using only Gentoo. I've tried openbsd for my yeeloong, but I think it's better to concentrate on a single distribution (at least until you can say "you've mastered it").

Quote:
Why C++

because there is the great C-language and there is the also great O-O thinking and then the attempt to combine those two things is obvious and justified.

Quote:
C#

good question. I really can't answer it, maybe because M$ don't like it that C comes from Unix. If I would be able to choose one language that will be extinct forever I'd choose C#.

Quote:
Heck, why not keep it simple and go with Assembly. It's faster.

yes, and moreover you can learn how a computer works. like the quote from some user on this forum: "computer works in gotos etc. abstract data structures etc is mental mastrubation" :)

Quote:
To be a bit more specific, each solves a "problem" (or set) as perceived by its creator(s).

Although this makes sense to me, it's not the case that computer's are able to solve any "real interesting problems" and maybe the computational power has increased and some other progresses have been made, but in the end it's "quite primitive" what computers do and if we need 1000 languages and such complex systems, how will we be able to build some real advanced stuff (like the machine in person of interest :) )
_________________
"I want to see gamma rays! I want to hear X-rays! Do you see the absurdity of what I am? I can't even express these things properly because I have to conceptualize complex ideas in this stupid limiting spoken language!"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Off the Wall All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum