Page 2 of 11 FirstFirst 1234 ... LastLast
Results 11 to 20 of 108

Thread: Google Calendar into Conky

  1. #11
    Join Date
    May 2005
    Beans
    96

    Re: Google Calendar into Conky

    are you sure you of your username and password? do not put user@gmail but only user.

  2. #12
    Join Date
    May 2005
    Beans
    96

    Re: Google Calendar into Conky

    Just to know, have you seen my previous question?

    Hi me again...

    a quick question, I am looking for an option to go to the next line after a certain numbers of characters, trouble is the output of my scheddule is often too long, so i whish to cut the lenght by half, but if I use the "maximum_width" option it's just cut the text from one side.

    Do you know what I mean?
    Thanks

  3. #13
    Join Date
    Jul 2005
    Beans
    740
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Google Calendar into Conky

    Quote Originally Posted by sweetthdevil View Post
    Just to know, have you seen my previous question?
    Thanks
    Yeah word wrap is a problem with conky but you can use this script by Heiner Steven

    http://ubuntuforums.org/showpost.php...5&postcount=61

    save it in your script folder called wordwrap.sh

    Then call the code in a bash script like this:
    Code:
    cat ~/journal/gcal.txt | ~/scripts/wordwrap.sh -w 46 -o 10 > ~/journal/gcalWW.txt
    where 46 is word wrap characters.
    gcal.txt is where the original Google calendar is retrieved to.

  4. #14
    Join Date
    May 2005
    Beans
    96

    Re: Google Calendar into Conky

    Fantastic exaclty what I was looking for!!! Work perfectly!!!

    Many thanks!!

  5. #15
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: Google Calendar into Conky

    Superb, great stuff! thanx!

  6. #16
    Join Date
    Mar 2007
    Beans
    11

    Re: Google Calendar into Conky

    Quote Originally Posted by pt123 View Post
    Yeah word wrap is a problem with conky but you can use this script by Heiner Steven

    http://ubuntuforums.org/showpost.php...5&postcount=61

    save it in your script folder called wordwrap.sh

    Then call the code in a bash script like this:
    Code:
    cat ~/journal/gcal.txt | ~/scripts/wordwrap.sh -w 46 -o 10 > ~/journal/gcalWW.txt
    where 46 is word wrap characters.
    gcal.txt is where the original Google calendar is retrieved to.
    Unfortunately, that word wrap program removes the whitespace that keeps times and dates inline vertically. Does anyone know of another word wrap script (or have the skills to edit this one) so that whitespace is not removed during the wrapping procedure?

    regards

  7. #17
    Join Date
    May 2005
    Beans
    96

    Re: Google Calendar into Conky

    could you show me what you mean with a screenshot?

  8. #18
    Join Date
    May 2005
    Beans
    96

    Re: Google Calendar into Conky

    could you please show me with a screenshot?

  9. #19
    Join Date
    Jul 2005
    Beans
    740
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Google Calendar into Conky

    Quote Originally Posted by Kronos2785 View Post
    Unfortunately, that word wrap program removes the whitespace that keeps times and dates inline vertically. Does anyone know of another word wrap script (or have the skills to edit this one) so that whitespace is not removed during the wrapping procedure?

    regards
    Yeah it doesn't , I remember when looking for this it was listed as a TODO by the original coder.

    You might want to search for a python word wrap script.
    e.g.
    http://iwiwdsmi.blogspot.com/2007/09...-function.html

    With Python it is a lot easier for someone new to edit the code.

    Off-topic - while doing the search I just came across that even Aptana doesn't have a wordwrap function
    http://forums.aptana.com/viewtopic.php?t=3358

  10. #20
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Google Calendar into Conky

    Hi All,

    I don't mean to steal anyone's thunder, but I thought this was a good place to make mention my post, and get some feedback.

    I have created a Google Calendar python script specifically for Conky, which uses the gdata api rather than the cli app talked about here. I've done this on the premise that it should be much more customizable than would otherwise be possible.

    You can find the post here: http://ubuntuforums.org/showthread.php?t=837385

    I would appreciate some feedback on the script and any suggestions for further functionality are welcome.

    Key feature are:
    • Utilises the Google Calendar API.
    • Supports the use of a template to define the layout of each event output
    • Supports regional datetime formats, by way of system locales
    • Optional event limit so you can reduce the total output in Conky if you have lot's of events, events should be returned earliest first (needs testing)


    I have already created a weather forecasting script for Conky in much the same manner, which has gone down well, and I hope the same can be the case for this one.

    Cheers

Page 2 of 11 FirstFirst 1234 ... LastLast

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
  •