Hi to you all and first thank's for your work on the jupyter notebook and jupyter lab ecosystem.
I am trying to setup an environment for an school setting on android tablets for using jupyter lab as teaching environment.
I already got quite fare with setting up termux and succeeded to get a working environment.
The remaining obstacle I am facing is automatic launching of the browser from the termux sandbox.
Seemingly when setting up the environment
c.NotebookApp.browser='termux-open-url %s'
within .jupyter/jupyter_notebook_config.py
when executing "$ jupyter lab" the attempt is made to open a sandbox-located file URL such as
file://some_sandbox_located_directory_name/jpserver-XXXX-open.html
. The issue is that on Android with termux the browser itself does not have access to termux' sandbox file directories and automatically
launching the web browser when starting jupyter fails.
I am convinced that anything would work well if one could make jupyter pass not the local-file URL to the browser app via the %s parameter but
a
http://localhost:8888 - style URL instead.
Is there any way to achieve that?
I am currently using jupyterlab version 4.2.5.
In order to achieve a smooth user experience for the pupils I consider it mandatory to provide some automatic launching process which avoids the need of copying the localhost URL to the clipboard and manually pasting the URL to a separately opened browser window ...
Any advice would be appreciated :-)!
Yours,
Björn