Page 11 of 11 FirstFirst ... 91011
Results 101 to 108 of 108

Thread: Google Calendar into Conky

  1. #101
    Join Date
    Jul 2006
    Location
    Gujranwala, Pakistan
    Beans
    139
    Distro
    Ubuntu

    Re: Google Calendar into Conky

    I switched to the git version as well which implements oauth2 so u dont even a need a .gcalclirc

  2. #102
    Join Date
    May 2013
    Beans
    4

    Re: Google Calendar into Conky

    Hi there, i'm kinda new here, so if this post is in a bad section, i'm sorry for that
    So, i tried to use conky for viewing my google calendar, using a .conkyrc file as follows /found that one in a how-to somewhere/:

    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}

    but when i run conky from terminal, the output looks like this:
    Code:
    jakub@jakub-AO531h ~ $ conkyConky: desktop window (e00029) is subwindow of root window (ab)
    Conky: window type - override
    Conky: drawing to created window (0x3000001)
    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
    I've read many websites about this, yet still haven't found a solution, if i delete the .conkyrc file, conky works /then it looks like in an enclosed screenshot/.
    Thanks for any help
    J.

    Screenshot from 2013-05-08 08:19:32.png

  3. #103
    Join Date
    Oct 2010
    Location
    The United States
    Beans
    843
    Distro
    Ubuntu

    Re: Google Calendar into Conky

    Does gcalcli work correctly in the terminal? What version of gcalcli are you running?
    Thank you,
    GG -----------

  4. #104
    Join Date
    May 2013
    Beans
    4

    Re: Google Calendar into Conky

    yes, gcalcli works correctly.....i'm using version 2.1, obtained via apt-get

  5. #105
    Join Date
    Oct 2010
    Location
    The United States
    Beans
    843
    Distro
    Ubuntu

    Re: Google Calendar into Conky

    Hmmm then it seems the problem is that Conky can't handle the unicode text.
    I know there is a command specifically to set Conky to display unicode.
    The man to ask about this is Sector_11. He hangs out on the Post your Conky Screenshot Thread here:http://ubuntuforums.org/showthread.php?t=281865

    On another note, does the version you are using have the bug that causes a crash when trying to access Goolge via ssl?
    You should probably switch to the latest version from GitHub. See my signature for a link.
    Thank you,
    GG -----------

  6. #106
    Join Date
    May 2013
    Beans
    4

    Re: Google Calendar into Conky

    thank you, i will ask there as well......also, i have found the 2.4 on github, but i'm not sure about how to install it, could you help me a bit?

  7. #107
    Join Date
    Oct 2010
    Location
    The United States
    Beans
    843
    Distro
    Ubuntu

    Re: Google Calendar into Conky

    Sure - I'm in class now, but can write some instructions this evening.
    Thank you,
    GG -----------

  8. #108
    Join Date
    May 2013
    Beans
    4

    Re: Google Calendar into Conky

    great, thank you

Page 11 of 11 FirstFirst ... 91011

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •