Originally Posted by
EarnestLearner
Hello all!
I am trying to get my Google Calendar to display on my desktop using Conky, however it is only displaying my calendar partially. I am running Ubuntu 12.10 with Xfce 4.10 desktop environment.
Here is my current conkyrc file:
Code:
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=10
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}
Note: When I run Conky, I get the following output in my terminal:
Code:
Conky: desktop window (e00003) is subwindow of root window (dc)
Conky: window type - override
Conky: drawing to created window (0x4200001)
Conky: drawing to double buffer
Traceback (most recent call last):
File "/usr/bin/gcalcli", line 1524, in <module>
BowChickaWowWow()
File "/usr/bin/gcalcli", line 1469, in BowChickaWowWow
gcal.CalQuery(args[0], count=int(args[1]))
File "/usr/bin/gcalcli", line 1011, in CalQuery
self._GraphEvents(cmd, start, count, eventList)
File "/usr/bin/gcalcli", line 712, in _GraphEvents
PrintMsg(CLR_NRM(), line + "\n")
File "/usr/bin/gcalcli", line 239, in PrintMsg
sys.stdout.write(unicode(msg, 'UTF-8'))
TypeError: decoding Unicode is not supported
Here is a screenshot of my desktop:
http://imgur.com/Ntiu0
Much thanks!
I tried to run gcalcli today and was met with the same error you had "unicode is not supported"
I ran this in terminal
Code:
gcalcli --nc --user "my user name" --pw "my password" calw 2
and got this...
Code:
+----------+----------+----------+----------+----------+----------+----------+
|Sunday |Monday |Tuesday |Wednesday |Thursday |Friday |Saturday |
+----------+----------+----------+----------+----------+----------+----------+
|13 Jan |14 Jan |15 Jan |16 Jan |17 Jan |18 Jan ** |19 Jan |
| | | | | | | |
Traceback (most recent call last):
File "/usr/bin/gcalcli", line 1524, in <module>
BowChickaWowWow()
File "/usr/bin/gcalcli", line 1469, in BowChickaWowWow
gcal.CalQuery(args[0], count=int(args[1]))
File "/usr/bin/gcalcli", line 1011, in CalQuery
self._GraphEvents(cmd, start, count, eventList)
File "/usr/bin/gcalcli", line 712, in _GraphEvents
PrintMsg(CLR_NRM(), line + "\n")
File "/usr/bin/gcalcli", line 239, in PrintMsg
sys.stdout.write(unicode(msg, 'UTF-8'))
TypeError: decoding Unicode is not supported
So perhaps gcalcli isn't supported anymore. It seems to be a pretty old program, most of the documentation I found for it was from 2008. I suspect google calendar has changed format too much for gcalcli to read now. Can anyone confirm if gcalcli is alive or dead?
Bookmarks