In a bash script, I need to launch the user web browser. There seems to be many ways of doing this:
$BROWSER
xdg-open
You could use the following:
x-www-browser
It won't run the user's but rather the system's default X browser.
See: this thread.