Brit. informal: ineffectual activity
Google Calendar Plasmoid
Update: A new, better version can be found here:
http://hamberg.no/erlend/2009/05/07/google-calendar-plasmoid-take-two/
In case anyone is interested:
I made a simple Plasmoid for viewing coming events from Google Calendar. It’s simply a webview showing the iPhone version of Google Calendar. It’s written in Python and took 10 minutes to write (27 lines of code) by following the excellent tutorial on techbase.
You can download it here: http://hamberg.no/erlend/files/gcal.zip. If you improve it or make another Google Calendar plasmoid: let me know!
Oh, btw. To install it run plasmapkg -i gcal.zip.
P.S: openSuse users: I had to install python-dev to actually run a python plasmoid. Don’t know why.
| Print article | This entry was posted by Erlend on 5 May, 2009 at 21:24, and is filed under english, kde. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |

about 10 months ago
great news, very useful for me.
about 10 months ago
nice one,
I’m also trying to make a plasmoid with webview. But I want to scale the text down. Do you know how to do that?
about 10 months ago
do you put it on kde-look so that we can download it via ghns? thx
about 10 months ago
@cc: i should probably do that. it’s still a bit stupid, though, as it requires you to log in every time it’s started.
Oh, and btw, if someone can tell me how I could make the tab key work in the web view, that would be great
about 10 months ago
Så festen varte helt til 3 på møllenberg? Dere dro ikke til byen?
about 10 months ago
Nice – could you add support for Google Apps for your Domain? I don’t sign in with an @gmail.com account so it won’t work!
about 10 months ago
Here’s a hint, all I have to do is change the URL to:
webView.setUrl(KUrl(“http://google.com/calendar/hosted/sebruiz.net/m”))
It would be nice to be able to edit which calendars are visible and to ajax load more distant events when scrolling down, similar to the gmail gcal widget.
about 10 months ago
you can also install it from the add-widgets dialog. “Install new widgets” -> “Install widgets from local file…”
about 10 months ago
Hi,
is there a way to be logged in automagically at startup? I always have to enter e-mail adress and pw on startup…
But very nice and useful applet!
about 10 months ago
@marius: vi vil dessverre aldri finne ut. det skulle vært i helgen, men blir ikke. takk for interessen!
about 10 months ago
@seb, solid: maybe later. (the login-thing is really annoying
)
about 10 months ago
Thanks, I had to edit the URL to get to my calendar (google apps user) but it is nice to have this plasmoid.
about 9 months ago
Cool!
Can you point me to some cool plasmoid tutorials, the techbase one is not sufficient, I feel!
about 9 months ago
@kashthealien:
I would look at techbase tutorials and the API for python’s kde bindings at http://api.kde.org/pykde-4.2-api/.
Good luck!
about 6 months ago
Sorry for my bad english, i’m spanish talking.
I donwload your Google calendar plasmoid, i have installed a Kubuntu Alpha4 with de kde 4.3 and pyQT4 and also pykde4. But in the window of your plasmoid , read the next message “Impossible create a scripts python engine for the graphic element Google calendar – Comming Events”.
Please help me.
about 6 months ago
@juan:
I’m not sure what you are missing. Do you have a package called “python-sip” or similar? You could try installing that…
I know that this plasmoid is being packaged for the next Kubuntu version, so perhaps it’s already installable as a deb in the next alpha/beta.