When download a file via browser, the download status message box has an option named show in folder, How can I configure it to open ranger when I click it?

Reason I want to do it:

I'm currently using i3wm over Ubuntu, my web browser is Google Chrome, every time when I click this option on the downloaded file my screen will blocked by a blank pane and I can't do anything but reboot the my pc to get things back. I have no idea why is that. Dose i3wm does not have any gui file manager shipped with ?


The show in folder in chromium's download page is just calling xdg-open dir, you can read Default_applications.

A working(chromium, ranger, i3wm) example using custom xdg-open modified from linopen, and its config

i3wm is just a window manager, you can use any gui file manager like thunar, pcmanfm. See File_managers for more.


From reading your question, it sounds somewhat similar to Nautilus bringing up a desktop window that can't be clicked on and seems to have nothing inside.

Try running gsettings set org.gnome.desktop.background show-desktop-icons false in your terminal, and see if that blank screen still shows up.

This doesn't address your desire to have ranger be the primary file manager, though this AskUbuntu question does seem to be relevant.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.