Prevent Appimage to Access Network
~1 minute read
Preventing an Appimage to access network while adding a shortcut to Cinnamon to quickly start the program.
I started to use Cura again to keep moving forward with my RC Car project and one way to use the latest version with Linux Mint is the Appimage.
I prefer when Appimages do not have access to network resources and using firejail seems to be the easiest solution.
- First, we need to install the package:
sudo apt install firejail - We add a shortcut to Cinnamon menu:
- Right-click on the LM logo
- Click on Edit menu
- Go to the category where you want to add the shortcut
- Click on New Item
- The Command line should be:
firejail --noprofile --net=none --appimage /home/$USER/Apps/my.app.id
When I open Cura, I do not have access to the marketplace (plugins library), which was the expected behavior.
Resources
- Firejail (firejail.wordpress.com)