Google Calender - Coming Events

Plasma 4 Extensions

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

3
Become a Fan
8.0

Description:
[ WORK-AROUND FOR COOKIE ERROR ]

------------------------------------------------------------
If you get an error message from Google saying "Your
browser's cookie functionality is turned off. Please turn it
on.", you should try to log in to google calendar with
Konqueror and then retry. I don't have time to look at this
problem before late December, unfortunately.
------------------------------------------------------------

Super-simple plasmoid for showing coming events from your Google Calendar.

Stores your username and password in kwallet.

Install with plasmapkg -i gcal-1.2.plasmoid

The code can be found at:
http://github.com/ehamberg/GCal-Coming/
Last changelog:

1.2: 2009-08-25
* rounded corners for the webview.

1.1.3: 2009-08-24
* force a white background colour for the web view. this hopefully makes this plasmoid usable on any theme.

1.1.2: 2009-05-09
* don't strip @doma.in in usernames for hosted apps

1.1.1: 2009-05-08
* Fix 404 error for @googlemail.com addresses

1.1: 2009-05-07
* Remembers username and password with kwallet
* Works with Google Apps for your Domain

1.0: 2009-05-05
Initial Version


Ratings & Comments

24 Comments

njathan

It asks me "To continue, please type the characters below:" There is a textbox, but no characters showing up :( Furthermore, it says: ~*~*~*~ About this page Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot. Why did this happen? IP address: xx.xx.xx.xx Time: 2012-01-22T08:51:32Z URL: http://google.com/calendar/m ~*~*~*~*~*

mc2r

This plasmoid sounds perfect for what I need but I can't get it running on Ubuntu 10.10 When I try and add it to my desktop plasma crashes. I get the following in .xsession-errors Start Dragging Object::connect: No such slot Plasma::WebView::urlChanged(const QUrl &) KCrash: Attempting to start /usr/bin/plasma-desktop from kdeinit <unknown program name>(32476)/ kdemain: !!{} STARTUP TIME 63513702 START (line: 48 ) Any tips would be appreciated. If you need any more info on the system let me know.

Joste

Above the 'cookies disabled' message it has sign in - so I tried to sign in but this took me to main google proile, clicking on calendar just showed the normal calendar page - not good - however upon closing and reopening the plasmoid all is well. Not tested to see if it survives a reboot yet.

xlnagla

hello - it appears this plasmoid has become broken. I'm getting "please enable cookies" messages when I try to use it.

Phlogiston

Yes I'm having the same issue... @author: Could you take a look at that?

tjk

I have used Google Calendar from the beginning (think it's great). Today I upgraded to KDE 4.3.1 and now it doesn't work. Error message is: Object could not be created - could not creat a python ScriptEngine... Is there a fix for this?

tjk

I found my own fix... so in case someone else needs it, here's what I did: I just installed python-plasma from the Ubuntu repository and everything works now.

fictitious

Thank you for the great plasmoid! Only thing that would improve this app is if it were possible to costumise the appearance a bit. I find it a bit crowded as is.

savnn

is it able to work behind proxy?

ehamberg

i'm not sure. it uses the default webkit part (webview), i don't know where connectivity settings for that is configured.

cfraz89

Thanks for this plasmoid, really nice and useful. However I like mine to be smaller than the default size. I can resize it smaller, however next time plasma restarts, it returns to default size. It would be awesome if you could modify the plasmoid to remember its size. I think this can be done by using X-Default-Size or something like that within the metadata file. Thanks again!

cfraz89

Oh yeah, and an option for font size would be awesome too :)

tamasrepus

Can anyone confirm that this applet works on KDE 4.3? (currently RC2 as of this writing) I get "Script initialisation failed" when trying to use the applet. I'm not sure how to diagnose it further.

setafur

Hi, Sorry it took someone so long to get back to you. Yes, it works in KDE4.3, however, the background doesn't look very nice with many of the themes for plasma. To make it look nice I made a small modification to your script which you may consider including and improving for distribution: ------------------------------------------------------------------- def storeUserAndDomain(self, username, password): re_email = re.compile('@(.+)') m = re_email.search(username) # if username is an email address with a domain name other than # gmail.com, assume it's a Google Apps for your Domain thingie and # change the url if m <> None and m.group(1) <> "gmail.com" and m.group(1) <> "googlemail.com": self.url = "http://google.com/calendar/hosted/" + m.group(1) + "/m" username = re_email.sub('', username) else: self.url = "file:///home/<username here>/.kde4/share/apps/plasma/plasmoids/gcal/contents/code/displayCalendar.html" self.settings['username'] = username self.settings['password'] = password ---------------------------------------------------------------- where displayCalendar.html has: ---------------------------------------------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHtmL 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> <!-- body { overflow: hidden; } div.container { position: absolute; top: 2px; right: 2px; left: 0px; bottom: 2px; } iframe { background-color: #fff; border: solid 1px black; opacity: 0.75; } --> </style> </head> <body> <div class="container"> <iframe src="http://google.com/calendar/m" width="100%" height="100%" frameborder="0"> <p>This applet does not support iframes</p> </iframe> </div> </body> </html> ---------------------------------------------------------------------- I think that something like this would allow more customization via the css parameters to allow users to match their themes more closely and include transparency if they so choose. Regards, Sergio

ehamberg

Hi, thanks for the patch. I'll have a look at it asap. :)

vyncem

Sweet plasmoid. I like it a lot. Wondering if tasks support may be added, I am willing to enlist my services with some guidance. Thank you.

tjk

I second this request.

ehamberg

i'll take a look at it. maybe that should be a plasmoid of its own?

vyncem

Hey, The link http://mail.google.com/tasks/android provides a view to google tasks don't know if this is any help. I've been trying to look into a plasmoid of its own but having trouble with the python-plasmoid tutorial - can't locate the plasmapkg utility, it's been moved around and can't seem to locate it any help will be much appreicated. running kubuntu 9.04-jaunty

FlappySocks

Can only see one line of text, when I use this on a sidebar.

Vistaus_double

I have to file a bug for this fantastic plasmoid. When I start my PC, this widget shows up blank. I have to remove it from the desktop and put add it again via Add widgets... I hope you can fix this bug :)

janet

Is it possible to get something like this plasmoid for local korganizer calendar?

Vistaus_double

Thank you for this plasmoid, it is just what I was looking for :) I hope you keep working on this plasmoid :)

pi4sek

http://www.google.com/calendar/gp

Pling
0 Affiliates
Details
license
version 1.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 2

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 13 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 12 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0