You are not logged in.
Do you mean directories?
Offline
Hi.
Just wanted to drop by and say that ranger is awesome. It's that good.
Offline
Hi, ranger is great, but it would be pefect if I could fix a certain issue:
there needs to be a tiny delay before the preview kicks in, so that your browsing doesn't lag when you are swinging up and down the tree.
Also I'm trying to customize the colorscheme now, but I dunno if I can make it accept color codes rather than just plain "red", "blue"...
I would really appreciate help on the first issue, thanks.
.. ..- ... . .- .-. -.-. .... -... - .--
Offline
Hi, @suija, you can use print_colors.py file from ranger sources to get color codes which can be used in colorescheme.
Last edited by loop (2013-06-23 15:50:52)
Offline
Thanks, that script will help me with customising other stuff too.
But here comes an other problem - if I use 256 color codes, ranger crashes in terminator (works fine in urxvt tho)..
.. ..- ... . .- .-. -.-. .... -... - .--
Offline
Just found out about image previews, but sucks that it doesn't work in tmux. Is this a bug on tmux's side? Don't really want to be using screen.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Hi. I really appreciate "ya" and "yr" commands. Is there a way how to see a whole list of the yanked files/directories? I want to check them before pasting. Same with "ca" and "cr".
EDIT: Ok, I figured it out ;-) (:save_copy_buffer)
Last edited by Artran (2013-07-03 12:16:41)
Offline
hi, I'm a new to Ranger. It's fantasy.
I have some problem now.
when I use command ':open_with t blah...', and I want open a new terminal.
I've set TERMCMD=xfce4-terminal. But It failed silently. So I digged into the code, I found the default option of terminal execution is '-e'. But when use xfce4-terminal, the '-x' option is the expected one.
I don't want change the code, so I ask if there is any way to customize this?
Apple hater. Panda lover.
Offline
I don't want change the code, so I ask if there is any way to customize this?
Create a small shellscript and use that as TERMCMD:
#/bin/sh
# read arguments in array
declare -a args
i=0
etox=y
for arg
do
# change the first -e argument to -x
[ "$arg" = '-e' ] && [ "$etox" = 'y' ] && arg='-x' && etox=n
args[$i]="$arg"
((i++))
done
echo xfce4-terminal "${args[@]}"
Last edited by progandy (2013-07-07 05:49:40)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Create a small shellscript and use that as TERMCMD
a flexible way, Thanks
Apple hater. Panda lover.
Offline
The wiki about ranger says that ranger supports transmission-show for viewing bit-torrent infomation. But there is no transmission-show in office-repository, I only find three packages which call transmission-cli, transmission-gtk and transmission-qt. Is transmission-cli it?
Sorry for my poor English. Thank you!
Last edited by acgtyrant (2013-07-21 01:35:35)
I use Arch Linux.
Offline
This executable is part of transmission-cli.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
I am using rxvt terminal
Question: I cant jump between words in ranger's command line using ctrl + left/right arrow
ctrl+ left/right works on terminal command line and in any other editor such as vim..
Also keys are mapped in Xresources.
Offline
I am using rxvt terminal
Question: I cant jump between words in ranger's command line using ctrl + left/right arrow
ctrl+ left/right works on terminal command line and in any other editor such as vim..
Also keys are mapped in Xresources.
Unfortunately, Ranger cannot do CTRL-Left and CTRL-Right keybindings. I'll raise this with hut (Ranger's developer) later.
You can add the following code to your commands.py:
def move_word(self, backward=False):
if self.line:
self.tab_deque = None
if backward:
if self.pos:
for self.pos in range(self.pos-1, -1, -1):
if not re.match(r'[\w\d]', self.line[self.pos-1], re.U):
break
else:
if self.pos != len(self.line):
for self.pos in range(self.pos+1, len(self.line)+1):
try:
if not re.match(r'[\w\d]', self.line[self.pos], re.U):
break
# The cursor can go off of the line
except IndexError:
pass
from ranger.gui.widgets import console
console.Console.move_word = move_word
And then bind them to keys like:
cmap <KEY_FOR_RIGHT> eval fm.ui.console.move_word()
cmap <KEY_FOR_LEFT> eval fm.ui.console.move_word(backward=True)
but there's no nice way to do this.
Offline
@Veedrac
It would be nice to have this implemented in ranger, but also to be able to use ctrl keys as modifiers with left/right arrows.
thx for workaround
Offline
Hi everyone !
I love ranger and try to learn it, but I'm facing a strange behaviour.
Unfortunately, preview images doesn't work on xfce terminal.
In URxvt, it does, but only when I use Terminus font. I tried many other, and it gives me pieces of my image, like on this screenshot :
Thanks in advance for any help !
Asus 1225B - 11,6" - AMD E-60 Dual Core 1,3Ghz - 4 Go RAM - Disque dur SSD 128 Go - Radeon HD6290
ArchLinux Openbox - My Github
Offline
Hi everyone !
I love ranger and try to learn it, but I'm facing a strange behaviour.
Unfortunately, preview images doesn't work on xfce terminal.
In URxvt, it does, but only when I use Terminus font. I tried many other, and it gives me pieces of my image, like on this screenshot :
http://pix.toile-libre.org/upload/thumb/1375017297.png
Thanks in advance for any help !
I uploaded a different image displaying algorithm, can you install ranger-git from AUR* and see if it changes anything?
*if you don't use archlinux, follow instructions under "get ranger with git" on this page: http://ranger.nongnu.org/download.html
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
Hi hut !
I tried ranger-git, image shows up for a second then comes back again in that strange state !
Do you know why it doesn't work with some terminals at all ? (xfce, gnome)
Thanks !
Asus 1225B - 11,6" - AMD E-60 Dual Core 1,3Ghz - 4 Go RAM - Disque dur SSD 128 Go - Radeon HD6290
ArchLinux Openbox - My Github
Offline
Hi hut !
I tried ranger-git, image shows up for a second then comes back again in that strange state !
Do you know why it doesn't work with some terminals at all ? (xfce, gnome)
Thanks !
Because it's a crazy, evil hack and it makes a lot of assumptions, which not every terminal can fulfil. Still better than nothing, imo. If you want to learn more about it, talk to the developers of w3m who made it.
"hut_" or "h00th00t" in irc.freenode.net #archlinux
Ranger Mailing List: https://lists.nongnu.org/mailman/listinfo/ranger-users
Offline
As of today, I have an issue on one of my machines. When I run ranger as a normal user, the contents of my current directory are pinned to the leftmost pane, and no keystrokes work at all, except ctrl-z (which dumps me out of ranger). The middle and right panes are empty. If I run ranger as root, it behaves normally. If I become root, then I can issue
sudo -u <normaluser> ranger
and ranger runs normally. I thought something was messed up in my config but I created a test user and see the same behavior. Running ranger with -d doesn't seem to produce anything. How can I debug this problem?
Thanks for a great piece of software - I use it all day, every day.
Offline
As of today, I have an issue on one of my machines. When I run ranger as a normal user, the contents of my current directory are pinned to the leftmost pane, and no keystrokes work at all, except ctrl-z (which dumps me out of ranger). The middle and right panes are empty. If I run ranger as root, it behaves normally. If I become root, then I can issue
sudo -u <normaluser> ranger
Has anything happened? Have you updated, say?
and ranger runs normally. I thought something was messed up in my config but I created a test user and see the same behavior. Running ranger with -d doesn't seem to produce anything.
You could also try the "--clean" flag for that.
How can I debug this problem?
I'd start by reinstalling, always running with "--clean" and "--debug" as you go along. I might also try a second terminal just in case.
Reinstall both from the package manager and from git (https://github.com/GermainZ/ranger) as well, I think.
Offline
Reinstall both from the package manager and from git (https://github.com/GermainZ/ranger) as well, I think.
Unless you want him to try the video_previews branch, that link should be: https://github.com/hut/ranger
Offline
Thanks @Veedrac and @GermainZ. I tried several flavors of ranger and the issue persisted. Running with --clean didn't help. I uninstalled python3 and everything that depends on it, deleted ~/.config/ranger, reinstalled python3 along with ranger, and the problem persisted. I also ran the ranger.py script directly with
python -v ranger.py
for both the successful user (root) and me, and attempted to figure out what went wrong by capturing and comparing the traces. They were mostly the same but not entirely and if I knew python better I might be able to diagnose based on that.
I finally moved my whole /home/user directory off to another directory, logged in as myself with a new, empty /home/user directory, and ranger worked fine. I started adding back my .bashrc, .bash_profile, .inputrc, etc, expecting something to break but it's still fine. I don't know what happened but there is a lot of stale crap in my old user directory. If I figure out what specifically caused ranger to choke I'll report back. Ranger is awesome!
Last edited by setone (2013-08-02 15:56:40)
Offline
Does anyone else here have any issues with urxvt and displaying image previews with w3m?
Offline
Does anyone else here have any issues with urxvt and displaying image previews with w3m?
I've had some problems but they've mostly been resolved. What do your rc.conf, scope.sh and .Xresources file look like?
Offline