On Linux, Chromium has a file /etc/chromium-browser/default, where i can set some flags, Brave has something like that?
On Arch Linux we use the following chromium-launcher, which knows how to read $XDG_CONFIG_HOME/chromium-flags.conf. Perhaps this is something that can be used for Brave as well?
This has been beautifully solved in the Arch Linux package for Brave using the following wrapper:
#!/bin/sh
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
BRAVE_USER_FLAGS_FILE="$XDG_CONFIG_HOME/brave-flags.conf"
if [[ -f $BRAVE_USER_FLAGS_FILE ]]; then
USER_FLAGS="$(cat $BRAVE_USER_FLAGS_FILE | sed 's/#.*//')"
fi
/usr/bin/brave $@ $USER_FLAGS
@rauldipeas you can try creating that file (/etc/chromium-browser/default) or also trying to create /etc/brave-browser/default. It should work, if Chromium supports it
I've used the solution @maximbaz shared in the past personally
Closing as I think the question is answered? Please re-open or just post again if the above doesn't work and we can help from there 馃槃
@bsclifton doesn't work :) Maybe just implement it on the /usr/bin script provided by brave?