chrome interface problems

21 views
Skip to first unread message

a.m...@inrim.it

unread,
Dec 6, 2018, 3:28:33 AM12/6/18
to Project Jupyter
Sorry, I'm a newbie with Jupyter (on chrome, Linux),
but I run into a problem: 
due to my inexperience, I often made this mistake: after inserting a new line (above or below: A or B) I start writing immediately, believing that I'm already inside the cell, and not still in (I think it's called) command mode...
Needless to say, doing this I inserted a lot of commands without intention.
Last time it happened, I noticed that 1) my notebooks are not tabbed anymore, and 2) my left sidebar (files, running, commands...) disappeared.
I thought I entered without wanting into single document mode, but ctrl-shift-enter does nothing.

Can you help me please?

Alessandro



Screenshot_J.png

Chris Holdgraf

unread,
Dec 6, 2018, 9:32:06 AM12/6/18
to jup...@googlegroups.com
Hello! I you mention a sidebar - perhaps you were running "JupyterLab" before, and switched to the "Jupyter Notebook" interface accidentally? Try replacing everything after the "8888" with "lab". 

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/aefead89-720a-4a63-84d4-7ff6ed182f7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

a.m...@inrim.it

unread,
Dec 6, 2018, 9:46:43 AM12/6/18
to Project Jupyter
thank you for the idea!
But I dont think so, I start it with the alias
alias jup='cd /0ale;jupyter notebook --allow-root'

and here's the output:

[root@lambda ~]# jup
[I 09:10:03.860 NotebookApp] JupyterLab extension loaded from /usr/lib/python2.7/site-packages/jupyterlab
[I 09:10:03.860 NotebookApp] JupyterLab application directory is /usr/share/jupyter/lab
[I 09:10:03.867 NotebookApp] Serving notebooks from local directory:/0ale
[I 09:10:03.868 NotebookApp] 0 active kernels
[I 09:10:03.868 NotebookApp] The Jupyter Notebook is running at:
[I 09:10:03.868 NotebookApp] http://localhost:8888/
[I 09:10:03.868 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 09:10:04.095 NotebookApp] 302 GET /tree (::1) 2.41ms
[I 09:10:04.546 NotebookApp] 302 GET /login?next=%2Ftree (::1) 1.63ms
[I 09:10:04.557 NotebookApp] 302 GET /login?next=%2Ftree (::1) 0.64ms
[I 09:10:46.017 NotebookApp] Kernel started: df0dcc95-8356-4250-9f56-aaee5c314055
[I 09:10:46.033 NotebookApp] 302 GET /notebooks/High%20Frequency/SW/DMI/vlaminck1.png (::1) 1.73ms



Chris Holdgraf

unread,
Dec 6, 2018, 9:51:53 AM12/6/18
to jup...@googlegroups.com
Do you have an image of how the interface looked before stuff disappeared? Or how you 'expect' it to look? Maybe that'll help debug

a.m...@inrim.it

unread,
Dec 6, 2018, 10:13:00 AM12/6/18
to Project Jupyter
using the example in https://jupyterlab.readthedocs.io/en/stable/user/interface.html, that was exactly how it appeared to me before!
jup2.png

Jason Grout

unread,
Dec 6, 2018, 10:36:42 AM12/6/18
to jup...@googlegroups.com
It does indeed sound like you switched to single-document mode.

Control Shift Enter does not switch single-document mode anymore (people were accidentally triggering the mode too much). Now you'll need to switch out of it using the View menu, or the shortcut shown there (Shift Command D or Control Shift D on Windows?).

Thanks,

Jason



a.m...@inrim.it

unread,
Dec 6, 2018, 10:48:35 AM12/6/18
to Project Jupyter
that's what I thought...
unfortunately, my View menu currently contains just 1) Toggle header 2) Toggle toolbar 3) Toggle linenumbers 4) Cell toolbar,
and none of these work.
I'm on Linux/Chrome, and the shortcuts you suggested (or some variations of them) dont work (just ctrl+shift+d gives me a "bookmark all tabs" ...)

Jason Grout

unread,
Dec 6, 2018, 11:03:01 AM12/6/18
to jup...@googlegroups.com
Ah, I think Chris is right, then. You're not in JupyterLab, that's the View menu from the classic notebook, so you likely switched to the classic notebook interface somehow. Perhaps you can change your alias you start with to use `jupyter lab` instead of `jupyter notebook`?

Jason




a.m...@inrim.it

unread,
Dec 6, 2018, 11:10:51 AM12/6/18
to Project Jupyter
what an idiot, you're right...
I defined TWO alias, jup and juplab,
then after a busy weekend I promptly forgot about juplab & started using jup ...

please all of you excuse me for the loss of time, and thank you!

alessandro
Reply all
Reply to author
Forward
0 new messages