Ubuntu ships with Mozilla Firefox pre-installed as the default web browser for opening web links, HTML documents, and desktop shortcut bookmarks. If you prefer using Google Chrome, Chromium, Brave, Microsoft Edge, or Opera, configuring your chosen browser as the system default ensures all external hyperlinks from email clients and chat applications open seamlessly in your preferred window. Here is how to set your default web browser in Ubuntu.
Method 1: Changing Default Browser via Ubuntu GNOME Settings (GUI)
The standard Ubuntu graphical settings panel provides a quick, central location to reassign system-wide default applications.
- Open the Settings app from the Ubuntu dock or press the Super key (Windows key), type Settings, and press Enter.
- In the left sidebar, click Apps (or Default Applications depending on your Ubuntu release).
- Click on Default Apps at the top of the Apps list.
- Locate the Web category in the main window pane.
- Click the dropdown menu next to Web and select your desired installed browser (such as Google Chrome or Brave).
- Close the Settings window. The change takes effect immediately without needing a system reboot.
Method 2: Setting Default Browser from Inside the Browser
Virtually all modern desktop browsers allow you to claim default system status directly from their internal settings menus:
- Google Chrome: Click the three dots menu > Settings > Default browser > click Make default.
- Brave Browser: Open the menu > Settings > Get started > click Make default.
- Microsoft Edge: Click the three dots menu > Settings > Default browser > click Make default.
- Mozilla Firefox: Click the hamburger menu > Settings > under General, click Make Default….
Verifying File Associations for HTML Files
Occasionally, clicking a downloaded .html file on your desktop might open a different browser than clicking an external URL link. To ensure local web files open in your preferred browser:
- Open the Files manager and locate any
.htmlor.htmfile. - Right-click the file and select Properties.
- Switch to the Open With tab at the top of the properties dialogue.
- Select your preferred web browser from the application list.
- Click Set as default at the bottom of the window, then close the dialogue.
Troubleshooting Missing Browser in the Settings List
If your installed browser does not appear in the Ubuntu Default Apps dropdown, it was likely installed via a manual tarball or custom script without registering a desktop entry. Installing browsers through Ubuntu’s official Snap store, Flatpak, or official APT repositories (such as the official Google Chrome .deb package) ensures valid .desktop launcher integration with GNOME desktop settings.