I use Google calendar to manage all my appointments, because of the nice synchronization with android. But sometimes when I need to quickly check if I’m free on some day I want my calendar within a one-click distance.
The GNOME 3 shell has a built in calendar (which appears if you click on the top bar), which natively is managed by evolution. Since I don’t care for that (I use Thunderbird for Mails and … well nothing for my calendar), I was looking for a way to get my Google calendar data directly into the top bar.
It has a client server like architecture, meaning that whenever you open the gnome shell calendar it will dispatch a service call, that will somehow be answered by gnome-shell-google-calendar. I not sure how it exactly works, but what you need to take away from this is, that the script needs to be running all the time to answer to the gnome shell.
The best way to achieve this is to add it to your startup applications:
opens the “startup applications preferences” (It is beyond me, why the window title differs from the command). Click add, insert “gnome-shell-google-calendar” and you’re good to go.
At first start the script will ask for your Google login information and store the password within the gnome keyring.
In case you want to exclude specific calendars from being fed to gnome, you can do so by placing a file
.gnome-shell-google-calendar-excludes in your home directory and list the unwelcome calendars each on a separate line.