You are not logged in.
Thank you for the thank yous!
bharani wrote:I very much like it. I have edited apps.py to open all files using exo-open which i use for opening files in dmenufm.
Can you share the changes? (via pastebin or email or...)
Its not very big or significant (i dont know python) .So i just paste it here.
from ranger.api.apps import *
class CustomApplications(Applications):
def app_default(self, c):
return tup("exo-open",c.file.path)
This also works with mimeo by xyne.
Tamil is my mother tongue.
Offline
hut wrote:Thank you for the thank yous!
bharani wrote:I very much like it. I have edited apps.py to open all files using exo-open which i use for opening files in dmenufm.
Can you share the changes? (via pastebin or email or...)
Its not very big or significant (i dont know python) .So i just paste it here.
from ranger.api.apps import * class CustomApplications(Applications): def app_default(self, c): return tup("exo-open",c.file.path)
This also works with mimeo by xyne.
I would love to use an external program which handles all this, but I haven't found one that suits me yet. I'll take a look at mimeo
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
I would love to use an external program which handles all this, but I haven't found one that suits me yet. I'll take a look at mimeo
If you use thunar , exo will be already installed for you. Also both exo and mimeo use mime for opening files.
Tamil is my mother tongue.
Offline
hut wrote:Thats weird. A __init__.py should be autogenerated inside ~/.ranger/colorschemes. Does that happen?
yes, this is it's contents:
--snip--
fixed, i copied the entire colorschemes dir from /usr/share, but it seems i should have let out the __init file
I worked a bit on the colorscheme engine to make it more intuitive
Also there's a minor change in the configuration file. Rather than writing colorscheme = colorschemes.jungle you can now write colorscheme = "jungle". (The old way is still supported but will be deprecated eventually.)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
paldepind wrote:This is awesome!! I like how the horizontal scrolling works and the preview of text files is nice too.
For some time I've been thinking about setting up a complete CLI environment on my netbook (just for fun). This program is sure going to be usefull.
Thanks!
Thats exactly what I did Though it turned out that I can't live without firefox and mplayer
You can run Firefox in DirectFB and MPlayer doesn't require X.
I like this FM a lot Only thing I really miss is dual pane.
edit: also motions like dG to cut the focused file and all files below it.
Last edited by JohannesSM64 (2010-03-17 18:16:05)
Offline
hut wrote:paldepind wrote:This is awesome!! I like how the horizontal scrolling works and the preview of text files is nice too.
For some time I've been thinking about setting up a complete CLI environment on my netbook (just for fun). This program is sure going to be usefull.
Thanks!
Thats exactly what I did Though it turned out that I can't live without firefox and mplayer
You can run Firefox in DirectFB and MPlayer doesn't require X.
I like this FM a lot Only thing I really miss is dual-pane.
Using `` you can quickly switch between two locations. That doesn't replace dual-pane but maybe it helps
edit: also motions like dG to cut the focused file and all files below it.
Yeah, I am working on that
Last edited by hut (2010-03-17 18:20:20)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Yep it's really good . One question : How do you remove / delete a file ? The keybinding is not in the filesystem part of the keys.py file ? Thanks for your answer
Offline
dd, yy and pp. Press ? for help.
Offline
Thanks but I am looking for the rm function ?
--> map('yy', fm.copy())
--> map('dd', fm.cut())
--> map('pp', fm.paste())
Am I missing something ?
Edit : it is :delete ; sorry for my question
Last edited by Sirsurthur (2010-03-17 20:59:29)
Offline
type 4?
There is only a delete-command, so type in :delete
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
It's good that you really have to write "delete" as a word to delete files, keeps you from accidents :-)
Offline
Using `` you can quickly switch between two locations. That doesn't replace dual-pane but maybe it helps
that's a really smart function and it works surprisingly well, nice!
ᶘ ᵒᴥᵒᶅ
Offline
Found a tiny bug: :rename without arguments causes some glitches.
Offline
Found a tiny bug: :rename without arguments causes some glitches.
Thank you, fixed
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Here's a little patch to (crudely) check if the terminal supports title setting instead of relying on a global option:
http://omploader.org/vM3Zqdg
wget it and "git apply".
(used omploader to prevent potential tab issues other methods could produce)
edit: better patch format
Last edited by JohannesSM64 (2010-03-18 20:25:11)
Offline
Both works fine. I added the (slightly modified) patch, thanks
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
i often mount remote systems through sshfs/ftpfs/autofs and this causes some trouble with the preview/directory functions. i guess the load is a little high for some remote connections, causing slowdowns and stalls in the middle pane. would it be possible to detect remote mounts and disable the preview function for those? (it's a long shot i know.. )
would it be possible to show an indication of file-transfer progress? when copying to/from remote mounts or external media it's a bit difficult to predict right now if the transfer has finished.
thanks again
ᶘ ᵒᴥᵒᶅ
Offline
i often mount remote systems through sshfs/ftpfs/autofs and this causes some trouble with the preview/directory functions. i guess the load is a little high for some remote connections, causing slowdowns and stalls in the middle pane. would it be possible to detect remote mounts and disable the preview function for those? (it's a long shot i know.. )
would it be possible to show an indication of file-transfer progress? when copying to/from remote mounts or external media it's a bit difficult to predict right now if the transfer has finished.
thanks again
1. It is possible to detect remote connections by reading mtab though it's not 100% portable. An alternative would be to add a key which toggles directory previews.
I've been thinking about adding multithreading to ranger, so that it will not lock you up when it has to wait for IO. That might entirely solve the issue though it will take some time until it's implemented and stable.
2. A progress indicator is planned. I recommend to do lengthy copying operations without ranger as of now, since it seems to be rather slow.
Maybe the "w" key helps you, it displays the currently running IO operations (copy/move/loading of directories) and lets you change priorities (with J/K) or kill them (with dd). I wonder if that feature is even documented.
Edit: added documentation for the task view in 4?
Last edited by hut (2010-03-19 13:36:03)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Another little patch so the title doesn't hog up space for long paths. I'm not good at Python, so I don't know how pretty the code is, but it works
http://omploader.org/vM3Zzaw
Offline
1. It is possible to detect remote connections by reading mtab though it's not 100% portable. An alternative would be to add a key which toggles directory previews.
I've been thinking about adding multithreading to ranger, so that it will not lock you up when it has to wait for IO. That might entirely solve the issue though it will take some time until it's implemented and stable.
2. A progress indicator is planned. I recommend to do lengthy copying operations without ranger as of now, since it seems to be rather slow.
Maybe the "w" key helps you, it displays the currently running IO operations (copy/move/loading of directories) and lets you change priorities (with J/K) or kill them (with dd). I wonder if that feature is even documented.
Edit: added documentation for the task view in 4?
Cool, thanks. The "w" is certainly helpful.
ᶘ ᵒᴥᵒᶅ
Offline
Another little patch so the title doesn't hog up space for long paths. I'm not good at Python, so I don't know how pretty the code is, but it works
http://omploader.org/vM3Zzaw
That deserves an extra option, i guess, since people might disagree on how many directories should be displayed. (the commit: http://git.savannah.gnu.org/cgit/ranger … 4e82423f0)
Additionally, "/home/yourname" is now replaced with "~"
i often mount remote systems through sshfs/ftpfs/autofs and this causes some trouble with the preview/directory functions. i guess the load is a little high for some remote connections, causing slowdowns and stalls in the middle pane. would it be possible to detect remote mounts and disable the preview function for those? (it's a long shot i know.. )
I added the option "preview_directories" for now, which is toggleable with the key combination bP. Map that to an easily accessible key, and you can at least manually turn off previews easily.
I'm afraid you'll have to wait a little while for a more sophisticated solution
I haven't looked much at the code yet, but is there any chance we could get an option for borders on the panes?
Check out the new option "draw_borders"
Last edited by hut (2010-03-22 17:38:35)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Hey guys. I want to give you an update on the progress.
Thinking about the future of the project, I decided it's time for a plugin-system. It will allow you to add any feature you like without having to modify files under /usr/. It's similar to the scripting feature of irssi, but going even further: Most parts, such as the user interface of ranger as you know it are going to be implemented by plugins too, so you're free to remove what you don't need or replace them with your own implementations, say, use mc's dual column view rather than ranger's miller columns.
Another thing I'm working on is a more intelligent key parser which detects direction keys and allows you to use complex vim-keybindings like y5gg to copy all files from here to the fifth file in the list.
Both features aren't ready for use yet, but maybe you want to throw in suggestions or take a look at them yourself. They have their own branch on github:
For those guys who like to tinker with ruby, on github there's also a ruby implementation of ranger which has been abandoned by me though, also on github.
Anyway, I will keep the current branch alive for now since the program is working really stable and well for me. But unless I scrap the ideas I stated above, I'll only implement patches and bugfixes.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
It's similar to the scripting feature of irssi
More like weechat. Most of its functionality is written as plugins I like the idea.
Another thing I'm working on is a more intelligent key parser which detects direction keys and allows you to use complex vim-keybindings like y5gg to copy all files from here to the fifth file in the list.
Awesome!
Offline