This is simple tutorial on getting your Google Calendar into Conky.
1. First,we need install Gcalcli,which is a command line tool that lets you access your Google Calendar in a terminal.
Just run this command (Applications->Accessories->Terminal) to install Gcalcli from default repository:
sudo apt-get install gcalcli
use this command to create a config file with the Google Calendar login information.
gedit ~/.gcalclirc
previous command creates a config file in home folder and opens the file.We need copy and paste following into the file and save it.
[gcalcli] user: yourusername pw: yourpassword
Pay attention: replace “yourusername” and “yourpassword” with your Google username ( don’t include the “@gmail.com” part) and password
2. Install conky with this command:
sudo apt-get install conky
edit the config file:
gedit ~/.conkyrc
copy and paste following,then save the config file:
alignment top_right background no border_width 0 cpu_avg_samples 2 default_color white default_outline_color white default_shade_color white draw_borders no draw_graph_borders yes draw_outline no draw_shades no use_xft yes xftfont DejaVu Sans Mono:size=12 gap_x 5 gap_y 60 minimum_size 5 5 net_avg_samples 2 double_buffer yes out_to_console no out_to_stderr no extra_newline no own_window yes own_window_class Conky own_window_type override own_window_transparent yes own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager stippled_borders 0 update_interval 1.0 uppercase no use_spacer none show_graph_scale no show_graph_range no text_buffer_size 8096 TEXT ${execi 300 gcalcli --nc --cals=owner calw 4}
3. Finally,make Google Calendar run when Conky startup.
edit this file:
gedit ~/conkystart
copy and paste following,then save the file:
#!/bin/bashsleep 50 && conky
Now,run conky
in terminal and see:
BTW:You can add conky as a new startup application at System > Preferences > Startup Applications.