Skip to content

Emacs and Google Drive

Using Emacs to edit Google Drive Documents

Tramp in Emacs let us have access to Google Drive. It is usually useful when we want to import some codes into our JupyterLab notebooks in the Google Colab. Here we briefly describe how to do so in Linux.

This method needs Emacs > 26.0 .

gvfs-daemon should be installed. Then log in to Google account from Online Account menu of the following software:

XDG_CURRENT_DESKTOP=GNOME gnome-control-center

If everything is fine, then you should be able to see the mounted volumes here:

gio mount –list

C-f in Emacs and run:

/gdrive:tul10139@temple.edu:/

or

~//gdrive:tul10139@temple.edu:/

The Google Drive should be seen in Dired.

Published inTools

Be First to Comment

Leave a Reply