sellklion.blogg.se

Calendar geektool
Calendar geektool










calendar geektool
  1. #Calendar geektool portable
  2. #Calendar geektool free

As I’m not an expert in any of this, really, I don’t know how portable my solution is, nor how efficiently my code is written.But, consider this fair warning, and give us a comment if you have any ideas. I can restart it easily enough, and I usually have a connection. At this point, the launchd command fails if I go without an Internet connection for more than 10 minutes or so (which causes the curl command to fail).I use 24-hour time, because I don’t care enough to convert to 12-hour if you do, please post your changes.As it stands, this doesn’t address multiple calendars I have only one that I check with any frequency.

calendar geektool

Still, a few limitations are worth noting: I won’t really suggest modifications or alternatives, though I welcome such thoughts in the comments. What I will discuss here is how I implemented a system that is perfect for my needs.

  • Geektool to send the output of the script to my desktop periodically.
  • A few Perl modules to support the script.
  • A Perl script to parse the XML from the calendar feed (UPDATE: The perl script now also runs the curl command directly).
  • Lingon to set up the launchd agent (UPDATE: I no longer use this part).
  • A launchd agent to run the curl command periodically (UPDATE: I no longer use this part).
  • A curl command to retrieve data from my calendar’s RSS feed.
  • But here they are, just so you have a sense up front of where we’re headed: My system involves a number of components, some non-standard (in the Mac OS), some optional. I should mention now that it is Mac-only, though I’m sure capable Windows or Linux users could adapt it readily enough. I think I’ve finally got a solution, and though it’s a bit complex, it’s worth sharing here. The major challenges for me have been (1) that I don’t care to open iCal, since I never use it otherwise, (2) that Google presents all its data on one line (making it a bit more complicated to use Unix commands that rely on line endings), and (3) that I don’t want to take up a whole lot of bandwidth or system resources.

    #Calendar geektool free

    Feel free to read my solution and skip my disclaimers and ramblings. Essentially, I don’t like waiting for the page to load every time I have to remind myself of the time of some appointment in the next day or two. For a long time, I’ve wanted fast access to Google Calendar’s agenda view.












    Calendar geektool