Skip to main content
r/ranger icon

r/ranger

members
online

use as filepicker in qutebrowser use as filepicker in qutebrowser

I'm trying to use ranger as a file picker for qutebrowser. This qutebrowser config opens ranger as a filepicker. When I hit enter (or select multiple files and hit enter) nothing happens.

# Use ranger as file picker
config.set("fileselect.handler", "external")
config.set("fileselect.single_file.command",    ['xterm', '-e', 'ranger', '--choosefile', '{}'])
config.set("fileselect.multiple_files.command", ['xterm', '-e', 'ranger', '--choosefiles', '{}'])

If I explicitly load my config via --confdir I get the same results; ranger launches but will not execute the file picking.

If I use the -c flag in the qutebrowser config, skipping loading my ranger's rc.conf, it works as expected.

So I'm guessing the problem is my config, but I can't see what would be causing this. Can anyone see what might be causing this?


Considering a new car? Happy Honda Days means big savings on a Honda Ridgeline. Find out more.
Image Considering a new car? Happy Honda Days means big savings on a Honda Ridgeline. Find out more.