How to install uMatrix in Pale Moon 27 in GNU/Linux (Ubuntu)

Post your tutorials for using Pale Moon or performing related tasks here.
Note: Not for "how do I...?" Questions!

Moderator: satrow

Forum rules
Tutorials and Howtos should only relate to Pale Moon, and not to third party applications. e.g.: Don't post a Howto for configuring your firewall.
If you have a question how to do something, you should use one of the support boards, not this board. It is meant for people to document and post instructions.
User avatar
gracious1
Astronaut
Astronaut
Posts: 653
Joined: Sun May 15, 2016 5:00 am
Location: snowy upstate NY
Contact:

How to install uMatrix in Pale Moon 27 in GNU/Linux (Ubuntu)

Postby gracious1 » Tue Dec 05, 2017 11:56 am

How to install uMatrix in Pale Moon 27 for GNU/Linux (Ubuntu)

Recently Raymond Hill ceased to release XUL builds of uMatrix to github for installation. However, all is not lost for Pale Moon users. The XUL source code has not been removed from the repository; therefore, it is possible to create your own build. In this tutorial, I am using Ubuntu, although it will work in just about any GNU/Linux distro.

  1. Open Terminal
  2. Make sure you have the Python Programming Language (python3) installed.
    1. Enter this command:

      Code: Select all

      dpkg-query -W -f='${Status} ${Version}\n' python3
      If you have it installed this is your output:

      Code: Select all

      install ok installed <version>
      The <version> will be a string, such as 3.4.0-0ubuntu2 if you are using Ubuntu.

    2. If you do not see that output, install python3, like so:

      Code: Select all

      sudo apt-get update && sudo apt-get install python3
      (Enter 'y' when prompted).
  3. Now we get down to the nuts and bolts: building the cross-platform installer module (XPI), also called a "bundle".
    1. Make sure you are in your home directory.

      Code: Select all

      cd ~

    2. Clone the uMatrix repository at Github.com into a newly created directory in your home directory.

      Code: Select all

      git clone https://github.com/gorhill/uMatrix.git
      This creates a directory called uMatrix, filled with the sources you need.

    3. Enter the new uMatrix directory.

      Code: Select all

      cd ~/uMatrix

    4. Okay, let's build this bundle!! Enter this command:

      Code: Select all

      tools/make-firefox.sh all
      Now there is an XPI module ready to be installed, with this path:

      Code: Select all

      ~/uMatrix/dist/build/uMatrix.firefox.xpi
  4. At last, we install uMatrix into Pale Moon.
    1. In Add-ons Manager in Pale Moon, pull down the gear menu and select "Install Add-on From File".
    2. Navigate to the uMatrix.firefox.xpi file, following the above path, and select it.
  5. Now look in the Extensions list in your Add-ons Manager. You should see uMatrix installed with the beloved Blue Dot. :thumbup:
    Image

Now you are ready to use uMatrix.
Nice work! :clap:

P.S. An alternative to step 4: In your graphic file manager, drag and drop uMatrix.firefox.xpi onto Pale Moon.


Special thanks to ketana. :geek:
ImageBe not the first by whom the new are tried, nor yet the last to lay the old aside.

jars_
Moonbather
Moonbather
Posts: 66
Joined: Tue Dec 27, 2016 12:12 am

Re: How to install uMatrix in Pale Moon 27 in GNU/Linux (Ubuntu)

Postby jars_ » Wed Dec 06, 2017 6:02 am

What about windows users? no bat\cmd in package. I must to rewrite make-firefox.sh to cmd\bat format, right?

adisib
Lunatic
Lunatic
Posts: 317
Joined: Sat Jun 13, 2015 3:34 am
Location: KY

Re: How to install uMatrix in Pale Moon 27 in GNU/Linux (Ubuntu)

Postby adisib » Wed Dec 06, 2017 6:39 am

jars_ wrote:I must to rewrite make-firefox.sh to cmd\bat format, right?

If you don't want to rewrite it or have someone else rewrite it, you run shell scripts in the Linux Subsystem for Windows 10 or Cygwin for any version of Windows, or run it in real Linux by temporarily booting into a live usb.

jars_
Moonbather
Moonbather
Posts: 66
Joined: Tue Dec 27, 2016 12:12 am

Re: How to install uMatrix in Pale Moon 27 in GNU/Linux (Ubuntu)

Postby jars_ » Wed Dec 06, 2017 7:44 am

OK, i forget, that i have UnixUtils(Cygwin) installed :) Everything worked out.
Thanks for instruction.

ghysler
Newbie
Newbie
Posts: 5
Joined: Sat Oct 01, 2011 9:06 pm

Re: How to install uMatrix in Pale Moon 27 in GNU/Linux (Ubuntu)

Postby ghysler » Sat Dec 09, 2017 10:02 pm

Awesome. Thank you very much for the detailed instructions! (my favorite add-on, for sure)

Note: it might be wise to use the source code for the latest release instead - links at https://github.com/gorhill/uMatrix/releases
Otherwise you will most likely end up with a pre-release build.

User avatar
back2themoon
Astronaut
Astronaut
Posts: 919
Joined: Sun Aug 19, 2012 8:32 pm

Re: How to install uMatrix in Pale Moon 27 in GNU/Linux (Ubuntu)

Postby back2themoon » Sat Dec 09, 2017 10:45 pm

Thanks for the guide gracious1. It'd be really nice if we could have a similar Windows guide "for dummies"... I'm seeing the references to Subsystem/Cygwin/LiveUSB, perhaps I might try something like that.
Safe Mode / clean profile info: Menu/Help/Restart with Add-ons Disabled
Information to include when asking for support - How to apply user agent overrides

Windows 10 Pro - Pale Moon x64 - FossaMail x64 - Emsisoft Anti-Malware


Return to “Tutorials/Howtos”

Who is online

Users browsing this forum: No registered users and 3 guests