This is an old revision of the document!
Table of Contents
Pale Moon Browser in Slackware
From the Pale Moon website:
Pale Moon is an Open Source, Goanna-based web browser available for Microsoft Windows and Linux (with other operating systems in development), focusing on efficiency and ease of use. Make sure to get the most out of your browser!
Pale Moon offers you a browsing experience in a browser completely built from its own, independently developed source that has been forked off from Firefox/Mozilla code a number of years ago, with carefully selected features and optimizations to improve the browser's stability and user experience, while offering full customization and a growing collection of extensions and themes to make the browser truly your own. [1]
So Why Pale Moon Browser anyway?
Many prefer to use Pale Moon over FireFox, because, they feel Pale Moon is what FireFox ought to have been. Many claim that Pale Moon is faster than FireFox, because, it has less “garbage”; but instead has continued to polish an already winning formula. Moreover, many feel they can trust the Pale Moon community over communities such as Apple, Google, Mozilla, and Microsoft, because, it does not have the same history of spying on its users – that these communities do.
Installation instructions
The following instructions shows how to compile and install Pale Moon web browser using scripts found at SlackBuilds.org. There is currently, at the time of writing this, two SlackBuilds that can be found at SlackBuilds.org: One that builds from source, and, one that repackages the officially pre built binary provided by the Pale Moon community. This guide focuses on the SlackBuild that builds Pale Moon from source.
Installation instructions for Slackware 14.2 +
- In a terminal log in as root:
su -
- Change to the temporary directory:
cd /tmp/
- Download the SlackBuild from the Pale Moon SlackBuild git repository – we grab the SlackBuild from here rather than from SlackBuild.org for the sake making this guide easy to maintain – for 14.2 this can be found Here:
wget https://notabug.org/khronosschoty/SlackBuilds/archive/PaleMoon-27.0.3.tar.gz
- Untar the Pale Moon SlackBuild archive:
tar -xvvf PaleMoon.tar.gz
- Change to the SlackBuild Pale Moon directory:
cd PaleMoon
- Download the necessary files indicated in the PaleMoon.info
wget https://github.com/MoonchildProductions/Pale-Moon/archive/27.0.3_Release/Pale-Moon-27.0.3_Release.tar.gz \ http://ponce.cc/slackware/sources/repo/autoconf-2.13.tar.xz \ http://ponce.cc/slackware/sources/repo/autoconf-2.13-consolidated_fixes-1.patch.gz
- Make the Slackbuild executable:
chmod +x PaleMoon.SlackBuild
- Run PaleMoon.SlackBuild script as root:
./PaleMoon.SlackBuild
- At completion of the SlackBuild execution, a message similar to the following one will appear:
Slackware package /tmp/PaleMoon-27.0.3-x86_64-1_SBo.tgz created.
- Install the newly created package as root. It will be located in the /tmp directory:
upgradepkg --install-new /tmp/PaleMoon-27.0.3-x86_64-1_SBo.tgz
Resources for earlier versions of Pale Moon, and why
Why use an earlier version of Pale Moon?
With the introduction of Pale Moon 27.0.0, Pale Moon and FireFox have continued to significantly deviate from their common code origins; this deviation has caused many FireFox add-ons that used to work in Pale Moon, to no longer work in Pale Moon. Ideally there is no good reason to install an earlier version of Pale Moon, but, for those of us who feel that they must use an earlier version of Pale Moon, this is how, to do it, using the SlackBuild used in this guide.
A notabug.org git repository for current and older Pale Moon SlackBuilds
Perhaps, the easiest way to build an older version of Pale Moon is too look for an older version of the Pale Moon SlackBuild script discussed in this guide; current, possible newer, and certainly older versions, of which, can be found here..
Modifying the SlackBuild manually
This guide modifies the SlackBuild script used in this guide to compile and install Pale Moon 26.5.0… the same methods can presumable be used to compile and install even earlier versions of Pale Moon; by simple changing the version number to the desired value.
- Follow steps 1 - 5 of this guide, "Installation instructions for Slackware 14.2 +" (found above).
- Edit the PaleMoon.info file so that every instance of 27.0.3 is changed to 26.5.0.
- Edit the PaleMoon.SlackBuild so that every instance of 27.0.3 is 26.5.0
- Resume following the remaining step of this guide, "Installation instructions for Slackware 14.2 +" (found above). (That is follow steps 6 - 10). Except modify all the commands above so that 27.0.3 is replaced with 26.5.0. Here is an example:
- Instead of downloading 27.0.3, like in step 6:
wget https://github.com/MoonchildProductions/Pale-Moon/archive/27.0.3_Release/Pale-Moon-27.0.3_Release.tar.gz \ http://ponce.cc/slackware/sources/repo/autoconf-2.13.tar.xz \ http://ponce.cc/slackware/sources/repo/autoconf-2.13-consolidated_fixes-1.patch.gz
Simple modify the version number so that the desired version is downloaded, like this:
wget https://github.com/MoonchildProductions/Pale-Moon/archive/26.5.0_Release/Pale-Moon-26.5.0_Release.tar.gz \ http://ponce.cc/slackware/sources/repo/autoconf-2.13.tar.xz \ http://ponce.cc/slackware/sources/repo/autoconf-2.13-consolidated_fixes-1.patch.gz
Tips on installing Pale Moon and FireFox add-ons in Pale Moon Browser
Where to get Pale Moon add-ons
Pale Moon is capable of installing many add-ons that were made for FireFox, albeit not all FireFox add-ons will work; ideally one would install and use Pale Moon specific add-ons that can be found here. The Pale Moon add-on site recommends looking here, if you are unable to locate a desired Pale Moon specific add-on.
Additional suggestions on installing FireFox specific add-ons in Pale Moon
Although, the FireFox add-on website might be difficult when trying to install FireFox add-ons, there are several ways FireFox add-ons can be installed. One method of installation is to download and manually install the desired add-on. To do this go to the “add-ons” page in Pale Moon; by typing in the Pale Moon address bar about:addons and then pressing the enter key. You will then be presented with the Pale Moon add-on page. At the top of the screen you will notice a search box, with the text “search all add-ons”; to the immediate left of that search box is a small box; which if left clicked, will present you with a number of options – one such option is to install an add-on from file – select this option and the installation of the add-on will begin.
Some recommended FireFox add-ons and why
User Agent add-ons
Some websites will block access to their site if Pale Moon's user agent does not indicate its one of the big 4 – Chrome, Internet Explorer, FireFox, or Safari. One solution is to install an add-on that allows you to modify Pale Moon's user agent on the fly, and, then if you wish, back again; one such add-on is “PrefBar”, which can be found here.
Password Manager add-ons
- Some users like to use third party password managers, instead of their browser's built in password manager; there is several advantages for doing so, which we will not get into here. “KeePass” is an example of a password manager that can be used with Pale Moon or other browsers via an add-on – in this case, “KeeFox”, which allows a user to use KeePass with their Firefox browser. Unfortunately the newest versions of the add-on do not work with Pale Moon; fortunately “Version 1.4.8.1-signed” does work and can be found here.
- KeePassXC a fork of KeePass, is possible a better solution for Slackware users wishing to use an advanced secure password manager with Pale Moon. The plugin KeePassHttp which can be found here, used in combination with add-ons like PassIFox, found here, might prove a more enjoyable then the before mentioned KeePass and KeeFox combination – the reason being, among many possible other reasons, is that KeePassXC Linux native port of KeePass; and the most recent versions of PassIFox add-on work with current versions of Pale Moon. It should be noted that PassIFox and KeePassHttp will work with the before mentioned version of KeePass.
Bugs, crashes, etc; effecting Pale Moon
Oxygen gtk segfaults etc
- The theme "Oxygen gtk" (liboxygen-gtk.so) has been known to cause crashes in FireFox , and, in my experience does cause random crashes in Pale Moon. In my experience, the likelihood of crashing increases when an attempt to access history is made. As far as I know, this bug only effects FireFox and Pale Moon if the gtk 2 version of this theme is used. There is some question to whether or not this is a PaleMoon bug (old FireFox bug), or a bug in the theme itself.
- It appears that the Oxygen theme in KDE when used causes Pale Moon to crash; apparently, if the appearance in KDE is changed from “Oxygen” to something else the crashes cease to happen.
Possible workarounds
- The most obvious work around is to use a theme other than Oxygen, or at the very least, find a version of the Oxygen theme that does not cause Pale Moon to crash or segfault (if there is such a version).
- Anther possible work around is to only change the theme Pale Moon is using (so that only Pale Moon is not using the Oxygen gtk theme) – to do this, enter the following command into a terminal (for example):
GTK2_RC_FILES=/usr/share/themes/Adwaita/gtk-2.0/gtkrc palemoon-27.0.3