[GH-ISSUE #234] firejail desktop integration #163

Closed
opened 2026-05-05 05:12:29 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @rahiel on GitHub (Jan 18, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/234

Thanks again for firejail!

The new symlink invocation sounds great, it's something I was looking for when I started to use firejail. Are you also interested in making an interface in firejail to manage the symlinks? For example, AppArmor has aa-enforce/aa-disable commands to enforce profiles and aa-status to see which ones are enabled/disabled. If this was then used in a GUI, using would firejail would be very easy.

Originally created by @rahiel on GitHub (Jan 18, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/234 Thanks again for firejail! The new symlink invocation sounds great, it's something I was looking for when I started to use firejail. Are you also interested in making an interface in firejail to manage the symlinks? For example, AppArmor has aa-enforce/aa-disable commands to enforce profiles and aa-status to see which ones are enabled/disabled. If this was then used in a GUI, using would firejail would be very easy.
gitea-mirror 2026-05-05 05:12:29 -06:00
Author
Owner

@netblue30 commented on GitHub (Jan 19, 2016):

That's a good idea, I'll build a small tool to manage the symlinks. Thanks.

<!-- gh-comment-id:172892617 --> @netblue30 commented on GitHub (Jan 19, 2016): That's a good idea, I'll build a small tool to manage the symlinks. Thanks.
Author
Owner

@derba commented on GitHub (Jan 25, 2016):

I created a generic executable at /usr/local/bin/firejail-wrapper:

#!/bin/sh
me=`dirname $0`
PATH=`echo $PATH | sed -r "s%^(.*:|)$me:%\1%"`
firejail `basename $0` $@

And just added symlinks to it, such as this one:
ln -s /usr/local/bin/firejail-wrapper /usr/local/bin/firefox
And voila, Firefox started from command line, Unity, etc, starts in Firejail.

<!-- gh-comment-id:174453309 --> @derba commented on GitHub (Jan 25, 2016): I created a generic executable at /usr/local/bin/firejail-wrapper: ``` sh #!/bin/sh me=`dirname $0` PATH=`echo $PATH | sed -r "s%^(.*:|)$me:%\1%"` firejail `basename $0` $@ ``` And just added symlinks to it, such as this one: `ln -s /usr/local/bin/firejail-wrapper /usr/local/bin/firefox` And voila, Firefox started from command line, Unity, etc, starts in Firejail.
Author
Owner

@rahiel commented on GitHub (Feb 9, 2016):

I made a little tool that modifies the desktop files to start the programs with firejail. (It also remodifies them on updates if you install the deb). Its usage shows the interface I had in mind.

<!-- gh-comment-id:181906928 --> @rahiel commented on GitHub (Feb 9, 2016): I made a little tool that modifies the desktop files to start the programs with firejail. (It also remodifies them on updates if you install the deb). Its [usage](https://github.com/rahiel/firectl#usage) shows the interface I had in mind.
Author
Owner

@netblue30 commented on GitHub (Feb 11, 2016):

@rahiel

Thanks, I added a link for Firectl on the main project webpage: https://firejail.wordpress.com/

<!-- gh-comment-id:182966882 --> @netblue30 commented on GitHub (Feb 11, 2016): @rahiel Thanks, I added a link for Firectl on the main project webpage: https://firejail.wordpress.com/
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#163
No description provided.