You are not logged in.
sant527 wrote:if f.extension in ('pdf', ): return self.either(c, 'foxitreader', 'okular' , 'gimp')
Between the two lines, add
c.flags += 'd'
Thank you
sant527 wrote:Also I want ranger to show the size of the directories ( not the number of files) but the size in MB or GB. And I want to sort as per this size.
That is currently not supported
atleast can it sort the file size option from smaller to larger. in the "du" command
Offline
hut wrote:sant527 wrote:Also I want ranger to show the size of the directories ( not the number of files) but the size in MB or GB. And I want to sort as per this size.
That is currently not supported
atleast can it sort the file size option from smaller to larger. in the "du" command
Yup, that's what the dU key binding is for. It takes longer though, since it has to wait until all sizes had been calculated before it can sort.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Hut,
I added the code to ~/.config/ranger/keys.py for `move to trash` from https://wiki.archlinux.org/index.php/Ranger .
But it's not working. I'm using latest Ranger.
BTW, excellent FM.
Offline
The new version's heavily revamped.
A straight port goes like this (UNTESTED) in your rc.conf:
map DD shell mv -t /home/myname/.Trash %s
I prefer trash-cli so use this:
map DD shell trash-put %s
The advantage is that you get timestamps, restore, etc..
Last edited by Veedrac (2011-10-04 17:07:27)
Offline
I found out that I must enter command-mode(:), then to press `DD`. Is this supposed to be like this ?
Offline
I found out that I must enter command-mode(:), then to press `DD`. Is this supposed to be like this ?
No. Can you post your rc.conf or your keys.py etc.? It'd help me see what happened.
Last edited by Veedrac (2011-10-04 20:15:48)
Offline
I found out that I must enter command-mode(:), then to press `DD`. Is this supposed to be like this ?
Maybe you accidently wrote "cmap" instead of "map"?
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Hi Hut,
With latest pull of ranger-git, I have a bug when I type <r> (for open with) then "nano". Nothing is happening (file is not opening). Instead I got this warning in my terminal :
[~]$ ranger
Failed to run: ('nano', <ranger.core.runner.Context object at 0x9e3448c>)
Best regards,
Sirsurthur
Offline
Hi Hut,
With latest pull of ranger-git, I have a bug when I type <r> (for open with) then "nano". Nothing is happening (file is not opening). Instead I got this warning in my terminal :
[~]$ ranger
Failed to run: ('nano', <ranger.core.runner.Context object at 0x9e3448c>)Best regards,
Sirsurthur
Thank you and sorry for the inconvenience. Fixed
By the way, if you set the environment variable EDITOR=nano, it will always run nano (on text files anyway). No need to mess with apps.py.
Last edited by hut (2011-10-05 17:50:26)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Update: --copy-config is obsolete. Ranger now automatically copies configuration files filled with documentation to your ~/.config/ranger. Disable with --dont-copy-config.
Please test ranger thoroughly, I'm eager to make another release! :)
The difference between stable and master has already become too big, and I think that master is actually more stable than the stable branch...
96 files changed, 4407 insertions(+), 5824 deletions(-)
Last edited by hut (2011-10-09 15:29:02)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
What motivated this change? I would have thought it made sense the first way.
Offline
==> Running setup.py...
error: can't copy 'ranger/data/config_examples': doesn't exist or not a regular file
I get this while installing ranger-git so I guess it is related to the latest version.
I also think it made much more sense the way it was before (regarding the config files).
Offline
1. If you copy the defaults with --copy-config=all and update later, your configs are not updated. If the defaults are fixed in upstream, they will still be broken for you. Ranger doesn't copy the defaults anymore, instead it copies documented examples which do nothing by default.
2. It seems more user-friendly to me if there are some examples in your config directory, put there automatically.
What do you object with? The automatical copying or the coping of examples instead of defaults?
==> Running setup.py... error: can't copy 'ranger/data/config_examples': doesn't exist or not a regular file
I get this while installing ranger-git so I guess it is related to the latest version.
I also think it made much more sense the way it was before (regarding the config files).
Silly setup script. Fixed, thanks.
Last edited by hut (2011-10-08 20:53:11)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
I agree with you regarding the copied configs having only commented examples that do nothing. However, I don't really see the point in automatically copying them unless the user really does want to configure stuff (in which case running ranger --copy-config is simple enough). However, this is a super minor issue and doesn't really bother me at all
Offline
Same here, especially as I don't like loose config files lying around. I like the documentation-only approach, but automatically copying seems inconvenient, especially when you don't want to configure ranger. It doesn't really affect me - I've already got a config - but it seems like a very odd choice.
Last edited by Veedrac (2011-10-08 21:21:25)
Offline
Okay, I'm convinced that automatically copying configs is too intrusive. I reverted the changes for now.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
ranger 1.5.0 is out.
There's not much new if you used ranger-git before, but there are lots of (backward-incompatible) changes for ranger-stable users.
Changelog is on http://ranger.nongnu.org/
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Greetings,
New Ranger user here. Nice FM, thanks for all your efforts hut!
After reviewing this thread and not finding an answer to my concern, I was hoping the forum could help....
I prefer not to have <RIGHT> nor "l" edit a file.
I prefer only <CR> edit a file.
Seems to me that "move right=1" should not default to edit.
Any ideas?
Offline
SquareRoot: Uhm... you'll have to code this.
map l eval fm.env.cf.is_directory and fm.move(right=1)
copymap l <right>
Last edited by hut (2011-10-11 21:34:29)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
hut,
Excellent! That works.
Your support is amazing and this tool is SO flexible!
I suffer from MC finger memory and notice that F1, F3, F4, and F5 do not seem to work.
F7, F8, and F10 do work.
Not sure about F6 yet.
Any ideas?
Offline
They work for me. What do you expect them to do? Note that F5 and F6 are like pressing "yy" (copy) and "dd" (cut) in vim. So in order to start copying/cutting, you have to move to the destination and press "pp" (for paste) first.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
OK, confirmed F5 and F6 work as well as F7, F8, F10.
F1, F3, and F4 still not working.
Offline
xterm - all Fn work.
gnome terminal - F1 does not work.
urxvt - F1, F3, F4 does not work.
Offline
SquareRoot, I wrote you a mail. Let's not debug this here.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
hut, I can't use search, touch, delete file (I use `map DD delete yes'), and maybe there's others.
Error message (using ranger-git, no problem with 20111009)
global name 'parse' is not defined
Ask, and it shall be given you.
Seek, and ye shall find.
Knock, and it shall be opened unto you.
Offline