Monday, February 26, 2024
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 737  / 2 Years ago, sat, september 25, 2021, 9:53:51

I want to open a PDF file from terminal. I only know the command xdg-open file-name.xxx to open a file. But once I use this command, it opens the PDF file with the Document Viewer application (Evince).


How to open a file from terminal with a non-default application (specifically a PDF with Master PDF Editor)?


More From » command-line

 Answers
5

Master PDF Editor provides a binary that you can use to open a file from the terminal. Supposing that you have installed the latest version of Master PDF Editor (version 5.9.40 currently), the binary is masterpdfeditor5, so you can open a PDF file using:


masterpdfeditor5 /path/to/file.pdf

[#13] Sunday, September 26, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
onomicsiberated

Total Points: 217
Total Questions: 98
Total Answers: 107

Location: Luxembourg
Member since Sun, May 28, 2023
10 Months ago
onomicsiberated questions
Wed, Mar 22, 23, 20:38, 1 Year ago
Thu, Oct 6, 22, 05:00, 1 Year ago
Tue, May 3, 22, 16:34, 2 Years ago
;