Skip to content

Instantly share code, notes, and snippets.

@eklitzke
Last active April 29, 2023 13:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eklitzke/de3d0845c847513354dad7baf521ecda to your computer and use it in GitHub Desktop.
Save eklitzke/de3d0845c847513354dad7baf521ecda to your computer and use it in GitHub Desktop.
minimal working example of firefox with bubblewrap
#!/bin/sh
exec bwrap --ro-bind /usr /usr --ro-bind /bin /bin --ro-bind /etc /etc --bind ~/.cache/mozilla ~/.cache/mozilla --bind ~/.mozilla ~/.mozilla --ro-bind ~/.config/pulse ~/.config/pulse --bind /run/user/$UID/pulse /run/user/$UID/pulse --symlink usr/lib64 /lib64 --proc /proc --dev /dev --unshare-pid firefox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment