Many of the steps listed in this gist is based on the Debian Wiki page for Firefox but adds some hacks to make it more seemless when used with KDE Plasma / Wayland.
Download the latest version of Firefox at: https://www.mozilla.org/en-US/firefox/all/#product-desktop-release
Create /opt
and extract the tarball under /opt
.
Create a new file named firefox-stable.desktop
under /usr/share/applications
with the following:
[Desktop Entry]
Name=Firefox Stable
Comment=Web Browser
Exec=/opt/firefox/firefox %u
Terminal=false
Type=Application
StartupWMClass=firefox
Icon=/opt/firefox/browser/chrome/icons/default/default128.png
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;ap
plication/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;
StartupNotify=true
Actions=Private;
[Desktop Action Private]
Exec=/opt/firefox/firefox --private-window %u
Name=Open in private mode
Run the following command:
sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /opt/firefox/firefox 200 && sudo update-alternatives --set x-www-browser /opt/firefox/firefox
sudo ln -s /opt/firefox/firefox /usr/local/bin/firefox
With a Firefox window option, press ALT
+F3
, select More Actions
, click Configure Application-Specific Settings
.
Next, click Add Property...
, select Desktop file name
, set the action to Force
, and set the value to firefox-stable
.
Browse to about:support
in Firefox and search for "Window Protocol". wayland
should be listed.