How would I change the default tab displayed to the user when JupyterLab launches? In particular I’m looking to make it a Jupyter Notebook with certain instructions.
The closest I’ve gotten to in my search was this forum thread, but it talks about building extensions (in what seems like typescript) and is over my head.
Is there no simple way to configure the default tab? Or do I have to build an extension? If so, could you guys point to some examples on github?
Actually, it looks likes Jupyter Server 1.2.3 was broken and pulled from pypi. It looks like Jupyter Server 1.3.0 was released less than an hour ago on pypi, and probably still is being built for conda-forge.
I just checked after installing Jupyter Server 1.3.0 from pypi, and this works to open test.txt:
Unfortunately when I re-login into the server I still see launcher as the default landing page. The url also never attempts to go to /lab/tree/README.ipynb.
It can’t be the url itself because when I manually modify it, it does indeed go to the doc: https://xxxx.com/jupyter/user/ubuntu/lab/tree/README.ipynb.
It can’t be step #3 coz when I change other settings in the config file they do reflect. Eg I tried turning off the terminal and it disappeared from the launcher.
What am I missing?
PS Forgot to say earlier, I’m serving JupyterLab using JupyterHub over SSL. Not sure if relevant.
The fact you’re using JupyterHub is very relevant . The Jupyter ecosystem has several interacting components, so it’s always better to provide too much information than too little.
Though the behaviour may depend on the rest of your configuration, and also exactly what you want to achieve. Give that a go, and if it’s still not working then seeing your full configurations for everything might be helpful.