Firejail Chrome/FireFox on GNOME

  1. Install firejail

  2. Edit shortcuts to run with Firejail

    • /usr/share/applications/google-chrome.desktop
    • /usr/share/applications/firefox.desktop

Chrome

Replace Exec= with Exec=firejail --profile=/etc/firejail/google-chrome.profile <old command here>

FireFox

Replace Exec= with Exec=firejail --profile=/etc/firejail/firefox.profile <old command here>


Restart Chrome/FireFox and see if Firejail is now running with the command sudo firejail --top.