Reputation: 4054
I've been looking all over the net, but did not find anything useful.
How would one set default program for opening .pdf
files with zathura
for example, in midnight commander
. I know I have to edit mc.ext
file, but there are no docs available that says something about the format of entry, which would be used.
Upvotes: 2
Views: 6065
Reputation: 51
Need to find in mc.ext next strings.
# PDF
type/^PDF
Open=(see %f &)
#Open=(acroread %f &)
#Open=(ghostview %f &)
View=%view{ascii} pdftotext %f -
And next change first string Open=(see %f &)
by something that -->
Open=(zathura %f &)
Upvotes: 5
Reputation: 2940
/home/<user>/mc.ext
accessible also in 'mc` via hotkey F9 (Main menu) -> Commands -> Edit extension file
Upvotes: 2