Ask Your Question
1

firefox tab completion sagemath

asked 2019-02-02 12:16:16 -0500

brettpim gravatar image

I recently upgraded my computer to Ubuntu 18.10. I think this may have upgraded my Firefox to 65.0. Now in Firefox I have two new (unwanted) behaviours

  • when I try to use tab-completion in the sagemath notebook, the browser moves the active element from the cell to the evaluate button.

  • when I press [backspace] in an empty cell it used to delete the cell and move the cursor to the previous cell. I would use this to delete a series of empty cells. Now it does nothing.

google-chrome is working fine

Is this a new behaviour in firefox, is it an OS/xorg issue or does it involve the sagemath notebook?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2019-02-03 04:38:38 -0500

tmonteil gravatar image

updated 2019-02-03 04:39:05 -0500

I am not sure about your actual problem since i am not running ubuntu 18.10, so that i can not reproduce your problem.

That said, i would strongly recommend to switch to the jupyter notebook, not only because it will fix your problem, but also since the Sage notebook is deprecated for a while and gets updated only to fix critical issues.

On the jupyter notebook, to remove a cell, just go into the command mode by typing on the ESC key (the left of the cell becomes blue), and then type x to remove the current cell.

edit flag offensive delete link more

Comments

How can I switch to jupyter notebook?

susanta gravatar imagesusanta ( 2019-02-04 09:21:49 -0500 )edit

From the terminal, run the command :

sage -n

You will get some wbpage that proposes you to migrate your sagenb worksheets into jupyter worksheets. Open them and save them into some directory.

Then, you can start the jupyter notebook directly by typing:

sage -n jupyter
tmonteil gravatar imagetmonteil ( 2019-02-04 09:49:23 -0500 )edit

Got it. Thanks

susanta gravatar imagesusanta ( 2019-02-04 12:47:56 -0500 )edit

I have switched sage on the two computers I control to use jupyter, but the sage server that my university provides needs to be updated before it can run jupyter. In the mean time I am still looking for a tab-completion fix in the old notebook with Firefox.

brettpim gravatar imagebrettpim ( 2019-02-05 10:05:47 -0500 )edit

Is there a tutorial on using sagemath with the jupyter notebooks? I have figure out some of the basic stuff but I logged out and when I tried loging back in it asked me for a "token" and said that I could obtain the token by running "jupyter notebook list" but this command produced:

Error executing Jupyter command 'notebook': [Errno 2] No such file or directory

brettpim gravatar imagebrettpim ( 2019-02-05 10:23:52 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2019-02-02 12:16:16 -0500

Seen: 188 times

Last updated: Feb 03