Control firejail desktop integration.
Firectl is a tool to integrate firejail sandboxing in the Linux desktop. Enable firejail for an application and enjoy a more secure desktop.
To see which applications you can enable:
To enable firejail for a program:
sudo firectl enable firefox
To disable firejail for a program:
sudo firectl disable firefox
After enabling a program, it will start within a firejail when launched via the menu or the file manager. To test if it’s working: open a terminal and execute watch firejail --list. This lists all active firejail sandboxes. Then start an enabled application and look for it in that terminal. Note that applications launched from the terminal or from scripts will not be in a firejail, unless explicitly done so.
Firectl was made before Firejail had its own tool for desktop integration. Now firejail ships with a tool called firecfg. Look at its manual: man firecfg and decide if you still need firectl or if firecfg is enough.
For Debian and Ubuntu systems install the deb at https://github.com/rahiel/firectl/releases.
Firectl works by modifying the system’s desktop files, the files that tell the system which user applications are installed and how to run them. When these applications are updated, the desktop files are also updated, disabling firejail. The firectl settings need to be restored. (Note that for Debian/Ubuntu systems, installing the deb file takes care of this and no manual restoring is necessary.)
For now you have to manually restore firejail settings after upgrades:
sudo firectl restore
Install firectl with pip:
sudo pip3 install firectl
To uninstall firectl:
sudo firectl disable all sudo pip3 uninstall firectl sudo rm /etc/firejail/firectl.conf
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size firectl-1.0.1-py3-none-any.whl (7.0 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size firectl-1.0.1.tar.gz (4.5 kB)||File type Source||Python version None||Upload date||Hashes View|