Choose a browser when launching URL, similarly to Choosy/Browserchooser/Browserosaurus

This will show how to select a given browser when opening a URL from other applications.

Similar applications on other platforms: Choosy, Browserchooser, Browserosaurus.

It has been tested on FreeBSD 13.2 and KDE.

1. Install this more up-to-date fork of Braus

Code:
$ cd ~/src/
$ git clone https://github.com/thecodejedi/braus
$ cd braus
$ meson build --prefix=/usr
$ ninja -C build install

2. Create a shell script

Code:
% cat browser-chooser.sh

#!/bin/sh

GSETTINGS_SCHEMA_DIR=~/src/braus/build/share/glib-2.0/schemas  ~/src/braus/build/bin/braus $1

3. Select script "browser-chooser.sh" as default "Web browser" app inside KDE's Default Application settings
20230813-01.png


4. Now, opening any URL will invoke Braus, from which any available browser can be chosen. Fonts/icons may not be perfect but functionality works smoothly.


20230813-02.png
 
Back
Top