You are not logged in.
Edit-never mind
Last edited by dag (2013-03-24 19:47:38)
--------------------------------------
alcoves wonder creates the wonder unto the ages; never lose that.
Offline
hut wrote:@TheImmortalPhoenix:
Do you want to open all image files with feh? Changing the configs is unnecessary for that, ranger does it automatically now, as long as the option "open_all_images" is set to true. (which is the default).When i open an image placed in a directory with other images, feh displays me just that image and i can't go back or next with arrows...i should select all images with "v" if i want to do that...i didn't have this issue with the old version of ranger and i think that it was because of that argument (--start-at) specified in the apps.py
Apparently you use ranger-1.6.0-stable. Then you have two options: Either use the more up-to-date ranger-git package (it'll work out of the box), or use this script: https://github.com/hut/ranger/blob/mast … le_sxiv.sh -- its a script for sxiv (small x image viewer) though; you'd have to adapt it to work with feh with the --start-at option.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
First of: Congratulations.
Allow me to re-use a well known quote:
“All file managers suck. This one sucks considerably less.”
I would go as far as to say that it is actually quite usable.
I’d like to request an option to set the `:find` command to case insensitive mode and to turn automatically entering once the result is unambiguous off.
And the possibility to hit up and down to jump to the next/previous file that matches the current :find regexp (like in Thunar).
Plus, some kind of quick search mode would be cool, where you stay in find mode until you open a file or hit escape to quickly zap through folders. Maybe automatically add ‘^’ to the beginning of the regexp in this mode (or make it a setting), so it searches from the beginnings of words. It could automatically show and include hidden files when you hit ‘.’ as first char that way.
And, to top it of, a fuzzy search mode, like https://github.com/kien/ctrlp.vim does it (you already have a context window, so one could use that for showing matches) would be everyone’s master.
These are my humble ideas on quickly navigating the file&folder structure.
You rock, woohoo and yay.
Last edited by Profpatsch (2013-04-02 21:09:17)
Offline
I’d like to request an option to set the `:find` command to case insensitive mode.
:find -i $search
Offline
Profpatsch wrote:I’d like to request an option to set the `:find` command to case insensitive mode.
:find -i $search
Is this stuff documented anywhere?
The man page doesn’t say anything about command flags and what is possible. Or I’m just looking in the wrong places.
Offline
Army wrote:Profpatsch wrote:I’d like to request an option to set the `:find` command to case insensitive mode.
:find -i $search
Is this stuff documented anywhere?
The man page doesn’t say anything about command flags and what is possible. Or I’m just looking in the wrong places.
:find is based on the :scout command, you can look at the documentation of :scout for a list of the flags. The description of :find is semi-outdated atm.
PS. Here's an excerpt from the default rc.conf that may be useful to you. Try out :travel!
alias filter scout -prt
alias find scout -aet
alias mark scout -mr
alias unmark scout -Mr
alias search scout -rs
alias search_inc scout -rts
alias travel scout -aefiklst
Last edited by hut (2013-04-02 21:46:31)
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Solved
Last edited by Next7 (2013-04-06 19:44:30)
Offline
If you'd like to express your gratitude for the countless hours of work that has been put into the ranger project, you can now donate money as described in the green box on ranger's website (http://ranger.nongnu.org). :D
The money will go directly into caffeinated beverages or tasty vegetarian food and will get me to make ranger even more awesome :)
For now, the only listed method is bitcoins. This helps to protect your privacy and my privacy. Also, I find it difficult to trust paypal with my personal data and my money.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Hello there,
Ranger is wonderful. Can't imagine my life without it now...and its been only a week since we met.
In the rifle.conf, I added
mime ^text, label editor = "/usr/bin/xterm -e /usr/bin/vim" -- "$@"
to open my text files in a new window. But this gives error message (in --debug mode)
/bin/sh: 1: /usr/bin/xterm -e /usr/bin/vim: not found
I don't know what the syntax is for spawning an application in a new window.
I am interested in this because I would would like to write custom commands to be
executed in a newly spawned terminal emulator for a highlighted directory or file.
An example could be to play all the songs in an highlighted directory using mpg123
in a new terminal emulator. Or delete files of a certain extension in the highlighted
directory.
Thank you for your time,
Devendra Ghate
Offline
Do you have xterm and vim installed? I have
mime ^text, label editor, flag f = st -t "$EDITOR" -e $EDITOR -- "$@"
and it works just fine. You can also use "flag t" so the application is opened in a new terminal.
Offline
dghate: Well, since you wrote "/usr/bin/xterm -e /usr/bin/vim" in quotes, it will try to find a program called "/usr/bin/xterm -e /usr/bin/vim" which doesn't exist. Just remove the quotes in that place and it should work.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Thank you Army and hut. Works just fine.
Offline
I’m using ranger-git, and I’ve been having problems with the :bulkrename command. It spits out an error "No module named 'ranger.fsobject.file'; ranger.fsobject is not a package. This only started occurring last week or so.
Offline
zoqaeski: time to update configs ^_^ specifically, ~/.config/ranger/commands.py.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
I have a problem opening djvu files. rifle.conf contains the following lines:
ext pdf, has evince, X, flag f = evince -- "$@"
ext djvu, has evince, X, flag f = evince -- "$@"
And pdf files are being opened without problems while on djvu files Evince even does not start. "ranger -d" produces no errors.
How to solve that?
Offline
what do you see when you press "r" on djvu files? The command with the number 0 is started when pressing enter. maybe you need to put the dvju line to the top of rifle.conf so it has a higher priority.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
When I press "r" on djvu files I see "open_with" prompt and a number of applications to choose from, among them there is the line
1 | evince -- "$@"
and when I press "1" Evince starts and opens the file. Otherwise it does not work.
I put the line
ext djvu, has evince, X, flag f = evince -- "$@"
at the top of rifle.conf and now it works normally.
Thanks for the hint and a good program. Kind regards.
EDIT: Program with "0" was sxiv, so it turns out that djvu files are treated as images.
Last edited by Next7 (2013-04-13 21:11:16)
Offline
Hi,
I've been running into a bug with ranger that starts freezing up the CPU (I'm seeing loads up to 20). I checked and it seems to be scope.sh running on .sql.gz files (mysql dumps). I haven't tried to reproduce this yet, but it's shown up quite reliably when I nagivate into a directory with .sql.gz backups and there's a new backup in it.
Offline
Hi Hut, I am a little puzzled, I have the use_preview_script and preview_files = True but I can't get file preview until I key in zp? Is this by design?
thanks
--jerry
Arch Awesome, Ranger & Vim the coding triple threat.
Offline
jerry: it sounds to me like you are talking about the options.py config file. However, in ranger 1.6.0 the settings were moved from options.py to rc.conf. (See http://ranger.nongnu.org/ for a full change log) Instead of putting python code into options.py, put a list of ranger commands into rc.conf, which would look like this in your case:
set preview_files true
set use_preview_script true
I'm still puzzled though, because these options are actually on by default. Try running "ranger --clean"; if it works, then some part of your configs is probably outdated or broken.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Actually I am talking about rc.conf, I am using git from about 5 months back, that's why I was asking. The settings seem like it should be on by default but I still have to initiate it by using zp
thanks
--jerry
Arch Awesome, Ranger & Vim the coding triple threat.
Offline
jerry: Well it could be anything. If you have a 5-months-old version, try pulling the newest version. "ranger --clean" doesn't work either? Any output from running "ranger --debug"? Maybe your rc.conf is huge and there's a "set preview_files false" hiding somewhere? Are you running as root? because root has previews disabled by default for security reasons, no matter what you put in your configs.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
OK it's the root thing, I am moving files all the time setting permissions etc and so I am always in as root. So that's that at least I know why.
thanks very much
--jerry
Arch Awesome, Ranger & Vim the coding triple threat.
Offline
actually there *is* a workaround. you can put that in root's .bashrc:
alias ranger="ranger --cmd='set preview_files true' --cmd='set use_preview_script true'"
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Dude your a God, once more.
thanks again very much,
--jerry
Arch Awesome, Ranger & Vim the coding triple threat.
Offline