Part 2: Specify Default Applications For File Types - File Managers
Part 1 introduced the xdg-mime dominance to alter the default application for a file type. If you lot desire a GUI method, or to a greater extent than tweaking is required afterwards running the command, this postal service is for you.
File managers tin exercise file associations - the assigning of a default application to opened upward files of a sure enough extension. Below is an illustration of changing the PDF default application using the Nautilus file director for the GNOME desktop.
- Open Nautilus, as well as navigate to whatever PDF file.
- Right click on the PDF file, as well as guide Properties.
- Click to opened upward the Open With tab.
Note that this concealment identifies the electrical current Default Application -Document Viewer, an alias for evince.
- Select the novel default application.
If you lot notice the application you lot desire nether Recommended Applications, click the app as well as hence the Set every bit default button. Otherwise, click the Show other applications push to display to a greater extent than application choices.
Troubleshooting
If the application you lot want, tell xpdf, is non listed nether Recommended or Other applications, commencement brand sure enough that it is installed.
If the application is installed, simply non listed inward the Open with tab,
- Edit the application's desktop file - xpdf.desktop.
The desktop file tin be inward 1 or both of the next locations.
- $HOME/.local/share/applications/xpdf.desktop
- /usr/share/applications/xpdf.desktop
- Append %U to the terminate of the Exec= line.
The Exec= describe of piece of occupation specifies the dominance as well as whatever arguments to get the application. If the Exec= describe of piece of occupation does non specify that the application tin cause got dominance describe of piece of occupation arguments, the application is omitted from the Recommended applications as well as Other applications lists.
The Exec= describe of piece of occupation inward the xpdf.desktop file should await similar the following:
Exec=xpdf %U
%U indicates that the xpdf dominance tin cause got multiple URLs every bit arguments.
xpdf should at in 1 lawsuit seem inward the Recommended applications list.
0 Response to "Part 2: Specify Default Applications For File Types - File Managers"
Post a Comment