Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Indicator applet to synchronize Google Drive
Shell Python
branch: master
Failed to load latest commit information.
README.md Update README.md
drive-dark.png Uploaded
drive-light.png Uploaded
drive.png Uploaded
grive-indicator Changed "set sync interval" method, menu position and info, and deskt…
grive-indicator-screenshot-gnome-debian.png Gnome-Debian
grive-indicator-screenshot-mint.png Linux Mint
grive-indicator-screenshot.png Changed "set sync interval" method, menu position and info, and deskt…
grive-indicator-sudoers update
grive-indicator.desktop Major Update
grive-indicator_0.98_all.deb Changed "set sync interval" method, menu position and info, and deskt…
grive-restart Major Update
grive-sync Changed "set sync interval" method, menu position and info, and deskt…
grive_indicator.desktop Changed "set sync interval" method, menu position and info, and deskt…
icon4darktheme Changed "set sync interval" method, menu position and info, and deskt…
icon4lighttheme Changed "set sync interval" method, menu position and info, and deskt…
quit Update quit
restart Changed "set sync interval" method, menu position and info, and deskt…
set-interval Changed "set sync interval" method, menu position and info, and deskt…
setup-1-grive-indicator Changed "set sync interval" method, menu position and info, and deskt…
setup-2-grive Setup improved
status Changed "set sync interval" method, menu position and info, and deskt…

README.md

NOTICE

I've decided to stop working on this project because (1) development of grive has stopped some time ago, and (2) I've become convinced that ocamlfuse solution represents a better alternative (although without an indicator for now)

Further info:

https://github.com/astrada/google-drive-ocamlfuse

http://www.webupd8.org/2013/09/mount-google-drive-in-linux-with-google.html

grive-indicator

A very simple and lightweight indicator applet to synchronize with Google Drive using grive.

Based on the AMD indicator applet here: https://github.com/beidl/amd-indicator

Prerequisites

  1. Install "grive", "python-appindicator" and "zenity" (e.g. using using DEB package or "setup-1-grive-indicator" script as below), AND
  2. If using for the first time, have "grive" authenticated with your chosen Google account by (creating and) changing directory (cd) to "~/Google Drive" and then entering the terminal command "grive -a" in that directory (e.g. using "setup-2-grive" script as below).

Installation

  1. Extract and install the DEB file in the archive with "gdebi-gtk" application, and then make sure that Prerequisite 2 as above is met, if using this indicator for the first time, OR
  2. Make first "setup-1-grive-indicator" and then "setup-2-grive" script files executable and run in terminal in that order.

The "grive-indicator" should now be listed among startup applications and ready to start on next login.

Caution: In case of non-DEB installation, be aware that copying a file under system directory "/etc/sudoers.d" might make it impossible to use the "sudo" command if there's something wrong with the file. Therefore, it might be a good idea to keep this folder open in a Root Nautilus or Terminal window so that you can remove this file to remedy such a problem. It might also be safer to extract and copy at least that file from the DEB package.

Tests

Successfully tested under: Ubuntu 13.10 (Unity), Linux Mint 16 (Cinnamon), Siduction 13.2 (Xfce), Debian Gnome Shell

ToDo

  1. Add a list of recently changed items (e.g. using a command like: inotifywait -r -e modify,attrib,moved_to,moved_from,move_self,create,delete,delete_self "$HOME/Google Drive")
  2. Create a simple GUI for "grive" initial setup (attempts to include "setup-2-grive" script in DEB package under "postinst" failed).

Changelog

0.98: Changed "set sync interval" method, menu position and info, and desktop filename 0.97: Added "Sync Now / Restart" menu item 0.96: Fixed and enhanced INFO menu item to show Grive sync interval

Something went wrong with that request. Please try again.