You are not logged in.
I've been using ranger and loving it, but I have one question. Ranger successfully updates the view upon file creation/deletion, can it be made to update the view when file permissions or size change? Perhaps only when marked files change?
Offline
You can press the secret button Ctrl+R to update everyting.
I'll investigate why it's not automatically updated when permissions change when I have time
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
You can press the secret button Ctrl+R to update everyting.
Ah! That's quite sufficient for me - it's such a small feature it would probably eat up more cycles than it was worth.
Offline
It seems like you're talking about the titlebar. Your home directory is only replaced with '~' in the window title, not the titlebar.
Ah, you're right. Can we get tilde replacement in the titlebar as well, or should I just hack the source myself?
Last edited by aeosynth (2010-04-05 19:10:05)
Offline
hut wrote:It seems like you're talking about the titlebar. Your home directory is only replaced with '~' in the window title, not the titlebar.
Ah, you're right. Can we get tilde replacement in the titlebar as well, or should I just hack the source myself?
I don't know. I kept it until now because it's more explicit, which helps if you often log in with different users. And so you can click on the directory names to navigate there. Maybe I'll change it though, or add an option for it
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
the username is already in the top left, though. it seems kind of redundant, imo. also, I just noticed that you can click on the username / hostname to bring up the home / root directory, cool.
Offline
This is the best file manager ever. The first thing I always have to do when installing one is configure the colors, which I find to be a pain. Ranger nicely uses my own terminal's colors, a very pleasant surprise. Navigating files has never been more intuitive (for a person cli-oriented). Thank you!
I was very happy to see my PDFs open automagically in Zathura, and my images in Feh. Now I just got to make my XOJs open in Xournal.
Registed Linux User 483618
Offline
Thankies.
It would be great to receive some patches for apps.py to support more programs. I can't determine them all by myself ^^
you did a nice work with ranger!
just a question: would it be hard to add support for tabs? it would be a great feature.
Tabs are implemented. Type 1?G (or check the man page) for a brief description.
Edit: Look at it as a "half feature" though. It's not like as you know it from other file managers or web browsers because tabs in ranger have no own history, cursor position, etc. They save only the directory path. But the good thing is, I get them almost for free (like 50 lines of code) and in practice it should be perfectly fine in most cases
Last edited by hut (2010-04-06 13:12:10)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Tabs! Very nice.
I was a bit confused at first though because if two tabs are in the same directory, they will always have the same scroll/cursor/selection, which seems counter-intuitive.
Offline
Hey hut, may I ask why you switched development from ruby to python ?
Was surprised to find a ruby branch of ranger, how far back is it compared to your master branch ?
Offline
Hi disturb.
I switched from ruby to python because imo pythons syntax is more clean and better suitable for a larger project. And I wanted to try something new =P. I still use ruby for smaller quick&dirty scripts, but it seemed like python is a good choice for ranger and I don't regret it.
I think the ruby branch is not very far from the master branch in terms of functionality, but it does lack quality. (and its not maintained anymore) Check it out yourself?
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
The tab functionality is great. Only thing missing (I suppose) is some visual indication of the different tabs -- a "tabline".
A question and a request:
Q: Tagging -- how is it supposed to be used? Does it do anything other than copying paths to ~/.ranger/tagged?
Request: browsing archive files would be nice....
Offline
small bug when renaming a file and then pressing the End-key:
Traceback (most recent call last):
File "/usr/bin/ranger", line 54, in <module>
main()
File "/usr/share/ranger/ranger/__main__.py", line 123, in main
my_fm.loop()
File "/usr/share/ranger/ranger/core/fm.py", line 146, in loop
ui.handle_key(key)
File "/usr/share/ranger/ranger/gui/ui.py", line 132, in handle_key
if DisplayableContainer.press(self, key):
File "/usr/share/ranger/ranger/gui/displayable.py", line 285, in press
focused_obj.press(key)
File "/usr/share/ranger/ranger/gui/widgets/console.py", line 165, in press
self.type_key(chr(keytuple[0]))
ValueError: chr() arg not in range(256)
ᶘ ᵒᴥᵒᶅ
Offline
The tab functionality is great. Only thing missing (I suppose) is some visual indication of the different tabs -- a "tabline".
Q: Tagging -- how is it supposed to be used? Does it do anything other than copying paths to ~/.ranger/tagged?
Tagged files are marked with a *, nothing else. Use it as you wish. I think its quite useful to be able to mark files. For example to keep track of watched episodes of a TV series or read PDF files or just to mark a file that needs attention
Request: browsing archive files would be nice....
Yeah. I don't need it though. Maybe someone who needs it (and can program) wants to implement it?
small bug when renaming a file and then pressing the End-key:
It has been fixed already, try updating ranger. Thanks though.
Last edited by hut (2010-04-06 19:53:28)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
litemotiv wrote:small bug when renaming a file and then pressing the End-key:
It has been fixed already, try updating ranger. Thanks though.
i'm going to buy you this numberplate:
ᶘ ᵒᴥᵒᶅ
Offline
eyolf wrote:The tab functionality is great. Only thing missing (I suppose) is some visual indication of the different tabs -- a "tabline".
Right. It wasn't displayed, apparently because of some setting in my keys.py. After I've merged with the default keys.py file, it's all fine. It might seem like something that shouldn't happen, though: that a setting in a keyconfig file would affect the layout.
Offline
I just moved to zsh, and was looking into intergating ranger.
The following is adapted from the tip on the github page, which works with bash, but not zsh, as well as colfm.zsh, a strangely similar project.
# source from, or add to ~/.zshrc
# Ctrl-O opens zsh at the current location, and on exit, cd into ranger's last location.
ranger () {
command ranger "$(pwd)" <$TTY
print -n "\033[A"
zle && zle -I
cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)"
}
zle -N ranger
bindkey "^O" ranger
@hut : I couldn't figure out how to use the Alt (aka Meta) key in keys.py, how can I do that ?
Offline
I just moved to zsh, and was looking into intergating ranger.
The following is adapted from the tip on the github page, which works with bash, but not zsh, as well as colfm.zsh, a strangely similar project.
# source from, or add to ~/.zshrc # Ctrl-O opens zsh at the current location, and on exit, cd into ranger's last location. ranger () { command ranger "$(pwd)" <$TTY print -n "\033[A" zle && zle -I cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)" } zle -N ranger bindkey "^O" ranger
@hut : I couldn't figure out how to use the Alt (aka Meta) key in keys.py, how can I do that ?
What are you trying to achieve? cd after exit? I have no problems using my script in zsh:
ranger() {
$(which ranger) $@ &&
cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)"
}
Alt keys aren't supported at the moment but should be very soon.
About colfm: when I first saw a screenshot of colfm I thought it was a modified ranger version
But it's something completely different and was most likely developed independently of ranger. I might steal some of it's features later :>
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
hmm maybe there's something in my config that was conflicting, but "which ranger" return the function definition here...
➜ ~ which ranger
ranger () {
$(which ranger) $@ && cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)"
}
➜ ~
About colfm, indeed, it has some nice ideas too, albeit less featureful and pretty.
Anyway, please DO implement alt, much needed for an emacsen keymap
cheers
Offline
Oh. Use /usr/bin/ranger instead of $(which ranger) then.
EDIT:
Also, command ranger works just fine.
EDIT2:
I think the script of colfm is so complicated because otherwise it won't work with zsh's bindkey command and the invocation with ^O.
If you're ok with having to type in the name, use my shorter function
Last edited by hut (2010-04-07 16:38:19)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Tabs are implemented. Type 1?G (or check the man page) for a brief description.
wooow! now it has everything
nicely done!
Offline
Can mouse usage be made optional? I sometimes click on links in the preview pane but don't want to open the file.
Offline
Yeah, thats something I should have done a long time ago =P thanks for reminding me.
For now, you can use shift+click to avoid the mouse handler.
Edit: There is a boolean option for that now: mouse_enabled
Last edited by hut (2010-04-08 15:42:26)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
There are issues moving/copying files from my ext4 ~ to my fat32 thumb drive. It copies the first file, then displays "permission denied: filename" and stops. It works fine with plain cp.
Offline
There are issues moving/copying files from my ext4 ~ to my fat32 thumb drive. It copies the first file, then displays "permission denied: filename" and stops. It works fine with plain cp.
Please run ranger with --debug, try to reproduce it and show me the backtrace.
Any other details would be helpful. Does the first file get fully copied? If you skip the first file (don't mark it when you press yy) and start with the second one, does *it* get copied?
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline