this post was submitted on 20 Jun 2023
9 points (100.0% liked)
Arch Linux
7791 readers
4 users here now
The beloved lightweight distro
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
From what I understand, bubblewrap is supposed be configured by passing flags from the command line. It seems that the way to "configure" bubblewrap is to create wrapper scripts. For example make
/usr/local/bin
with the following contentsAs it's not very practical to figure out a good sandbox from scratch for each and every program you use, you probably want to find scripts from other users or tools that build on top of bubblewrap and are bundled with profiles. The wiki article has examples of both.
I see. So where can I find such scripts? I want to sandbox Steam, Discord and Firefox.
I don't use it so I don't have first-hand experience. Like I said, the wiki has some examples and links for reference.
FYI firejail comes with bundled configs for the three apps you mentioned among others. It should play with little or zero tinkering. Maybe give firejail a try if you find bubblewrap hard to setup.