Adding Brave support to Profile Sync Daemon

Profile Sync Daemon (psd) moves browser profiles to tmpfs, reducing disk I/O and speeding things up. It ships with support for a number of browsers, but Brave is not always among them. Fortunately it is easy to add. Browser support files live in /usr/share/psd/browsers/. Each one is a small shell snippet that tells psd the process name and profile path for that browser. Create one for Brave: $ sudo tee /usr/share/psd/browsers/brave << 'EOF' # Profile-sync-daemon browser support for Brave DIRArr[0]="$XDG_CONFIG_HOME/BraveSoftware/Brave-Browser" PSNAME="brave" EOF Then open ~/.config/psd/psd.conf and add brave to the BROWSERS array: ...

March 25, 2026 · 1 min · alj

Using proxy pac with Chrome (and derivatives) and Linux

As many people know, Chrome (and other browser based on Chromium, at least Brave and Edge) still rely on the desktop’s proxy settings on Linux (I remember writing about this back in 2011). Under normal circumstances, it is as easy as running the program with --proxy-pac-url commandline switch, like so: $ brave --proxy-pac-url="https://example.com/proxy.pac" But what if you want to use a local file? At some point (around Chrome 77 it seems), Chrome stopped accepting file:// URLs for --proxy-pac-url. ...

February 7, 2021 · 1 min · alj