[GH-ISSUE #2305] Does --appimage use the default profile under /firejail/etc? #1534

Closed
opened 2026-05-05 08:11:56 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @oositP on GitHub (Dec 19, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2305

How would you run KeepassXC if using the Appimage of KeepassXC ?

If you run it with firejail --appimage --net=none KeepassXC will that still use the keepassxc.profile ?
Is the keepassxc.profile still needed if you use the above?

This would be good to know for other apps as well, unless you have already documented the differences between using the profile you have created and the --appimage switch (which i have not come across yet)

Originally created by @oositP on GitHub (Dec 19, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/2305 How would you run KeepassXC if using the Appimage of KeepassXC ? If you run it with `firejail --appimage --net=none KeepassXC` will that still use the keepassxc.profile ? Is the keepassxc.profile still needed if you use the above? This would be good to know for other apps as well, unless you have already documented the differences between using the profile you have created and the --appimage switch (which i have not come across yet)
Author
Owner

@oositP commented on GitHub (Dec 21, 2018):

I made sure and didnt see any documentation explaining the differences with running apps in general and running them with --appimage.
Does running any app with a profile in /firejail/etc normally and using --appimage still use the default profile under /firejail/etc?? can anyone please answer this?

<!-- gh-comment-id:449475073 --> @oositP commented on GitHub (Dec 21, 2018): I made sure and didnt see any documentation explaining the differences with running apps in general and running them with --appimage. Does running any app with a profile in /firejail/etc normally and using --appimage still use the default profile under /firejail/etc?? can anyone please answer this?
Author
Owner

@crass commented on GitHub (Jan 8, 2019):

First, you should be able to see if or what profile is being using by using the --debug option. There isn't much difference in running appimage or not when it comes to profile selection and application. In the case of KeepassXC, the profile keepassxc.profile will not be used because profile matching is case-sensitive, regardless of using --appimage or not.

On thing to watch out for is that appimages are many times suffixed with .appimage (eg. Firefox.appimage). So running firejail --appimage firefox.appimage will not use the profile firefox.profile because firejail is looking for firefox.appimage.profile. In most cases, you'll want to explicitly specify the profile you want to use for appimages (eg. firejail --profile firefox firefox.appimage)

<!-- gh-comment-id:452144066 --> @crass commented on GitHub (Jan 8, 2019): First, you should be able to see if or what profile is being using by using the `--debug` option. There isn't much difference in running appimage or not when it comes to profile selection and application. In the case of `KeepassXC`, the profile `keepassxc.profile` will not be used because profile matching is case-sensitive, regardless of using `--appimage` or not. On thing to watch out for is that appimages are many times suffixed with `.appimage` (eg. `Firefox.appimage`). So running `firejail --appimage firefox.appimage` will not use the profile `firefox.profile` because firejail is looking for `firefox.appimage.profile`. In most cases, you'll want to explicitly specify the profile you want to use for appimages (eg. `firejail --profile firefox firefox.appimage`)
Author
Owner

@oositP commented on GitHub (Jan 10, 2019):

Thanks @crass, thats exactly what i needed to know!

<!-- gh-comment-id:453066618 --> @oositP commented on GitHub (Jan 10, 2019): Thanks @crass, thats exactly what i needed to know!
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#1534
No description provided.