[GH-ISSUE #3937] dolphin: cannot start keepassxc #2458

Closed
opened 2026-05-05 09:08:32 -06:00 by gitea-mirror · 8 comments
Owner

Originally created by @MrFrank17 on GitHub (Jan 31, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3937

Hi,

till now I was starting KeepassXC through the KDE start menu and everything worked as expected.
However, if I start it by opening an associated database file in the KDE file browser dolphin, the KeepassXC profile seems not be loaded (eg KeepassXC cannot access its own configuration files in .config). Also it is not listed in firejail --list.
Is this expected behavior when starting it within the scope of another application (dolphin in this case)?

Thanks
Frank

Related commits:

  • 12d1de484 ("remove dophin from firecfg.config", 2021-05-26)
Originally created by @MrFrank17 on GitHub (Jan 31, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/3937 Hi, till now I was starting KeepassXC through the KDE start menu and everything worked as expected. However, if I start it by opening an associated database file in the KDE file browser dolphin, the KeepassXC profile seems not be loaded (eg KeepassXC cannot access its own configuration files in .config). Also it is not listed in `firejail --list`. Is this expected behavior when starting it within the scope of another application (dolphin in this case)? Thanks Frank Related commits: * 12d1de484 ("remove dophin from firecfg.config", 2021-05-26)
gitea-mirror 2026-05-05 09:08:32 -06:00
  • closed this issue
  • added the
    firecfg
    label
Author
Owner

@rusty-snake commented on GitHub (Jan 31, 2021):

Is this expected behavior when starting it within the scope of another application (dolphin in this case)?

If this other application is firejailed too, yes.

<!-- gh-comment-id:770394119 --> @rusty-snake commented on GitHub (Jan 31, 2021): > Is this expected behavior when starting it within the scope of another application (dolphin in this case)? If this other application is firejailed too, yes.
Author
Owner

@MrFrank17 commented on GitHub (Jan 31, 2021):

Ok, then I guess I can close this issue ...
Thanks for the quick reply!

<!-- gh-comment-id:770394903 --> @MrFrank17 commented on GitHub (Jan 31, 2021): Ok, then I guess I can close this issue ... Thanks for the quick reply!
Author
Owner

@MrFrank17 commented on GitHub (Feb 2, 2021):

After closing this issue a question came to my mind, therefore I reopen it and hope @rusty-snake or someone still reads it.
To my understanding opening a program from another program still uses the profile of the first one, even if the second has its own.
How do you handle in this case file browsers with firejail? All opened files from the file browser (office, pdf, ...) would never use its designated profile. Is the solution to not firejail a file browser?

<!-- gh-comment-id:771991021 --> @MrFrank17 commented on GitHub (Feb 2, 2021): After closing this issue a question came to my mind, therefore I reopen it and hope @rusty-snake or someone still reads it. To my understanding opening a program from another program still uses the profile of the first one, even if the second has its own. How do you handle in this case file browsers with firejail? All opened files from the file browser (office, pdf, ...) would never use its designated profile. Is the solution to **not** firejail a file browser?
Author
Owner

@rusty-snake commented on GitHub (Feb 3, 2021):

Is the solution to not firejail a file browser?

Yes. Dolphin is the only file browser in firecfg.config (for any reasons). If you disable thumbnails or sandbox the thumbnailers and don't use it for remote file access e.g. smb, there is no much risk left.

<!-- gh-comment-id:772284032 --> @rusty-snake commented on GitHub (Feb 3, 2021): > Is the solution to not firejail a file browser? Yes. Dolphin is the only file browser in firecfg.config (for any reasons). If you disable thumbnails or sandbox the thumbnailers and don't use it for remote file access e.g. smb, there is no much risk left.
Author
Owner

@MrFrank17 commented on GitHub (Feb 3, 2021):

Edit: I found the firecfg.conf in /usr/lib/x86_64-linux-gnu/firejail and commenting out dolphin works as expected. krunner is already commented out, probably for the exactly same reason.

Do you (or someone else) know which program is doing the thumbnailing in dolphin? This would really be my preferred option to sandbox this process instead of turning of thumbnails all together.

Thanks

<!-- gh-comment-id:772713021 --> @MrFrank17 commented on GitHub (Feb 3, 2021): Edit: I found the `firecfg.conf` in `/usr/lib/x86_64-linux-gnu/firejail` and commenting out dolphin works as expected. `krunner` is already commented out, probably for the exactly same reason. Do you (or someone else) know which program is doing the thumbnailing in dolphin? This would really be my preferred option to sandbox this process instead of turning of thumbnails all together. Thanks
Author
Owner

@rusty-snake commented on GitHub (Feb 3, 2021):

Different thumbnail-programs are used depending on the file-format and installing new programs can add additional (krita, xournalpp and mypaint are example that I remember). So I suggest you to disable all thumbnailers expect for mp4,png,jpg,what else you need. IIRC has dolphin many settings for that.

<!-- gh-comment-id:772792742 --> @rusty-snake commented on GitHub (Feb 3, 2021): Different thumbnail-programs are used depending on the file-format and installing new programs can add additional (krita, xournalpp and mypaint are example that I remember). So I suggest you to disable all thumbnailers expect for mp4,png,jpg,what else you need. IIRC has dolphin many settings for that.
Author
Owner

@MrFrank17 commented on GitHub (Feb 5, 2021):

Yes, dolphin has many options to toggle thumb-nailing.
I guess this is more smooth than trying to sandbox the programs ...

<!-- gh-comment-id:774341402 --> @MrFrank17 commented on GitHub (Feb 5, 2021): Yes, dolphin has many options to toggle thumb-nailing. I guess this is more smooth than trying to sandbox the programs ...
Author
Owner

@rusty-snake commented on GitHub (Mar 8, 2021):

I'm closing here due to inactivity, please fell free to request to reopen if you have more questions.

<!-- gh-comment-id:793001194 --> @rusty-snake commented on GitHub (Mar 8, 2021): I'm closing here due to inactivity, please fell free to request to reopen if you have more questions.
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#2458
No description provided.