Add sample profiles for common software #155
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add profiles for common software
Add profiles for Chromium Wayland, Localsend, Telegram desktop, Thunderbird, Tor browser, Typora and Zotero.
Warning
As there are no guides of writing sample profiles, I wrote them based on the
services.toml
in bubblejail instance folders. There are differences betweenservices.toml
and the toml configs of sample profiles, so I wrote these based on existing profiles, but am not sure they are all correct.The services.toml in bubblejail instance folders all work on Arch Linux and latest Ubuntu, but the sample profiles ARE NOT fully tested, as I don't want to mess up with my local sandbox environments which took very much trouble to config. Please test before merge.
All the added profiles use wayland if possible and has least access to privileges and paths.
Some software like Chromium and Chromium-based browsers and APPs originally supports opening files by
chromium some_file
, but I cannot find a way to allow this using bubblejail configs alone. (Adding%F
or%U
in[common]
->executable_name
does not work.)So I use a workaround of adding flags in desktop entry files like:
to enable opening files from CLI/double-clicking using Chromium. When using this workaround, the fields in
[common]
in bubblejail config is not needed.Running Chromium using wayland on Arch Linux may require manually install
gtk3
, or may crash.