I want to make Master PDF Editor (MPE) the default for opening PDF files. I right-clicked a PDF file, chose Properties > Open With. MPE was not listed. I clicked Show Other Applications but MPE was still not on the list. I tried opening the PDF file with MPE, editing, and then closing it. MPE still did not show up.
So how do I make MPE the default program, or at least appear on the Other Programs or Show Other Programs?
If Master PDF Editor (MPE) is not listed all you need is to create a MasterPdfEditor.desktop file. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
Copy and paste the following, and then save and close the file. (Note that the *.desktop files should be in /usr/share/applications).
Then
Right click on the PDF file --> Open With --> Open With Other Application
If you don't see Master PDF Editor in the list, click on Show Other Applications
Scroll down to Master PDF Editor, highlight it, and click on Use as Default.
I don't have sufficient reputation to comment on the previous answer, but I would just like to add that for me the file was /usr/share/applications/MasterPdfEditor.desktop NOT mpe.desktop.
If you have MasterPdfEditor.desktop, just edit that. Otherwise, you will create a file called mpe.desktop but it will not be detected by the 'Open with' dialog.
To set the file associations :
Now click the button, Set as Default
Now, when you reopen the file/application again, then it will open in your set default application.