Target a specific Browser in a Panel app

Is there a way to target a specific Browser (say Chrome instead of Firefox) in
a Panel app. ? I launch my application like this:

panel serve --show ?

Or is it unconditionnaly the default browser on Linux ?


Interestingly so, yes there is! panel serve is a wrapper around bokeh serve and Bokeh does offer a way to customize the browser used to open the app when setting --show, with the environment variable BOKEH_BROWSER=<browser>:

BOKEH_BROWSER=chrome panel serve --show

You can find more info in their docs: Introduction — Bokeh 3.3.0 Documentation

Great! thanks @maximlt