![]() Remove # from above and paste only the attributes as below for the browser you want to set as default.įor Firefox: c.NotebookApp.browser = u'open -a /Applications/Firefox.app %s'įor Google Chrome: c.NotebookApp.browser = u'open -a /Applications/Google\ Chrome.app %s' once you have opened the file in the editor you need to search for #c.NotebookApp.browser = ‘’ one trick for finding the file is to copy the path /Users/USERNAME/.jupyter/jupyter_notebook_config.py from the terminal and paste it in the address bar of firefox, as firefox will come up with a pop up with download option. ![]() Step 2: Now you need to open the file on any editor (ex: sublime text). Note: if you have earlier generated this file you can select Y to overwrite it. This file is the config file which we need to edit for changing the default browser. This will generate a file: jupyter_notebook_config.py Step 1 : open terminal and create an editable config file for Jupyter Notebook Type : jupyter notebook -generate-config
0 Comments
Leave a Reply. |