I would like to sync my files with Google docs as described in the answer Is there a Google Drive client available? here.

Which worked, I can see my files.

But I cannot launch them. It seems Nautilus doesn't know which app to associate to the links. I tried associating the files to Chrome but that didn't work.

The links are in this form,


Files that are non-google-doc type, for example PDFs, do open from Nautilus from my google docs drive account.


Indeed, you cannot launch specific Google doc documents, spreadsheets or presentations. You must open these in Google Docs. In Google Docs, one can convert from the google doc format to LibreOffice or Microsoft formats. In that case, the documents become "regular" files which you will be able to launch in their associated application.

  • Thank you for the explanation. Of the dozen or so posts of adding the Google docs account to Nautilus, it would have been nice if one of them noted that! Would have saved me a day of trying to be hipster cool. – Martin Guthrie Sep 14 '18 at 14:55
  • Any statement that begins with "you cannot" means someone isn't trying hard enough – Evan Langlois May 27 '20 at 3:34

Install this as /usr/share/applications/google-docs.desktop. It's based on guesswork and observations so YMMV ...

[Desktop Entry]
Name=Google Docs
Exec=sh -c "xdg-open https://docs.google.com/document/d/$(basename %f)/edit"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.