Using Firejail
- Open up a terminal window.
- Issue the command mkdir -p ~/. config/firejail.
- Change into the newly created directory.
- Copy the default profile into the newly created directory with the command cp /etc/firejail/generic. profile ~/. config/firejail/APPNAME. ...
- Edit the newly created profile to suit your needs.