Pages

Tuesday, November 15, 2011

Chaged default calendar in Gnome 3 to Google Calendar

I wanted to use Google calendar for my default calendar in Gnome 3. I followed this tutorial from Webupd8 which integrated the notifications perfectly. But I still had one problem. When I clicked on the Open calendar  link it tried to execute evolution.

So to fix this, I wrote a simple script called it .firecal and saved it in my home directory. The script has one line

firefox https://www.google.com/calendar

 I made the script executable:

~$chmod +x .firecal

 Then in a terminal run :

~$gsettings set org.gnome.desktop.default-applications.office.calendar exec /home/user/.firecal


  Now when I click on the open calendar FireFox opens up Google calendar.