Firejail and Mint 19

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
User avatar
Fred Barclay
Level 12
Level 12
Posts: 4185
Joined: Sat Sep 13, 2014 11:12 am
Location: USA primarily

Firejail and Mint 19

Post by Fred Barclay »

Hey folks, just a heads-up.
The version of firejail in the Ubuntu 18.04 and Mint 19 repositories, 0.9.52, has a few known issues with Firefox. This happened because firefox 60 was released right about the same time we released firejail 0.9.52, and the firefox devs added some stuff in that conflicted with firejail. Later versions of firejail work just fine with firefox.

There are three simple ways to fix this so you can use firejail without issues on Mint 19:
1. Add our PPA and install firejail from it. You'll get the latest firejail and should receive regular updates. I believe this is the best option.
https://launchpad.net/~deki/+archive/ubuntu/firejail

Code: Select all

sudo add-apt-repository ppa:deki/firejail
sudo apt-get update
sudo apt install firejail firejail-profiles
2. Install the version from the repositories, and then patch it yourself. This is really simple to do, after sudo apt install firejail firejail-profiles, there are three files you should edit:
A) Open /etc/firejail/firefox.profile as root, and replace all the contents with https://raw.githubusercontent.com/netbl ... ox.profile
B) Open /etc/firejail/gedit.profile as root, and replace all the contents with https://raw.githubusercontent.com/netbl ... it.profile
C) Open /etc/firejail/libreoffice.profile as root, and replace all the contents with https://github.com/netblue30/firejail/b ... ce.profile

3. Install the latest release from SourceForge. If you take this route, you'll need to keep an eye out for future releases so you can update manually.
For 64-bit computers, the proper download is currently firejail_0.9.54_1_amd64.deb.
For 32-bit computers, you want firejail_0.9.54_1_i386.deb instead.

Cheers!
Fred
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Firejail and Mint 19

Post by phd21 »

Hi "Fred Barclay",

Thank you for providing this post. How long has there been a PPA for Firejail?

Regards,
Phil
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
User avatar
Fred Barclay
Level 12
Level 12
Posts: 4185
Joined: Sat Sep 13, 2014 11:12 am
Location: USA primarily

Re: Firejail and Mint 19

Post by Fred Barclay »

phd21 wrote: Tue Jul 17, 2018 8:36 pm How long has there been a PPA for Firejail?
I don't actually know! :mrgreen: It's through the same guy that packages firejail for the Ubuntu and Debian repos.
Image
"Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy."
- Albert Einstein
Post Reply

Return to “Tutorials”