Google Calendar is one of the most popular Web applications nowadays. Users can access or synchronize Google Calendar across devices through network interfaces or local applications. On Linux, there are many ways to access Google Calendar locally, such as using e-mail client plug-ins (such as Evolution or Thunderbird) or using Calendar applications (such as Sunbird or Rainklendar ). These methods usually require installation of unnecessary large software, which you may not need at all.
If you just want to flip Google Calendar on the local Linux or use it to set a reminder, you can consider using the Google Calendar command line interface (or gcalcli ), this is a lighter method. For Linux Desktop Users, there are more than these benefits. If you use gcalcli with Conky, You can transparently integrate Google Calendar into the desktop topic.
In this tutorial, I will show you how to use gcalcli and Conky to integrate Google Calendar into Linux Desktop
Install gcalcli in Linux
Before installing gcalcli, make sure that you are using Python 2 instead of Python 3 because Python 3 is incompatible with gcalcli.
Run the following command to install gcalcli On Debian, Ubuntu, or Linux Mint:
$ Sudo apt-get install git python-pip python-gdata python-dateutil python-gflags python-vobject python-parsedatetime
$ Sudo pip install google-api-python-client
$ Sudo pip install apiclient urllib3
$ Git clone https://github.com/insanum/gcalcli.git
$ Cd gcalcli
$ Sudo python setup. py install
Note: Although gcalcli is available in the Ubuntu or Linux Mint software library, these versions do not contain the latest features and fix bugs. Therefore, we recommend that you build gcalcli from the source file as described above.
You can install Fedora, CentOS, or RHEL as follows.
$ Sudo yum install git python-pip python-gdata python-dateutil python-gflags python-vobject
$ Sudo pip install google-api-python-client
$ Sudo pip install apiclient urllib3
$ Git clone https://github.com/insanum/gcalcli.git
$ Cd gcalcli
$ Sudo python setup. py install