Changing browser for IPython Notebook from system default

后端 未结 9 1102
南笙
南笙 2021-02-05 09:59

I would like to keep firefox as my system default browser on my Mac, but launch IPython Notebook in Chrome[1].

This answer led me to my ipython_notebook

9条回答
  •  故里飘歌
    2021-02-05 10:46

    This might not be the right things to do , but

    $ open -a Google\ Chrome http://localhost:8888
    $ open -a Firefox http://localhost:8888
    

    Works from me (only on mac) to open any url in one of the 2 browser.

    Use the --no-browser option and make an bash function that does that. Or even have a bookmark in Chrome.

提交回复
热议问题