Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to tell voila to use the other browser? #843

Closed
pllim opened this issue Feb 24, 2021 · 2 comments
Closed

How to tell voila to use the other browser? #843

pllim opened this issue Feb 24, 2021 · 2 comments
Milestone

Comments

@pllim
Copy link
Contributor

pllim commented Feb 24, 2021

I have this in my ~/.jupyter/jupyter_notebook_config.py:

c.NotebookApp.browser = '/usr/bin/google-chrome'

But when I run voila somenotebook.ipynb, it stubbornly uses the default browser:

START /usr/bin/firefox ...

I don't have enough privilege to change the system default browser on this machine, so how do I tell voila to use what I have set for jupyter?

Hope you can help. Thanks!

@jtpio
Copy link
Member

jtpio commented Feb 25, 2021

Thanks @pllim.

Maybe something like this would work?

voila --Voila.browser=/usr/bin/google-chrome

Or in a voila.py file:

c.Voila.browser = '/usr/bin/google-chrome'

@pllim
Copy link
Contributor Author

pllim commented Feb 25, 2021

Yes, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants