That's not the problem, it suffices with specifying it:
But it is not doing what I want, because if it does not find atril, it does not jump to the next possibility. I tried this by writing a wrong name, for instance AAAAAAatril
Quote:
application/pdf; AAAAAAatril s; test=test -x `which atril`
application/pdf; evince %s; test=test -x `which evince`
application/pdf; xpdf %s; test=test -x `which xpdf`
|
This results in mutt complaining:
Quote:
sh: 1: AAAAAAatril: not found
Press any key to continue...
|
While I expected it to jump to the next possibility, evince...
For this I need a "if atril does not exist, then use evince, if evince does not exist, then use xpdf"