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 "$@"
  • That's true, but it's necessary add a comma before flag, like this: ext png, flag f = viewnior "$@" – p_ks 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

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