You are not logged in.

#2026 2016-02-21 20:25:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,883
Website

Re: Ranger, a textbased filemanager

Can you view gifs in w3m?  Ranger just uses that for image previews.  There are notes in the w3m docs suggesting that gifs are not always displayed properly, e.g.

REAME.img wrote:

Notice
     If you want to see GIF animation, please hit a suitable key, such
     as 'h', 'l', etc., repeatedly, because a frame is rewritten
     according to the re-drawing demand from w3m.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#2027 2016-02-21 20:51:52

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,861
Website

Re: Ranger, a textbased filemanager

@Sounds_About: I think that may be this bug:
https://bbs.archlinux.org/viewtopic.php?id=208853


Juri divino omnia sunt communia

Offline

#2028 2016-02-22 00:40:38

NoSuck
Member
Registered: 2015-03-04
Posts: 157
Website

Re: Ranger, a textbased filemanager

I concur with Head_on_a_Stick.  Here is another bug report.

Offline

#2029 2016-02-22 05:59:28

Sounds_About
Member
Registered: 2015-11-30
Posts: 7

Re: Ranger, a textbased filemanager

Head_on_a_Stick wrote:

@Sounds_About: I think that may be this bug:
https://bbs.archlinux.org/viewtopic.php?id=208853

Yeah that looks exactly like it.  Well, it looks like I know (roughly) what update I'm waiting for!  I'll make a note in that other thread, too.  Thanks all!

Offline

#2030 2016-02-29 03:45:10

Sounds_About
Member
Registered: 2015-11-30
Posts: 7

Re: Ranger, a textbased filemanager

New question, unrelated to my last one:

Is there a way to, when I exit ranger, to be dropped into the folder I've navigated to?  Like, start ranger in ~, within ranger go to, say, Documents, and then Q to quit, and be returned to the command prompt, but in Documents, instead of ~?

Offline

#2031 2016-02-29 10:54:54

Ambrevar
Member
Registered: 2011-08-14
Posts: 212
Website

Re: Ranger, a textbased filemanager

There is a section about this in the wiki.

Last edited by Ambrevar (2016-02-29 10:55:24)

Offline

#2032 2016-02-29 18:20:30

Sounds_About
Member
Registered: 2015-11-30
Posts: 7

Re: Ranger, a textbased filemanager

Ambrevar wrote:

There is a section about this in the wiki.

This is great - this is exactly what I need.  ...Except I don't understand how to actually use it.  The wiki provides scripts to use ranger-cd when launching it from a graphical launcher, but just typing ranger-cd doesn't do anything at the command line (which is where I launch ranger).  The script (/usr/share/doc/ranger/examples/bash_automatic_cd.sh) is obviously in an "examples" folder, but I'm not sure what to do with it to make it active.

Offline

#2033 2016-02-29 18:33:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,883
Website

Re: Ranger, a textbased filemanager

Sounds_About wrote:

just typing ranger-cd doesn't do anything at the command line

Doesn't do anything?  I highly doubt that.  If you didn't source the file with that function in it, then it would give an error.

Source that file from your shellrc if you want to use it.  For example:

source /usr/share/doc/ranger/examples/bash_automatic_cd.sh
alias ranger='ranger-cd'

The second line is if you just want to use "ranger" and get this behavior.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#2034 2016-03-01 03:09:27

Sounds_About
Member
Registered: 2015-11-30
Posts: 7

Re: Ranger, a textbased filemanager

Trilby wrote:

Doesn't do anything?

You're right, sorry - bash: ranger-cd: command not found.

However it no longer says that, because I did what you said, and it worked.  (aka, thanks!)

Last edited by Sounds_About (2016-03-01 03:09:50)

Offline

#2035 2016-03-10 00:36:46

Proinsias
Member
From: Glasgow
Registered: 2013-08-19
Posts: 121

Re: Ranger, a textbased filemanager

How to move/copy files with tags?

I can tag files, then mark tagged files, then use 'yy' or 'dd' followed by 'pp' but I get the feeling I'm going a long road for a shortcut and could be making use of the %t option.

Offline

#2036 2016-04-01 18:32:20

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

Re: Ranger, a textbased filemanager

Hey there, ranger users.

I think the time has come to admit that while ranger's the Miller Column approach to file browsing may have been an interesting experiment, the one and only, the true way to browse your files is demonstrated by Midnight Commander. The dual pane view.

So we have decided to ditch the old GUI and develop a multiple pane view for ranger! Enjoy:

ranger-mc.png

Just upgrade the ranger-git package and you will experience the rush and intensity that, uhm, the rest of the world has since 1986 already!

How to navigate the panes:

1. Create a new tab with Ctrl+n to create a new pane. (Yes, tabs are now the same as panes!)
2. Tab between them with <TAB>


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

Offline

#2037 2016-04-01 19:39:32

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,418
Website

Re: Ranger, a textbased filemanager

This update comes right in time. wink


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#2038 2016-04-01 22:44:41

madc0de
Member
Registered: 2009-08-29
Posts: 11

Re: Ranger, a textbased filemanager

Just today i was fiddling with the config files and decided to finally switch to the git version.

Installation is complete aaaaand...WTF.

I thought it was a bug.

Well gotta get used to it i suppose.

edit: colored background really stands out, can't read text properly. need a black background colorscheme.
edit2: solorized colorscheme works.
edit3: now can't be sure which pane i am on. switching panes doesn't change background color in this scheme.
          instead of one big title bar at top, i think each pane having its own bar would be better(mc-like?).
          bar should change color when i am on that pane. changing background color really messes with my eyes.
edit4: why dual panes are not default?
edit5: miss my previews already... ability to preview images at the bottom of panes would be cool.
edit6: demit.

Last edited by madc0de (2016-04-02 15:33:00)

Offline

#2039 2016-04-02 04:05:42

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Ranger, a textbased filemanager

madc0de wrote:

...

Someone missed the date


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#2040 2016-04-02 06:46:01

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Ranger, a textbased filemanager

hut wrote:

Hey there, ranger users.

I think the time has come to admit that while ranger's the Miller Column approach to file browsing may have been an interesting experiment, the one and only, the true way to browse your files is demonstrated by Midnight Commander. The dual pane view.

So we have decided to ditch the old GUI and develop a multiple pane view for ranger! Enjoy:

http://hut.pm/ranger-mc.png

Just upgrade the ranger-git package and you will experience the rush and intensity that, uhm, the rest of the world has since 1986 already!

How to navigate the panes:

1. Create a new tab with Ctrl+n to create a new pane. (Yes, tabs are now the same as panes!)
2. Tab between them with <TAB>

Late to the party, but hey I would totally use ranger if it supported dual panes tongue

Offline

#2041 2016-04-02 08:44:55

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

Re: Ranger, a textbased filemanager

Ok, april fools day is over, reverted back to the old GUI and color scheme.

edit: colored background really stands out, can't read text properly. need a black background colorscheme.

I'm glad we agree that the default midnight commander colorscheme is utterly horrible!

Late to the party, but hey I would totally use ranger if it supported dual panes tongue

Well, it does, so now you have no excuse. tongue

Currently you have to set the mode before starting it (like here) but an option for change during run time will soon be implemented.


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

Offline

#2042 2016-04-02 11:26:47

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Ranger, a textbased filemanager

hut wrote:

Well, it does, so now you have no excuse. tongue

Currently you have to set the mode before starting it (like here) but an option for change during run time will soon be implemented.

Great! I'll give it a try soon.

Offline

#2043 2016-04-02 15:32:28

madc0de
Member
Registered: 2009-08-29
Posts: 11

Re: Ranger, a textbased filemanager

Rasi wrote:
madc0de wrote:

...

Someone missed the date

Oh...demit.

*facepalm*

I was in "tinkerer" mode and forgot.

Well at least it was fun and IS usable with some tweaks. tongue

Offline

#2044 2016-05-30 21:03:45

nmiculinic
Member
Registered: 2015-12-25
Posts: 63

Re: Ranger, a textbased filemanager

Why doesn't ranger package pack .desktop file?

I found this github issue and ranger should have its own desktop  file supplied. I copy pasted the one on github issue and works like a charm. I'm not sure whether this is the right place to post this,  since I couldn't find where to post on Arch repository page. I'm still a newbie.

Offline

#2045 2016-05-30 22:43:28

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 667

Re: Ranger, a textbased filemanager

@nmiculinic thanks for pointing me to that desktop file. Works well.

I'm no authority but seems to make sense that the Arch ranger package include the desktop file given it has been added to the source git repo.

Online

#2046 2016-06-01 09:44:20

Ambrevar
Member
Registered: 2011-08-14
Posts: 212
Website

Re: Ranger, a textbased filemanager

I recently noticed that the w3mimgdisplay preview never frees memory! After a few hundred (or dozen...) image displays, w3mimgdisplay will consume all the memory and make the computer hang until the kernel recovers (and kills w3mimgdisplay).

I haven't investigated any further, but this is quite a critical issue. Not sure if w3mimgdisplay is to blame here, or if it is ranger's responsibility to free memory.

Any similar feedback?

Offline

#2047 2016-06-01 14:36:17

spcmd
Member
Registered: 2015-05-18
Posts: 12

Re: Ranger, a textbased filemanager

Edit: Seems like a w3mimgdisplay issue: issue #451

Maybe ranger could use some workaround?

Last edited by spcmd (2016-06-01 14:42:35)

Offline

#2048 2016-08-09 17:14:55

masque
Member
Registered: 2013-02-24
Posts: 25

Re: Ranger, a textbased filemanager

Is there a way to browse sftp/sshfs with ranger?

Offline

#2049 2016-08-09 19:05:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,883
Website

Re: Ranger, a textbased filemanager

This really has nothing to do with ranger in particular.  Ranger just needs a path.  You could use shfs to mount the remote fs somewhere then browse the files in ranger.  Or you could just ssh into the remote machine and install ranger there (a far better option in my view).

EDIT: oops, you already said sshfs, I misread that part.  If you have a mounted sshfs, the answer should be a simple "yes".  Is it not working?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#2050 2016-08-16 16:19:37

masque
Member
Registered: 2013-02-24
Posts: 25

Re: Ranger, a textbased filemanager

Trilby wrote:

This really has nothing to do with ranger in particular.  Ranger just needs a path.  You could use shfs to mount the remote fs somewhere then browse the files in ranger.  Or you could just ssh into the remote machine and install ranger there (a far better option in my view).

EDIT: oops, you already said sshfs, I misread that part.  If you have a mounted sshfs, the answer should be a simple "yes".  Is it not working?

No problem. I was wondering if I could let ranger mount the sshfs on demand like mc o vifm. I solved it with an external script.

Offline

Board footer

Powered by FluxBB