Skip to content

dnkmmr69420/brave-distrobox

Repository files navigation

Info

This is a docker image that has all three brave versions installed on a fedora distrobox container

This is powered by gum

Usage

Create the distrobox container

distrobox create -i ghcr.io/dnkmmr69420/brave:latest -n brave -p

You can use a custom home directory if you wanted to

distrobox create -i ghcr.io/dnkmmr69420/brave:latest -n brave -H ~/path/to/directory -p

Menu

To get the menu to show up again after exiting brave, type startup in the container

brave opt compatability

When you install a web app with brave, it executes brave in /opt which doesn't exist on the host. This script adds some bash scripts in /opt/brave.com to redirect to brave in distrobox. It runs the exported binaries. Requires root access to run. DO NOT USE IT IF YOU INSTALLED BRAVE ON THE HOST (flatpak, snap, and extracted archive versions do not count. Only when installed with the host system's package manager.).

curl -s https://raw.githubusercontent.com/dnkmmr69420/brave-distrobox/main/opt-compatability | sudo bash

To revert

sudo rm -rf /opt/brave.com