Firejail
Forum rules
Before you post please read how to get help
Before you post please read how to get help
Re: Firejail
Firecfg installs symbolics links to for the programs on your system for which there is a firejail profile, so that those programs are run with firejail by default. Uninstalling firejail wouldn't remove those symbolic links, but it would break them so that they aren't used—until you install firejail again.
I think you can remove them all with this command:
Or if you currently don't have firecfg installed you will have to delete them by hand. Should be easy to spot with:
Anything that is a symbolic link to firejail should be deleted to do the same thing as sudo firecfg --clean does.
sudo firecfg may also have placed modified .desktop files in ~/.local/share/applications/. That should be harmless and not play into your current issue.
I think you can remove them all with this command:
sudo firecfg --clean
Or if you currently don't have firecfg installed you will have to delete them by hand. Should be easy to spot with:
ls -l /usr/local/bin
Anything that is a symbolic link to firejail should be deleted to do the same thing as sudo firecfg --clean does.
sudo firecfg may also have placed modified .desktop files in ~/.local/share/applications/. That should be harmless and not play into your current issue.

- Pjotr
- Level 20
- Posts: 11461
- Joined: Mon Mar 07, 2011 10:18 am
- Location: The Netherlands (Holland)
- Contact:
Re: Firejail
Note that you need the latest stable Long Term Support Firejail from upstream, because the one in the repo's is only partly usable:
https://firejail.wordpress.com/download-2/
https://firejail.wordpress.com/download-2/
Tip: 10 things to do after installing Linux Mint 19.1 Tessa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
-
- Level 6
- Posts: 1484
- Joined: Tue Feb 21, 2017 8:13 pm
- Location: Alamogordo, New Mexico, USA
Re: Firejail
ok...so i have the same problem about removing other vestiges of firejail since i uninstalled it when i couldnt configure it to work with brave browser...so how "exactly" do i get rid of these entries...is there a sudo remove, autoremove, purge etc command i can use to do so?.
Code: Select all
damien@damien ~ $ ls -l /usr/local/bin
total 0
lrwxrwxrwx 1 root root 17 Oct 30 14:44 baobab -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 bleachbit -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 chromium-browser -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 display -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 ffmpeg -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 file-roller -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 firefox -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 gedit -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 gucharmap -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 highlight -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 less -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 mate-calc -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 mate-calculator -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 mpv -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 pdftotext -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 ping -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 pluma -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 ssh -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 strings -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 wget -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 xed -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 xfburn -> /usr/bin/firejail
lrwxrwxrwx 1 root root 17 Oct 30 14:44 xviewer -> /usr/bin/firejail
damien@damien ~ $
ORDO AB CHAO
Re: Firejail
This should do it if you don't have firecfg:
That finds all files in /usr/local/bin/ that are a link to /usr/bin/firejail, prints their name and then deletes them.
sudo find -P /usr/local/bin/ -lname /usr/bin/firejail -print -delete
That finds all files in /usr/local/bin/ that are a link to /usr/bin/firejail, prints their name and then deletes them.

-
- Level 6
- Posts: 1484
- Joined: Tue Feb 21, 2017 8:13 pm
- Location: Alamogordo, New Mexico, USA
Re: Firejail
thank-you xenopeek, that did the trick...DAMIEN
Code: Select all
damien@damien ~ $ ls -l /usr/local/bin
total 0
damien@damien ~ $
ORDO AB CHAO
Re: Firejail
Well, yes, in your case you could have just delete everything in the directory
The command makes sure any other readers don't delete other files by accident.


-
- Level 6
- Posts: 1484
- Joined: Tue Feb 21, 2017 8:13 pm
- Location: Alamogordo, New Mexico, USA
Re: Firejail
i guess you noticed i run a "lean, mean, clean, fighting machine" probably why my problems are exceedingly few in nature...lol.
ORDO AB CHAO