How to change the default browser used by the ipython/jupyter notebook in Linux?

You can create jupyter_notebook_config.py by:

jupyter notebook --generate-config

Then you go to

~/.jupyter/jupyter_notebook_config.py

and change

# c.NotebookApp.browser=""

to for example:

c.NotebookApp.browser="/usr/bin/google-chrome %s"

You can choose which ever browser is installed. You’ll find the path for example by typing which firefox
Do not forget to delete the #

Leave a Comment