You are not logged in.

#526 2010-10-05 15:11:45

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Ranger, a textbased filemanager

Hut, you have done an incredible job with this file manager. That being said, I hereby nominate you to write the next console email client, which will of course be a mutt-killer tongue

Doesn't need the sending or getting mail part builtin -- lots of tools for that (getmail, msmtp, etc.), just an ability to quickly deal with large volumes of mail (in the same slick and efficient way ranger deals with files) and play nice with offlineimap and the various getmail/sendmail tools.

You'll be even more famous!

Scott

Offline

#527 2010-10-05 15:44:20

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Ranger, a textbased filemanager

firecat53 wrote:

Hut, you have done an incredible job with this file manager. That being said, I hereby nominate you to write the next console email client, which will of course be a mutt-killer tongue

Doesn't need the sending or getting mail part builtin -- lots of tools for that (getmail, msmtp, etc.), just an ability to quickly deal with large volumes of mail (in the same slick and efficient way ranger deals with files) and play nice with offlineimap and the various getmail/sendmail tools.

You'll be even more famous!

Scott

Hahaaaa, +1 big_smile big_smile

Offline

#528 2010-10-05 18:37:02

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

vi3dr0 wrote:

Ok, here I go with another idea:

How about some filter-mode indicator? Something like that (displaying filter used at the moment) somewhere at the bottom (status bar? ).

What do you think of that?

How about:

map("x", fm.execute_console("eval fm.notify('Filter: ' + (fm.env.cwd.filter or 'None'))))

I dunno, there isn't enough room for everything in the statusbar.
Btw. may I ask what you use the filter for? Because I use it like once in 3 months, e.g. when I'm interested in files of a particular type (but most of the time I just use "ot" for that now). I'd like to know what else it's good for.

firecat53 wrote:

Hut, you have done an incredible job with this file manager. That being said, I hereby nominate you to write the next console email client, which will of course be a mutt-killer tongue

Doesn't need the sending or getting mail part builtin -- lots of tools for that (getmail, msmtp, etc.), just an ability to quickly deal with large volumes of mail (in the same slick and efficient way ranger deals with files) and play nice with offlineimap and the various getmail/sendmail tools.

You'll be even more famous!

Scott

Why don't you write a script that converts large volumes of mail into a tree structure on the file system and use ranger to browse it? (Sending mails is trivial anyway.) You'll be even more famous compared to a point in time when you were less famous.
(And I'd use it too =P, mutt is somewhat uncomfortable indeed)

Last edited by hut (2010-10-05 20:49:18)


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#529 2010-10-06 00:18:20

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Ranger, a textbased filemanager

hi Hut

I use filtering alot, IE when i want to quickly find avi files in my dl folder, when quickly accessing pdf files for uni work etc... really useful
when you have folders with a lot of different file types. i would as i stated before really appreciate a filter indicator smile

thx

zeltak

Offline

#530 2010-10-06 00:47:43

vi3dr0
Member
From: Poland
Registered: 2009-03-22
Posts: 208

Re: Ranger, a textbased filemanager

hut wrote:

How about:

map("x", fm.execute_console("eval fm.notify('Filter: ' + (fm.env.cwd.filter or 'None'))))

I dunno, there isn't enough room for everything in the statusbar.
Btw. may I ask what you use the filter for? Because I use it like once in 3 months, e.g. when I'm interested in files of a particular type (but most of the time I just use "ot" for that now). I'd like to know what else it's good for.

Excuse me, but what should I do with this piece of code? tongue trying to paste it with :eval command inside ranger clearly makes no effect.

And about filter, I got used to it while using Dolphin. It's also "dynamic" (don't need to confirm with return after every letter entered), and I use it really ofren. Filtering filetypes is one purpose, but for me it's also really helpful when navigating through big folders, sorting doesn't always solve the case.

I attach Dolphin's screenshot in case you don't use it. I believe something similiar would fit without issues in statusbar.

thumb128_454140ca1196c72010_10_06_020741_14.jpg
thumb128_454139155774a42010_10_06_020005_14.jpg


Thinkpad T61p : T7700 | 4GB RAM | nVidia FX 570M | Intel 4965
Arch64 @ Openbox

Offline

#531 2010-10-06 01:36:09

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

vi3dr0 wrote:

thumb128_454139155774a42010_10_06_020005_14.jpg

Of course you have plenty of space if you run ranger in full screen :-X
tNXFqMg

vi3dr0 wrote:
hut wrote:

How about:

map("x", fm.execute_console("eval fm.notify('Filter: ' + (fm.env.cwd.filter or 'None'))))

I dunno, there isn't enough room for everything in the statusbar.
Btw. may I ask what you use the filter for? Because I use it like once in 3 months, e.g. when I'm interested in files of a particular type (but most of the time I just use "ot" for that now). I'd like to know what else it's good for.

Excuse me, but what should I do with this piece of code? tongue trying to paste it with :eval command inside ranger clearly makes no effect.

Oh. It's supposed to be a key binding. (pydoc ranger.defaults.keys) It displays the current filter when you press x.
I noticed a bug though: there should be a " at the end, like ...'None'))"))

But anyway, you guys convinced me, I guess it doesn't hurt to add it to the statusbar by default. Since filters are usually short strings anyway.


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#532 2010-10-06 20:03:16

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

I took some time and made a proper website for ranger:
http://nongnu.org/ranger


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#533 2010-10-07 00:35:23

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Ranger, a textbased filemanager

Hi Hut

Nice site! if you want i can create some screens for you from a higher res device, and can show some different color schemes including one i modified (btw are the screenshots taken on a n900?)

I have a small question which i dunno is 100% ranger related. I browse alot to nfs shares through rangers (which are mounted). Problem is that if i loose wifi connection or just leave the house and connect to another network. ranger freezes completely on that nfs share url and i can only kill ranger and restart. is it a normal problem and can something be done so i can browse to another local folder without killing my ranger session?

thx alot again for ranger, it is truly the best discovery i had for my little nix machine all year smile

best

Zeltak

Offline

#534 2010-10-07 00:57:41

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

zeltak wrote:

(btw are the screenshots taken on a n900?)

Nope, just small windows. I'm using a tiling window manager, which makes small windows comfortable to handle.

zeltak wrote:

ranger freezes completely on that nfs share url and i can only kill ranger and restart. is it a normal problem and can something be done so i can browse to another local folder without killing my ranger session?

I experience the same with sshfs. And I know no simple way to fix it, suggestions are welcome.
Btw. any other (console/single threaded) file manager has the same problem (or not?)


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#535 2010-10-07 01:17:21

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Ranger, a textbased filemanager

Hi again

Yeah it happens on midnight commander and GUI apps (krusader etc...) i have zero programming (read: "magic") knowledge so i dont know any ideas on how to fix it..do apps (and ranger among them) freeze or just think the dir is there? if the app is not frozen could theoretically a deamon switch back to ~ if the tab is idle..it may be a stupid idea but again i have no idea what goes on under the hood with programs smile... i guess killing ranger and restarting again wont be so bad once session will be available (hint hint ;-)) smile

of topic a bit..is there a way to have mkdir do as a shell mkdir -p?

thx again

zeltak

Last edited by zeltak (2010-10-07 01:19:13)

Offline

#536 2010-10-07 01:49:32

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

zeltak wrote:

Hi again

Yeah it happens on midnight commander and GUI apps (krusader etc...) i have zero programming (read: "magic") knowledge so i dont know any ideas on how to fix it..do apps (and ranger among them) freeze or just think the dir is there? if the app is not frozen could theoretically a deamon switch back to ~ if the tab is idle..it may be a stupid idea but again i have no idea what goes on under the hood with programs smile... i guess killing ranger and restarting again wont be so bad once session will be available (hint hint ;-)) smile

of topic a bit..is there a way to have mkdir do as a shell mkdir -p?

thx again

zeltak

Ranger can't do anything. A supervising daemon (or just a second thread) could kill and restart ranger when it doesn't respond. But I don't like this idea too much. I'd rather have fuse fixed smile

btw. does your nfs thingie run with fuse?

About mkdir -p: Yep, sounds good, I'll add that later

EDIT:
Does anybody want to implement this? smile
vNXF1ZA

Last edited by hut (2010-10-07 01:53:33)


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#537 2010-10-07 02:05:44

zeltak
Member
From: New England
Registered: 2010-08-07
Posts: 168

Re: Ranger, a textbased filemanager

holy crap that looks amazing (previewing images inside ranger smile)

hut: im using fuse just for sshfs, i am not very technical so i dont know exactly what the nfs thingi runs but i guess its portmap nfsd etc...

thx

zeltak

Offline

#538 2010-10-07 06:05:00

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Ranger, a textbased filemanager

nfs shares are mounted natively, no fuse required.

Offline

#539 2010-10-07 10:46:51

Erus_Iluvatar
Wiki Admin
Registered: 2010-04-01
Posts: 124

Re: Ranger, a textbased filemanager

With libcaca, the preview would be awesome!


I'm french, don't mind my mistakes in english.

Offline

#540 2010-10-07 15:13:15

Sirsurthur
Member
Registered: 2009-02-02
Posts: 124

Re: Ranger, a textbased filemanager

Thanks again for this great app' hut ! I wanted to know what colorscheme you are using for the screenshot that is posted on http://nongnu.org/ranger/screenshots/screenshot0.png

Thanks,

Offline

#541 2010-10-07 15:22:50

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

Sirsurthur wrote:

Thanks again for this great app' hut ! I wanted to know what colorscheme you are using for the screenshot that is posted on http://nongnu.org/ranger/screenshots/screenshot0.png

Thanks,

Hi, This is the default colorscheme.

If you wonder why the file preview has colors in it, this is the "preview branch", which is not quite ready yet.

pacman -S highlight # or some other way to install the program "highlight"
git clone http://git.sv.gnu.org/r/ranger.git
cd ranger
git checkout preview
./ranger.py

It also supports caca previews, you need "img2txt" (from cacautils or something) for that.

But as said, it needs some more work IMO


EDIT: if you are refering to the .Xdefaults:

*foreground: 15
*background: 0

*color0:     rgb:00/00/00
*color8:     rgb:66/66/66
*color1:     rgb:9e/28/38
*color9:     rgb:bc/57/66
*color2:     rgb:00/88/00
*color10:    rgb:61/a1/71
*color3:     rgb:d2/bb/4b
*color11:    rgb:e7/db/52
*color4:     rgb:3a/60/ac
*color12:    rgb:50/85/af
*color5:     rgb:96/3c/59
*color13:    rgb:a9/7a/99
*color6:     rgb:41/81/79
*color14:    rgb:6b/a4/a4
*color7:     rgb:be/be/be
*color15:    rgb:ff/ff/ff

Last edited by hut (2010-10-07 15:56:28)


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#542 2010-10-07 18:58:49

Sirsurthur
Member
Registered: 2009-02-02
Posts: 124

Re: Ranger, a textbased filemanager

Thanks hut ; it was the preview branch I was looking for.

May I also ask you how you use ranger to mount devices usb keys and so one ?

Thanks,

Offline

#543 2010-10-07 19:02:28

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

you add the device to /etc/fstab, select the mount point and type !mount %f or for short: @mount


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#544 2010-10-08 09:10:20

v_silent
Member
Registered: 2009-02-19
Posts: 4

Re: Ranger, a textbased filemanager

Hi ,  nice app . What you think on this http://img138.imageshack.us/img138/6092/rangerl.png

Offline

#545 2010-10-08 09:40:16

evert_
Member
Registered: 2007-07-27
Posts: 30

Re: Ranger, a textbased filemanager

I really love ranger, thanks for such a nice file manager smile.

Only one qustion/remark. When doing operations on bigger files (1+gb) like deleting or make a copy often makes my ranger 'hang'. It gets totally unresponsive and I'm left with a not-so-nice feeling. Is it normal behaviour that ranger totally 'blocks' when doing big file rm's or cp's?

Offline

#546 2010-10-08 10:49:13

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

@evert_:

git clone http://git.sv.gnu.org/r/ranger.git
cd ranger
git checkout cp
./ranger.py

Can you try this and see if copying is more comfortable for you?

v_silent:
Interesting suggestion, I'll think about it


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#547 2010-10-08 11:26:19

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: Ranger, a textbased filemanager

hut wrote:
Sirsurthur wrote:

Thanks again for this great app' hut ! I wanted to know what colorscheme you are using for the screenshot that is posted on http://nongnu.org/ranger/screenshots/screenshot0.png

Thanks,

Hi, This is the default colorscheme.

If you wonder why the file preview has colors in it, this is the "preview branch", which is not quite ready yet.

pacman -S highlight # or some other way to install the program "highlight"
git clone [url]http://git.sv.gnu.org/r/ranger.git[/url]
cd ranger
git checkout preview
./ranger.py

It also supports caca previews, you need "img2txt" (from cacautils or something) for that.

But as said, it needs some more work IMO

Hi,

If i want to hack this preview function ( use w3m and feh ) would i then just edit scope.sh?

Nice function btw i would love to see stuff like video previews etc.

Offline

#548 2010-10-08 11:36:16

evert_
Member
Registered: 2007-07-27
Posts: 30

Re: Ranger, a textbased filemanager

hut wrote:

@evert_:

git clone http://git.sv.gnu.org/r/ranger.git
cd ranger
git checkout cp
./ranger.py

Can you try this and see if copying is more comfortable for you?

Thanks for the quick fix (?), but there seems to be a problem with the git:

git clone http://git.sv.gnu.org/r/ranger.git
Cloning into ranger...
error: RPC failed; result=22, HTTP code = 405
fatal: The remote end hung up unexpectedly

Offline

#549 2010-10-08 11:50:59

hut
Member
From: Hanover, Germany
Registered: 2010-03-12
Posts: 569
Website

Re: Ranger, a textbased filemanager

jelly wrote:

If i want to hack this preview function ( use w3m and feh ) would i then just edit scope.sh?

Yes

jelly wrote:

Nice function btw i would love to see stuff like video previews etc.

*hut runs away*

evert_ wrote:

Thanks for the quick fix (?), but there seems to be a problem with the git:

git clone http://git.sv.gnu.org/r/ranger.git
Cloning into ranger...
error: RPC failed; result=22, HTTP code = 405
fatal: The remote end hung up unexpectedly

Try any of those:
git clone http://git.savannah.gnu.org/r/ranger.git
git clone git://repo.or.cz/ranger.git


"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users

Offline

#550 2010-10-09 10:53:27

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: Ranger, a textbased filemanager

hut wrote:
jelly wrote:

If i want to hack this preview function ( use w3m and feh ) would i then just edit scope.sh?

Yes

jelly wrote:

Nice function btw i would love to see stuff like video previews etc.

*hut runs away*

evert_ wrote:

Thanks for the quick fix (?), but there seems to be a problem with the git:

git clone http://git.sv.gnu.org/r/ranger.git
Cloning into ranger...
error: RPC failed; result=22, HTTP code = 405
fatal: The remote end hung up unexpectedly

Try any of those:
git clone http://git.savannah.gnu.org/r/ranger.git
git clone git://repo.or.cz/ranger.git

Ok figured it out! edit .config/ranger/scope.sh cool ( except feh throws up a windows time for more hacking )

Could feh be displayed within ranger somehow? So i can write a ffmpeg-thumbnailer function and let it get previewed by feh wink

Last edited by jelly (2010-10-09 11:43:58)

Offline

Board footer

Powered by FluxBB