Code: Select all
[Desktop Entry]
Version=1.0
Name=Pale Moon Web Browser
Comment=Browse the World Wide Web
Keywords=Internet;WWW;Browser;Web;Explorer
Exec=palemoon %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/home/myusername/palemoon/browser/icons/mozicon128.png
Categories=Network;WebBrowser;Internet
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
StartupNotify=true
To inform update-alternatives about the presence of Pale Moon (and make it available as x-www-browser and gnome-www-browser) I did this:
Code: Select all
sudo update-alternatives --install /usr/bin/gnome-www-browser gnome-www-browser /usr/bin/palemoon 100
Pale Moon is then available to be selected as preferred application for web browser. (If you also occasionally run Firefox adjust the settings in Firefox not to check if it is default browser when it is opened.)