谢谢!
有一个脚本可以在Ubuntu Forums上使其工作。
sudo add-apt-repository ppa:conky-companions/ppa
sudo apt-get update && sudo apt-get install conkygooglecalendar
将以下内容添加到你的 .conkyrc 文件中:
${execpi 1800 conkyGoogleCalendar
--username=yourname@gmail.com --password=yourpassword --daysahead=30 --dateformat="%a %d %b, %y" --requestCalendarNames="MyCalendar1;MyCalendar2"
--template=~/scripts/conkyGoogleCalendar.template}
将 MyCalendar1 和 MyCalendar2 替换为你的日历/任务名称。 创建一个模板,在这种情况下,有一个名为 conkyGoogleCalendar.template 的模板位于 ~/scripts/ 目录中。 以下是模板的例子:
${color4}${font Ubuntusize=10}事件:${font Ubuntu:bold:size=10} ${color3}[标题]
${color2}${font Ubuntu:size=8}开始时间:$font ${color1}[开始时间]
${color2}${font Ubuntu:size=8}结束时间:$font ${color1}[结束时间]
${color2}${font Ubuntu:size=8}描述:$font ${color1}[description]
${color2}${font Ubuntu:size=8}地点:$font ${color1}[location]
您可以在“Conky伴侣”这里查看。
软件包中有一个带有清晰指示的README文件。