2

I've set up jupyter notebook to open in Opera on Ubuntu (Chrome and lastpass don't work well with jupyter). I followed this guide.

However, when I open jupyter notebook from the terminal, it takes me to http://openurl%28http//localhost:8888/tree,new-page) instead of http://localhost:8888/tree.

The proper url is still opened fine on Chrome. Running Anaconda Python 3 on Ubuntu 16.04.

Any ideas?

2 Answers 2

5

Set this in your jupyter_notebook_config.py (assuming you installed Opera in /usr/bin)

c.NotebookApp.browser = '/usr/bin/opera %s' 
Sign up to request clarification or add additional context in comments.

3 Comments

Fixed a problem that was a real pain for me. Jupyter Notebook now opens Opera like a charm. Adding the %s was the key.
The "%s" works for windows as well, thank you! ` ` c.NotebookApp.browser = 'C:/Program Files/Opera/launcher.exe %s'
For someone who's new to Anaconda or Jupyter notebooks, here's how to find the jupyter_notebook_config.py file
1

According to this issue (https://github.com/jupyter/notebook/issues/1832), disabling the turbo mode might help.

1 Comment

Thanks, but turbo mode was already off. No difference if it was on or off.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.