Gmail reader

Karamba & Superkaramba

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
6.8
Description:

Gmail reader reads the atom feed of gmail.The theme can buffer up to 20 messages and displays 5 at a time. Use your mouse wheel to scroll through the other messages. Gmail reader allows the user to define the way the messages are presented on the theme.

There are three fields available:

* A body in white where the actual email could be displayed
* A header in a darker shade where for example the time of arrival and name of the sender could be displayed
* A mouseover tooltip of the body where more extended information can be displayed.

Whenever a message is clicked the browser of you choice is opened containing the full message.
To force an email update, click on the top of the theme to let the theme check for email.

The theme will present the user with a login screen the first time the theme starts. Later, this information can be altered by selecting the 'login' configure menu option.

This theme relies on wget to connect to the gmail atom feed. This program is available here (http://www.gnu.org/software/wget/) or via you distro's own sowtware install system.

If you have problems with this theme, feel free to ask. Please mention your distro with your question.
Last changelog:

12 years ago

---v 2.0---
Added login screen
Added additional debug information when run in a terminal
---v 1.1---
Added offline config option
Added automated wget flag detection + config option
More onscreen status info
---v 1.0---
Fixed uninitialized buffer
---v 0.1---
Initial release

matafleur

10 years ago

missing documantation about the required components on kubuntu.Doesn't work for me :(

Report

C

nebula83

10 years ago

Hi!

Well it's been a long time since I looked at superkaramba themes... It made my system lock up so I threw it off.

The last version of kubuntu I used it with must have been gutsy or something, a while back anyway.

Back then, the prerequisites where:
* superkaramba
* python (off course)
* wget (as described in the topic start)

If you could send in the console output (blank your password and such ;) ) maybe I can help out.

Thanks for downloading!

Report

Deflex

11 years ago

Is there a way to change the default font?

Report

angelorohit

11 years ago

Fantastic work, Nebula. I believe that this is the best Superkaramba Gmail checker out there. Very cool look too. Reminds me of Yahoo Widgets but so much better. Keep up the good work!

Report

HavinItAgain

11 years ago

Hi Nebula, good work on the login dialog. Looks great and does the job. Now, if you can tie it into the themes "configure theme" dialog I will be most impressed ;)

One thing: the theme is still listed in KHotNewStuff ( :) ) and when installing via the applet, the login dialog doesn't trigger. (I did remove the old version completely before installing.) This is on Gentoo BTW.

Report

mangust22

11 years ago

can i change a codepage of receiving mail-headers?

Report

C

nebula83

11 years ago

Hi all!
It's been a while since I last posted here, I've been really busy. Though I haven't quit on the gMail Reader! I saw that a lot of you where still having problems with the initialization of the theme. To be honest: it wasn't nice. Unpacking the zip, hacking the code, adding it manually to superkaramba... That's no easy config, I agree.

I decided to finally look into QT and PyQT to create a nice login dialog, and I succeeded! Now you just download an skz file, (double-)click it and (if it's the first time you run it) you'll get presented with a nice login script. Type in your login information and enjoy :-) You can later always alter your login by choosing the 'login' from the 'Configure Theme' menu.

As always: you are free to give comment, propose improvements and so on ;-)

Greetz Nebula!

P.S. @ Benedict: Yeah that sound like a network problem. Try opening the port used by the gmail atom feed.

Report

HavinItAgain

11 years ago

Many thanks for a nice useful theme, it's just what I was looking for.

I do have a suggestion, though (maybe it's one you have planned anyway): account configuration could do with being a lot easier.

As far as I can tell, at the moment it's necessary to locate the .zip file (oh ya, shouldn't the ext be renamed .skz?), unpack it, edit a Python file, re-pack and launch the theme.

What a lot of other themes seem to do is place an additional config-file in ~/.superkaramba/, which is intuitively where I look for options that aren't in the GUI. Of course the ideal thing would be adding the user/pass config as a "configure theme" feature.

Lastly, while I found my answers easily enough by reading the comments below, it would be helpful if (in absence of the above) the info was put in the main description. I found this theme using the "Get new stuff" dialog inside sK, and the info provided there comes (I assume) directly from the description on this page. If you add the instructions there, people won't have to fire up their browser and search this site for the answer.

Hope this is taken in the intended spirit; thanks again for creating this theme.

Report

Benedict

11 years ago

Hello,

I've got problem with wget on kubuntu feisty. When trying :

wget -O - https://emmanuel.teyssier:*****@mail.google.com/mail/feed/atom

I get the following error :

wrong port number.

I'm behind a NAT. Can this be the origin of the problem ?

Report

papatya

11 years ago

Why do I get "Authentication Error"? I did edit gmail.py entering the corret username & password. Is there anything else I should do?

Report

C

nebula83

11 years ago

If you filled in your username and password correctly (remember the double quotes around both words!) then it should work correctly. Could run perhaps run the following command in a terminal:

wget -O - https://gUser:gPassword@mail.google.com/mail/feed/atom

(where gUser is your username and gPassword your password) and posts the results back? Maybe there's somehting wrong in my script. Thanks!

Report

papatya

11 years ago

results from wget:
https://papatyayorgo:*password*@mail.google.com/mail/feed/atom
=> `-'
Resolving mail.google.com... 209.85.137.83, 209.85.137.19, 209.85.137.18
Connecting to mail.google.com|209.85.137.83|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]

[<=> ] 0 --.--K/s <?xml version="1.0" encoding="UTF-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#"><title>Gmail - Inbox for papatyayorgo@gmail.com</title><tagline>New messages in your Gmail Inbox</tagl [ <=> ] 346 --.--K/s

20:21:57 (92.64 MB/s) - `-' saved [346]

Report

C

nebula83

11 years ago

That's strange, the wget command does work when run standalone. The "authentication error" message only shows when gmail sends an authentication error. Please make sure that there are no spaces with the double quotes, but I don;t think that's the problem. I could make a version with additional debug info. Are you willing to try that for me? This would mean that you would have to run the theme in a terminal.

Thanks in advance, Nebula

Report

papatya

11 years ago

I will try whatever you tell me, as long as you give me detailed instructions. Thank you

Report

avn

11 years ago

i have one stupid question: where i should write login and password?

Report

Bzyk

11 years ago

File 'gmail.py'
Line 16 (gUser) - login
Line 18 (gPassword) - password
:)

Report

avn

11 years ago

thank u :)

Report

apollyonus

11 years ago

[luser@bleah ~]$ wget
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.

Same issue...

Report

C

nebula83

11 years ago

Not really, the theme does use some arguments with the wget command.

wget -O - https://gUser:gPassword@mail.google.com/mail/feed/atom

where gUser is your gmail username and gPassword your gmail password.
Still I'd like to see some terminal output, for I don't know what the problem is with the theme? What distro's are you using? On kubuntu it works perfectly!

Report

Bzyk

11 years ago

wget -O - https://bzyk:my_password@mail.google.com/mail/feed/atom
--16:54:36-- https://bzyk:*password*@mail.google.com/mail/feed/atom
=> `-'
Translacja mail.google.com... 209.85.137.19, 209.85.137.83, 209.85.137.18
Connecting to mail.google.com|209.85.137.19|:443... po??czono.
??danie HTTP wys?ano, oczekiwanie na odpowied?... 200 OK
D?ugo??: nieznana [text/xml]

[<=> ] 0 --.--K/s <?xml version="1.0" encoding="UTF-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#"><title>Gmail - Inbox for bzyk@googlemail.com</title><tagline>New messages in your Gmail Inbox</tagline><fullcount>0</fullcount><link rel="alternate" href="http://mail.google.com/mail" [ <=> ] 347 --.--K/s

16:54:37 (122.88 MB/s) - `-' saved [347]

It seems to be OK... (messages: 0)

Report

Bzyk

11 years ago

Works. Thanks for Your job.

Can I read Gmail-SPAM folder too?
And maybe 2 or more Gmail accounts?

:)

Report

C

nebula83

11 years ago

The spam folder is not available through gmails ATOM feed as far as I know. If anyone knows how to do this, they're welcome to share ;-).

Multiple accounts certainly is a possibility maybe I'll implement it later, it'll go on my TODO list!

I also saw a drop in my score, now that's OK but I'd like to know why people think my theme is bad? Drop me a line and maybe I can improve it!

Report

Bzyk

11 years ago

wget -O - https://bzyk:my_password@mail.google.com/mail/feed/atom
--16:54:36-- https://bzyk:*password*@mail.google.com/mail/feed/atom
=> `-'
Translacja mail.google.com... 209.85.137.19, 209.85.137.83, 209.85.137.18
Connecting to mail.google.com|209.85.137.19|:443... po??czono.
??danie HTTP wys?ano, oczekiwanie na odpowied?... 200 OK
D?ugo??: nieznana [text/xml]

[<=> ] 0 --.--K/s <?xml version="1.0" encoding="UTF-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#"><title>Gmail - Inbox for bzyk@googlemail.com</title><tagline>New messages in your Gmail Inbox</tagline><fullcount>0</fullcount><link rel="alternate" href="http://mail.google.com/mail" [ <=> ] 347 --.--K/s

16:54:37 (122.88 MB/s) - `-' saved [347]

It seems to be OK... (messages: 0)

Report

vaxxipooh

12 years ago

It just said "Initialize" and nothing more happends - i put my username and password in the rigth place - hmm .. what to do?

Report

C

nebula83

11 years ago

I seems that the theme borks whenever wget fails. Try the 'wget' command in a command prompt and post the results please? I am working on a fix for this, I'll post an update when it works better.

Thanks for the feedback!

Report

12 years ago

---v 2.0---
Added login screen
Added additional debug information when run in a terminal
---v 1.1---
Added offline config option
Added automated wget flag detection + config option
More onscreen status info
---v 1.0---
Fixed uninitialized buffer
---v 0.1---
Initial release

12345678910
product-maker Count:41 Rating: 6.76
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
2.0
updated Jul 02 2007
added May 21 2007
downloads today
0
page views today 6
+