google chrome - How to change the default browser used by the ipython/jupyter notebook in Linux? -
i'm on linux mint 17.3. how change default browser used jupyter notebook? i've installed notebook part of anaconda 3, , opens in default browser, chrome. reason, chrome won't let me make new ipynb. clicking 'new' button doesn't anything.so copied notebook url firefox, , works fine there.
is there way can make work chrome? otherwise, how change default browser? usual answer i've come across i've gotta change c.notebookapp.browser
option, can't find way so, since trying find ipython_notebook_config
in terminal comes 4 results:
./anaconda3/lib/python3.5/site-packages/jupyter_core/tests/dotipython/profile_default/ipython_notebook_config.py ./anaconda3/lib/python3.5/site-packages/jupyter_core/tests/dotipython_empty/profile_default/ipython_notebook_config.py ./anaconda3/pkgs/jupyter_core-4.0.6-py35_0/lib/python3.5/site-packages/jupyter_core/tests/dotipython/profile_default/ipython_notebook_config.py ./anaconda3/pkgs/jupyter_core-4.0.6-py35_0/lib/python3.5/site-packages/jupyter_core/tests/dotipython_empty/profile_default/ipython_notebook_config.py
you can create jupyter_notebook_config.py
by:
jupyter notebook --generate-config
then go to
~/.jupyter/jupyter_notebook_config.py
and change
# c.notebookapp.browser = ''
to example:
c.notebookapp.browser = '/usr/bin/google-chrome'
you can choose ever browser installed. you'll find path example typing which firefox
not forget delete #
Comments
Post a Comment