Double-clicking a bank PDF or holiday photo in Ubuntu and watching it launch a slow image editor like GIMP—or open inside an extra browser tab instead of the fast Document Viewer—gets annoying quickly. Fortunately, you never need to touch configuration text files or Terminal commands to fix it. Ubuntu gives you two straightforward graphical ways to reassign which app opens PDFs, images, videos, web links, and emails permanently.
Change the Default App for Any File Type via Ubuntu Files
For specific formats such as .pdf, .jpg, .png, or .mp4 videos, changing one file updates every matching file across your computer.
- Open the Files folder icon on the Ubuntu Dock and locate any example file of that type (for instance, one PDF document).
- Right-click the file and choose Properties (on Ubuntu 24.04 or 22.04).
- Look at the bottom or inside the Properties box and click Open With (if you see Open With… directly on the right-click menu on Ubuntu 24.04, click that instead).
- Select the program you prefer from the list—for example, Document Viewer for fast PDF reading, or Image Viewer for quick photo browsing.
- Look for the toggle labelled Always use for this file type (or click the Set as default button) so Ubuntu remembers your choice for all matching files.
Double-click that PDF or photo straight away: every document with that extension now launches neatly inside your chosen viewer automatically.
Swap Core Default Browser, Email, or Music Apps in Settings
For internet links, email links, and plugged-in media players, Ubuntu gathers main system defaults onto one clean Settings panel:
- Click the System Menu in the top-right corner and open Settings (the gear icon).
- Scroll down the left sidebar and click Default Applications (under Apps on Ubuntu 24.04, or near the bottom on Ubuntu 22.04).
- Use the drop-downs beside Web, Mail, Calendar, Music, Video, and Photos to select Firefox, Google Chrome, Thunderbird, VLC, or whichever installed apps you use daily.
Keep Desktop Shortcuts and Logins Running Smoothly Too
Customising default file handlers pairs well with trimming extra login friction on personal home machines—check our guides to enabling automatic login on Ubuntu without a password screen and fixing the Unlock your login keyring prompt when launching Chrome.
Switch Just One Single File Anytime
When you genuinely want one individual photo opened in an editor without changing your everyday default, right-click that single file, click Open With, pick the editor, and leave Always use for this file type switched off.