Ubuntu comes pre-configured with default open-source applications for common media and document formats, such as Document Viewer (Evince) for PDFs and Totem for video playback. However, you might prefer dedicated power-user applications such as VLC Media Player, LibreOffice, or GIMP. Ubuntu makes it simple to change file associations directly through its GNOME graphical user interface without touching configuration files.
Changing Default Applications via Nautilus File Properties
The most precise way to set default applications for individual file extensions (such as .pdf, .mkv, or .png) is through the file manager properties dialogue.
- Open the Files manager (Nautilus) and locate any file with the extension you wish to reassociate.
- Right-click on the file and select Properties from the context menu (or select the file and press Ctrl + I).
- In the Properties window, click on the Open With tab at the top.
- You will see a list of installed applications capable of handling this file format.
- Click on your preferred application to highlight it (for instance, VLC media player or LibreOffice Writer).
- Click the green button labelled Set as default in the bottom-right corner of the window.
- Close the Properties dialogue window.
From now on, double-clicking any file sharing that exact format or MIME type will launch immediately in your selected programme.
Setting System-Wide Category Defaults in Ubuntu Settings
For broad system categories—such as your default web browser, email client, audio player, or photo viewer—Ubuntu provides a dedicated centralised panel in the main Settings app:
- Open the Settings app from the application grid or by clicking the quick settings menu in the top-right corner of the top bar and choosing the gear icon.
- Scroll down the left-hand navigation menu and click on Default Apps.
- You will see primary category selectors:
- Web: Select your preferred browser (e.g., Firefox, Google Chrome, Brave).
- Mail: Choose your default desktop email client (e.g., Thunderbird).
- Calendar: Set your scheduling tool.
- Music: Choose your primary audio player (e.g., Rhythmbox, Audacious).
- Video: Select your media player (e.g., VLC, Celluloid).
- Photos: Choose your image viewer (e.g., Eye of GNOME, Shotwell).
- Click the drop-down box next to any category and select your desired programme. Changes take effect instantly without restarting.
Managing Application Defaults: Nautilus vs System Settings
Understanding which method to use depends on the granularity you need:
| Configuration Method | Scope | Best Used For |
|---|---|---|
| Ubuntu Settings > Default Apps | Broad system categories (Web, Mail, Video, Music) | Setting universal tools like switching from Firefox to Chrome or setting VLC as the primary video player. |
| Nautilus File Properties > Open With | Specific file extensions and MIME types | Assigning specific file formats (e.g., opening .csv in LibreOffice Calc while keeping .txt in Text Editor). |
| Right-click > Open With Other Application | One-time ad-hoc viewing | Viewing an image in GIMP for quick editing without changing the default double-click behaviour. |
Troubleshooting Missing Applications in the “Open With” List
If an application you installed does not appear in the “Open With” catalogue, keep the following considerations in mind:
- Snap or Flatpak Permissions: If you installed software via Snap Store or Flathub, log out of your Ubuntu session and log back in to allow the desktop environment to update exported
.desktoplauncher shortcuts. - AppImage Launchers: Standalone AppImage files do not automatically register MIME types in Ubuntu. Use an integration tool such as AppImageLauncher or create a standard
.desktopentry under~/.local/share/applications/.
Customising your default applications ensures your Ubuntu desktop workflow aligns perfectly with the creative and office tools you rely on every day.