Questions tagged [ranger]

For questions about the ranger CLI file manager for Unix-like systems.

Filter by
Sorted by
Tagged with
2
votes
0answers
65 views
+100

How to make ranger's image/pdf preview persist in terminal?

Just got image/pdf preview working in ranger, but I've noticed that when moving my mouse away from the ranger terminal window, the preview disappears. More annoying than this is that you can't run ...
0
votes
1answer
15 views

Scrambled text preview of pdf files in ranger

I'm using ranger to preview/open and rename a number of pdf files. However if the file is open and I navigate back to the terminal window running ranger and then scroll to another file, the text ...
1
vote
0answers
46 views

What is ranger's show_hidden_bookmarks setting good for?

Ranger's man page states: show_hidden_bookmarks [bool] Show dotfiles in the bookmark preview window? (Type ') I played around with it but can not figure out what it actually does. My bookmark ...
0
votes
1answer
49 views

How to used copied file name using “yn” command in ranger

I am using ranger file manager and I came across a command to copy the filename. How do I use this yank file name in other command? I mean, read from clipboard. I tried using Shift+Insert. I am not ...
0
votes
0answers
56 views

apache Ranger Installation issue on centos 6

I am trying to install apache ranger without ambari and getting error while mvn -DskipTests=false clean compile package install assembly:assembly getting error like [ERROR] Failed to execute goal ...
2
votes
1answer
69 views

Ranger file manager: how to cycle through files

I am trying to edit my ranger config so that the "cursor" can cycle through files, meaning that basically: when the first item (file/directory) is selected and you press k or ↑ you go to the ...
1
vote
1answer
552 views

Ranger image preview not working on Iterm2

I could not make ranger preview images on iterm2. I have set set preview_images true and set preview_images_method iterm2 in ~/.config/ranger/rc.conf. but a broken image appears. Have anyone ...
0
votes
2answers
960 views

How to copy file path with ranger on SSH

I login into my machine via SSH, and use Ranger as a file manager. When I use commands of copying file path like yn, the name is not copied to the clipboard. How can I make it being copied to the ...
2
votes
0answers
715 views

Customize file colors in ranger terminal file manager

I've been using ranger for a couple of days now, and I started customizing it to my needs. I have now the devicons plugin which shows a glyphs next the file name, but I don't know where I can change ...
2
votes
1answer
2k views

Ranger file manager: how to mark files from:to

I'm using Ranger as my main file manager on ubuntu. What i'd like to do is select the first file in a list for marking/selection, then a last one and have all in between marked as well. Similar to ...
2
votes
2answers
3k views

Ranger : Open with vim in new window

Using : st, Ranger, vim, i3 With most files when I open them with ranger it opens in a new window. However, when I try to open a file with vim it opens it in the current terminal which is currently ...
1
vote
0answers
103 views

Ranger refuses to open in $HOME when opened with DWM shortcut

I'm currently using DWM as my window manager, and for convenience I'd like to be able to open a seperate instance of my terminal (ST) that automatically opens ranger for me. I mapped a custom ...
0
votes
2answers
614 views

Open ranger File-Manager in specific Directory

I use ranger as my file-manager and was looking for an option that i can pass to ranger, that let‘s me open ranger in a given directory, something like ranger —specfic-directory=„/home/tim/literature/„...
3
votes
0answers
605 views

Is it possible to navigate into zip files with Ranger?

I'm starting to use Ranger file manager, but I'm missing a nice feature present in Total (and Double) Commander that I really like. It is the possibility of navigating into zip files (and other kind ...
0
votes
1answer
9k views

How to change the default document viewer in ranger?

How do I change the default document viewer in the file-manager "ranger"? By pressing [R] it is only possible to choose how to open the document for this one time, but the choice will not be safed. E....
8
votes
2answers
5k views

How to open a file in ranger as root?

How do I open a file in the file-manager "ranger" with superuser rights? While ":open_with vim" opens the file as none root with vim, I am looking for something like ":open_with sudo vim", but that ...
4
votes
2answers
930 views

How to force ranger to edit html files?

I am using ranger and every time I try to edit an HTML file ranger will open that file with the browser instead of editing it with Vim. How can I force ranger to edit HTML instead of loading them in ...
6
votes
3answers
7k views

How to move directories in Ranger?

I'm using Ranger file manager. I want to move selected (marked) directories to the path provided. I've been moving directories using dd and pp but it requires the user to go to the destination ...
9
votes
2answers
4k views

unselect items in Ranger (file manager)

I am using the Ranger file manager, and I like it quite a lot. I often use the :mark command to select specific items in the current folder. And now comes the problem: Once I am done doing whatever I ...
3
votes
1answer
2k views

ranger not opening pdf files?

My pdf reader is mupdf. It works and is on my PATH. My rifle.conf is (relevant part): #------------------------------------------- # Documents ...
1
vote
1answer
837 views

How to define new commands in the ranger file manager?

I would like the ability to define new commands in the ranger file manager by typing something like: :newcmd myarg and run arbitrary code with it. The command definition should also have access to ...
36
votes
8answers
15k views

How to exit the Ranger file explorer back to command prompt but keep the current directory?

I am using Ranger terminal file explorer from within a linux terminal. Say I start from command prompt in home directory and launch ranger user@/home/user $ ranger ranger opens..... and within the ...