I have a jupyter notebook server where other people have access to and I'd like to hide the 'Quit' button: from all users in order to avoid server shutdown by accident.
How can I do it?
You want the c.NotebookApp.quit_button
option in your jupyter_notebook_config.py
file. The line to add is:
c.NotebookApp.quit_button = False
If you don't already have this file, create a new one by running:
jupyter notebook --generate-config
If you create the sample config file using that command, you should already see a commented-out version of the quit_button
option. Uncomment it and set it to false.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With