Notes about external (or 3rd party) tools on CoCalc.
We do not support Google Drive at present, but we plan to.
Following the instructions at https://www.dropbox.com/install-linux you can install it in a Linux Terminal. However, Dropbox recently made a very sad decision to not support Linux (except ext4 unencrypted, which is a nonstarter), so Dropbox is no longer possible with CoCalc.
First, despite the fact that you are accessing CoCalc through the internet, you are actually working in a highly restricted environment. Processes running inside a free project are not allowed to directly access the internet. (We do not allow such access for free users, since when we did, malicious users launched attacks on other computers from CoCalc.) Enable internet access by adding the “internet access” quota. See Project Upgrades.
Once you have enabled network access for your project, to use ssh from CoCalc to connect to GitHub you need to create an SSH key and explicitly allow that account/key access to GitHub.
- Make a new Linux Terminal in +New → Terminal or use an existing one
- Create an SSH key public/private key pair by typing the command ssh-keygen. (consult Setup SSH Keys for more information)
- Copy the
.ssh/id_rsa.pub(could be named similarly, but has the ending
.pub) to GitHub’s setting for setting up an additional key
Unfortunately, SSHFS is no longer supported in CoCalc due to security issues.
If you really, really need sshfs support, feel free to write to us (email@example.com), and we may consider implementing a workaround if there is sufficient interest.
Chrome absolutely doesn’t allow normal web applications to intercept certain keystrokes, which makes Emacs-in-a-terminal painful on some operating systems (esp. Linux/Windows). E.g., Ctrl-N brings up a new window, instead of going to the next line!
However, you can install the CoCalc chrome app from the app store or on Linux, type
to start the website as an “app”.
(If you use chromium instead, type
This is not a completely solution since in some cases, control-shift-minus and control-shift-plus still zoom in and out (on ChromeOS they zoom the entire desktop – every window, all icons, the time, etc., in and out!).
This is a major problem, because control-shift-minus is “undo” in emacs.
The workaround I currently use is to put this in my
and instead type “alt-u” for undo:
(define-key esc-map "u" 'undo)
Note that undo is also available by default through other key bindings, like C-x u and C-/. (Execute “M-x where-is undo”.) So there are other options available.
The following Sage/Python command modifies the
PATH variable to include
Sage looks for the
fricas executable in this
os.environ['PATH'] = '%s/bin:%s'%(os.environ['HOME'],os.environ['PATH'])
Restart the Sage worksheet to make sure the new version of FriCAS is started.
The Pentadactyl plugin is not compatible with the Codemirror editor in CoCalc. You can disable Pentadactyl for a particular page, perhaps by pressing Control+Z. CoCalc has it’s own Vim bindings for worksheets and editing files; to enable it, go to Project Settings (click the gear by your name in the upper right), then select Vim next to Editor → Bindings.