Open Websites as Apps with Firefox on Linux
In this article
You can turn any website into a standalone desktop app window on Linux using Firefox's built-in Site Specific Browser (SSB) feature. This gives you a dedicated window with its own taskbar icon, separate from your main Firefox browser, so you can keep Gmail, Notion, or a web dashboard open without tab clutter. No extra software or extensions are needed — just Firefox and a few clicks.
What You'll Need
- Firefox installed on your Linux system (any recent version, 85 or newer, works).
- A desktop environment that supports .desktop files (GNOME, KDE, XFCE, Cinnamon, etc. — virtually all standard Linux desktops do).
- Write permissions to your local applications folder (usually
~/.local/share/applications).
Step-by-Step
- Open the website in Firefox. Navigate to the site you want to turn into an app. For example, go to
https://mail.google.comfor Gmail. - Open the main menu. Click the hamburger icon (three horizontal lines) in the top-right corner of the Firefox window.
- Click "Install..." or "Install Site as App". In the menu that drops down, look for an option that says Install or Install Site as App. The exact wording can vary slightly by Firefox version — newer versions say "Install Site as App", older ones just "Install". If you don't see it, your Firefox may be too old; update it first.
- Confirm the installation dialog. A pop-up will appear showing the site's name and icon. Click Install to confirm. Firefox will create a new app window and also add a launcher to your system's application menu.
- Launch the app from your desktop. Close the new window if you want, then find the app in your application launcher (e.g., GNOME Activities, KDE Kickoff) under the site's name. Click it to open the site in its own dedicated window.
- Pin to taskbar or dock (optional). While the app window is open, right-click its taskbar icon and choose "Pin to Dash" (GNOME) or "Pin to Task Manager" (KDE) to keep it easily accessible.
- Create a desktop shortcut (optional). If your desktop doesn't automatically show the icon, you can manually create one. Open a terminal and run:
Then right-click the new file on your desktop, select "Allow Launching" if prompted.cp ~/.local/share/applications/*.desktop ~/Desktop/
Common Mistakes
- Using an older Firefox version. The "Install Site as App" feature was introduced in Firefox 85. If you don't see the option, update Firefox via your package manager or from the official Mozilla website.
- Clicking the wrong menu. The install option is in the main hamburger menu, not the page context menu (right-click on the page). Make sure you open the menu from the toolbar.
- Expecting the app to behave exactly like a native app. It's still Firefox rendering the site, so some web features (like certain notifications or file system access) may behave differently than in a dedicated app.
- Deleting the app by mistake. If you uninstall the app from your system's software center, you'll lose the launcher. You can reinstall it by repeating the steps above.
Tips
- Use a different Firefox profile for the app? Not needed — each site app runs in its own process but shares your main Firefox profile. That means you're logged in to sites as you are in your main browser. If you want a separate login for the same site, use a separate Firefox profile instead, but that's more complex.
- Add multiple sites. You can install as many sites as you want. Each gets its own icon in your application menu.
- Customize the icon. If the site's favicon is small or ugly, you can replace the icon file. Find the .desktop file in
~/.local/share/applications, edit it to point to your own .png or .svg icon. - Keep the app updated. The site app uses your Firefox installation, so keep Firefox updated to get security fixes and new features.
- Use keyboard shortcuts. While in the site app, standard Firefox shortcuts work — Ctrl+L to focus the address bar, Ctrl+T for a new tab (though it opens in the same window), etc.
Troubleshooting
If the site doesn't open as an app or the launcher doesn't appear, try these in order:
- Check Firefox version. Go to
about:supportin Firefox and look at the version number. If it's below 85, update Firefox. - Restart Firefox. Close all Firefox windows and reopen. Then try installing the site again.
- Check the .desktop file. Open a terminal and run
ls ~/.local/share/applications. You should see a file named something likegmail.desktop. If it's there but the app doesn't launch, open it with a text editor and verify theExecline points to your Firefox binary (usually/usr/bin/firefox). - Reinstall the app. In Firefox, go to the site again and click Install Site as App. If it says it's already installed, uninstall it first from your system's application menu (right-click the icon and select "Uninstall"). Then reinstall.
- Check if your desktop environment supports .desktop files. If you're on a minimal window manager like i3 or Openbox, you may need to manually add the .desktop file to your own autostart or launcher configuration.
- If nothing works, try Firefox's built-in "New Window" with a profile. As a fallback, you can create a separate Firefox profile for the site and launch it with a command like
firefox -P siteapp -no-remote, but that's more manual.
Frequently Asked Questions
Will the site app use my main Firefox cookies and logins?
Yes. Site apps share the same profile as your main Firefox, so you'll be automatically logged in to sites you use. If you want a separate login, you'd need a separate Firefox profile, which is more complex.
Can I install any website as an app?
Most websites work, but some that rely on certain browser extensions or advanced features may not behave perfectly. Sites that block pop-ups or use unusual authentication may have issues.
How do I uninstall a site app?
Open your system's application menu, find the app icon, right-click it, and select "Uninstall" or "Remove from Applications". Alternatively, delete the corresponding .desktop file from ~/.local/share/applications.
Does this work on all Linux distributions?
Yes, as long as you have a standard desktop environment that follows the freedesktop.org .desktop file specification. This includes Ubuntu, Fedora, Arch, Debian, openSUSE, and most others.
Can I run multiple site apps at the same time?
Yes, each site app runs as a separate Firefox process. You can have Gmail, Notion, and Trello open simultaneously in separate windows.
Will the site app slow down my computer?
Each site app uses some memory (typically 100-300 MB depending on the site), but it's usually less than having a full browser with many tabs open. If you have many site apps open, they can add up.