Firejail and Mint 19

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
User avatar
Fred Barclay
Level 12
Level 12
Posts: 4138
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Firejail and Mint 19

Post by Fred Barclay » Tue Jul 17, 2018 2:19 pm

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

User avatar
phd21
Level 16
Level 16
Posts: 6536
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Firejail and Mint 19

Post by phd21 » Tue Jul 17, 2018 8:36 pm

Hi "Fred Barclay",

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

Regards,
Phil
Phd21: Mint KDE 17.3 & 18.3, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
Fred Barclay
Level 12
Level 12
Posts: 4138
Joined: Sat Sep 13, 2014 11:12 am
Location: Bumping around in the bush

Re: Firejail and Mint 19

Post by Fred Barclay » Tue Jul 17, 2018 10:04 pm

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”