One-click default browser switching from the Gnome Shell panel
Installation • Features • Requirements • Development • Support
| Feature | Description |
|---|---|
| 🚀 Simple & Fast | One-click browser switching |
| 🎯 Zero Configuration | Works out of the box |
| 🪶 Lightweight | No external tools or dependencies |
| 🔄 Auto-Detection | Finds installed browsers, including Flatpak, and picks up installs and removals |
| 🎨 Native Integration | Matches Gnome Shell design, sets the same defaults as GNOME Settings |
| 👁️ Always Accurate | Follows default browser changes made in GNOME Settings or by the browser itself |
Perfect for users who work with different browser profiles for different tasks — for example, separate work and personal SSO authentication.
https://extensions.gnome.org/extension/8836/browser-switcher/
-
Download the latest release from Releases
-
Install and enable:
gnome-extensions install browser-switcher@totoshko88.github.io.shell-extension.zip
gnome-extensions enable browser-switcher@totoshko88.github.io- Restart Gnome Shell:
- Wayland: Log out and log back in
- X11 (GNOME 49 and earlier): Press
Alt+F2, typer, press Enter
gnome-extensions disable browser-switcher@totoshko88.github.io
gnome-extensions uninstall browser-switcher@totoshko88.github.io- Gnome Shell 45–51
- At least one web browser with a valid
.desktopfile
Browser Detection: Lists the applications registered as x-scheme-handler/http
handlers through Gio.AppInfo, which covers system, user and Flatpak installs.
Applications whose .desktop file declares categories without WebBrowser are
skipped. Duplicate entries of the same browser (e.g. google-chrome.desktop and
google-chrome-stable.desktop) are shown once.
Default Browser: Selecting a browser makes it the handler for
x-scheme-handler/http, plus x-scheme-handler/https, text/html and
application/xhtml+xml when the browser declares them. This is the same set
GNOME Settings changes under Apps → Default Apps → Web.
If the current default is a hidden handler, such as the userapp-Firefox-*.desktop
file Firefox creates when it makes itself the default, it is listed too, so the
menu and the panel icon always show the real default.
Change Tracking: The menu and panel icon update when browsers are installed or removed and when the default changes outside the extension.
Open Browser Switcher's Preferences from Extension Manager and use Desaturate panel icon to choose whether only the system-panel icon is shown in grayscale. The choice is saved and takes effect immediately; browser icons in the menu retain their color.
# Automated checks: BrowserManager against the installed browsers (on a copy of
# mimeapps.list) and a headless GNOME Shell smoke test (GNOME Shell 50+)
tests/run-tests.sh
# Lint (ESLint 9+ flat config)
npx eslint@10 .
# Try the extension in a nested Shell window (GNOME Shell 49+);
# on Wayland, disable/enable does not reload changed code in the running Shell
gnome-extensions pack --force --extra-source=browserManager.js \
--extra-source=indicator.js --extra-source=menuBuilder.js \
--schema=schemas/org.gnome.shell.extensions.browser-switcher.gschema.xml .
gnome-extensions install --force browser-switcher@totoshko88.github.io.shell-extension.zip
dbus-run-session gnome-shell --devkit
# View logs
journalctl -f -o cat | grep "Browser Switcher"gnome-extensions pack --force --out-dir=. \
--extra-source=browserManager.js \
--extra-source=indicator.js \
--extra-source=menuBuilder.js \
--schema=schemas/org.gnome.shell.extensions.browser-switcher.gschema.xml .Contributions welcome! Please ensure:
- Code follows existing style and
npx eslint@10 .passes tests/run-tests.shpasses- Changes follow the extensions.gnome.org review guidelines
If you find this extension useful, consider supporting development:
GPL-3.0 — Made with ❤️ in Ukraine 🇺🇦
