I set Viewnior for open image files, but when I open any image file (jpg or png) ranger stays frozen or something similar, and I only can return to ranger when I close the app that opened the file. Therefore, I can't open other files, only one.

My rifle.conf :

ext png = viewnior "$@"

It seems to be, based on an sample rifle.conf file I found, that you'd need the f flag to ask Ranger to Fork the program, make it run in the background:

ext png, flag f = viewnior "$@"
| improve this answer | |
  • That's true, but it's necessary add a comma before flag, like this: ext png, flag f = viewnior "$@" – user250189 Sep 20 '18 at 0:06

Your Answer

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