Archives For November 30, 1999

Google Calendar desktop widget command line

Gcalcli is a command line tool for Linux users to manage Google Calendar. It allows you to get your agenda, search for, add, delete, edit events and even import those annoying ICS/vCal invites from Microsoft Exchange and/or other sources.

Additionally, gcalcli can be used as a reminder service and execute any application you want when an event is coming up.

Gcalcli features:

  • OAuth2 authention with your Google account
  • list your calendars
  • show an agenda using a specified start/end date and time
  • ascii text graphical calendar display with variable width
  • search for past and/or future events
  • “quick add” new events to a specified calendar
  • “add” a new event to a specified calendar (interactively or automatically)
  • “delete” event(s) from a calendar(s) (interactively or automatically)
  • “edit” event(s) interactively
  • import events from ICS/vCal files to a specified calendar
  • support for URL shortening via
  • easy integration with your favorite mail client (attachment handler)
  • run as a cron job and execute a command for reminders
  • work against specific calendars (by calendar name w/ regex)
  • flag file support for specifying option defaults
  • colored output and unicode character support
  • super fun hacking with shell scripts, cron, screen, tmux, conky, etc

Install Gcalcli in Ubuntu:

This python app is available in the default repositories of Ubuntu 14.04, Ubuntu 14.10, and Ubuntu 12.04. So we can easily install it by running below command (or via Software Center):

sudo apt-get install gcalcli

For Ubuntu 14.04 LTS, due to this bug, we need to download & install the latest parsedatetime 1.2 to get gcalcli work.

cd /tmp


sudo dpkg -i python-parsedatetime_1.2-1_all.deb

How to Use Gcalcli:

Before getting started, set up your Google Account via:

nano ~/.gcalclirc

Type in below as its content:


After saving the changes by Ctrl+X, type y, and hit Enter, use the tool via below commands:

To get your agenda:

gcalcli agenda

To get a month agenda in a nice calendar format:

gcalcli calm

Quick add an event:

gcalcli quick 'text here'

For more, run:

gcalcli --help

Display Google Calendar as Desktop Widget:

With this command line tool, you can also display Google Calendar on your desktop through conky. To do so, first install the required packages:

sudo apt-get install conky ttf-dejavu ttf-dejavu-core ttf-dejavu-extra

Then download the conky script (thanks to

cd && wget && mv .conkyrc.txt .conkyrc

Finally run conky from terminal or Alt+F2 command box and you’ll see something like below:

via: github,

Atareao team has updated its indicator app for Google Calendar with fixes of broken icon on Xfce, Gnome, and crash issue on launch.

Calendar indicator is an indicator applet that brings Google Calendar on your Ubuntu desktop. Besides displaying your events on Ubuntu panel, it has all basic Google Calendar features.

The latest update fixed two bugs on Ubuntu 14.04:

  • Fixed the broken indicator icon on Xfce or Gnome-flashback. bug #1312091
  • Fixed indicator crash issue on start bug #1234436

Install Calendar indicator in Ubuntu 14.04:

The new update was made into the developer’s PPA, available for Ubuntu 14.04 and its derivatives. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run below commands one by one:

sudo add-apt-repository ppa:atareao/atareao

sudo apt-get update

sudo apt-get install calendar-indicator

If you’re using touchpad-indicator and have the broken icon issue, run:

sudo apt-get install touchpad-indicator

Calendar-indicator is a system tray applet which integrates Google Calendar into Ubuntu Unity Desktop. It allows to quickly add new calendar / event, sync with Google Calendar, and more.

The developer has made this app with Ubuntu 13.10 Saucy support, and this tutorail shows you how to install it via PPA repository.

Tutorial Objectives:

  • Install Google Calendar indicator in Ubuntu 13.10
  • Enjoy!

To get started, press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run command below to add the PPA:

sudo add-apt-repository ppa:atareao/atareao

Then update system package lists:

sudo apt-get update

Finally install the indicator:

sudo apt-get install calendar-indicator

Once installed, open calendar-indicator from Unity Dash. Turn on “Allow access to Google Calendar” and authenticate with your Google account.

Google Calendar indicator ubuntu 13.10