gmail-plasmoid

Plasma 4 Extensions

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

78
7 .7
Description:

A Gmail notification widget for your desktop or panel.

This widget is designed to be docked in a panel, or added to your desktop, and display the number of unread messages in multiple Gmail accounts. Clicking on the widget will open the Gmail account in your favorite browser. The widget is written in python, meaning that there is no compiling necessary as long as you have the required script-engine installed.

For more screenshots visit the project homepage.

Features:
- *NEW* New simplified version re-implemented in qml and javascript available for testing (very early version with little error checking and many features missing and/or removed).
- *NEW* New qml version likely requires KDE 4.8 (but may work with KDE 4.7).
- *NEW* Testing qml version will coexist with existing gmail-plasmoid (testing version is called gmail-plasmoid-qml).
- *NEW* Any comments regarding new qml version appreciated.

- Selectable fetching mechanism to address multiple issues (see "Misc." configuration tab)
- Dynamic network connection detection
- Bulgarian, Chinese Traditional, Czech, French, German, Greek, Italian, Polish, Russian, Serbian, Spanish and Ukrainian translations
- Supports multiple Gmail accounts and Gmail labels
- Supports Gmail hosted domains
- Uses KWallet to securely store passwords
- Configurable icon and text font, size and color
- Configurable command run upon clicking the widget
- Configurable notifications using the KDE notification system
- Includes notification for when no unread emails exist (useful for running command to turn off message indicator LEDs, etc.)
- "Check email now" menu option to force email check upon command
- Ability to manually pause and resume email checking
- Threads context menu that shows unread messages on right-click


Please let me know if you find any problems or would like some new features included. The best place to request new features is on the project's homepage.

How to install:
- Download the latest version
- Uninstall any previous version (see instructions below)
- Run the following command in the directory where the file was placed (updated to reflect the actual filename):

[quote]plasmapkg -i gmail-plasmoid-0.7.20.plasmoid[/quote]
- The widget should now be listed in your "Add Widgets" screen

Note: If you get missing script-engine errors when loading the widget you need to install the plasma python script-engine (in openSUSE this requires the "python-kdebase4" and "python-devel" packages, in Fedora this requires the "kdebase-workspace-python-applet" package, in Kubuntu this requires the "plasma-scriptengine-python" package)

How to uninstall:
- Run the following command at the command line:

[quote]plasmapkg -r gmail-plasmoid[/quote]
Last changelog:

8 years ago

0.7.20 (11.07.2011)
- Added workaround for bug affecting kwallet

0.7.19 (10.07.2011)
- Fixed bug in label fetching
- Updated French translation

0.7.18 (09.07.2011)
- Added multiple fetch mechanisms
- Added dynamic network connection detection
- Added ability to reduce debug output

0.7.17 (04.07.2011)
- Updated kwallet handling
- Updated handling of translations
- Made configuration screen non-blocking
- Other minor fixes and changes

0.7.16 (13.02.2011)
- Fixed kwallet issue under KDE SC 4.6

0.7.15 (25.09.2010)
- Fixed issue with newer versions of SIP
- Updated to use default pop-up for better consistency with Plasma desktop

themage

10 years ago

Nice work mate.

I have two questions though.

I've just installed the plasmoid on KDE 4.4.5

1. I use the plasmoid to monitor two separate gmail accounts. Is it possible to selectively open accounts via the plasmoid?

At present the plasmoid displays unread mail in both accounts correctly yet I can only access the one account. A manual login is required for the second account.

2. And this is just me being pedantic. The number displaying the amount of unread emails is not 'centred' horizontally as per the screenshot you have provided only vertically.

Any suggestions?

Cheers.

Report

torpe23

10 years ago

Hi,
I've just installed the newest version of gmail-plasmoid and it keeps telling me that no account is configured, although I did configured my gmail account in the accounts tab.. what's going on?

Report

C

mjmccans

10 years ago

While I'm not sure if your problem is caused by the same root cause, the post immediately above yours deals with exactly the same symptoms (as do a number of other threads). The issue is being tracked at the following address:

http://code.google.com/p/gmail-plasmoid/issues/detail?id=49

Please see if your issue is related to the one linked, which appears to be caused by certain versions of sip. If you have any insight or additional information you can provide it would be very helpful.

Report

DarksideEE7

10 years ago

Let me say first and foremost thank you for this amazing plasmoid, my favorite by far.

I'm currently troubleshooting to see if something I have done has caused this, however I'm unsuccessful so far.

If I check my mail it doesn't display the new unread count, plus there is no notification.

If I right click>check mail now, then press ctrl+alt+F1 to see the terminal output it says 'still fetching'.

The problem first started with kdemod, and I've been planning on going back to KDE so I went ahead and removed kdemod entirely, then removed .kdemod4, then installed KDE........same thing.

I've been running this plasmoid for about a year with the occasional update from kdemod breaking it....but other than that it's working great.

Any ideas? I'm about to create an entirely new user account to see if I can recreate there.

Thanks

Report

C

mjmccans

10 years ago

While I'm not sure if this is the same problem, it sounds a lot like the follwoing issue that is being tracked at the following address:

http://code.google.com/p/gmail-plasmoid/issues/detail?id=49

It seems to be related to certain versions of sip, but we are still in the process of tracking down the root cause. However, any insight or additional information you can provide would be very helpful.

Report

DarksideEE7

10 years ago

Yes that is exactly what I'm experiencing. I guess I could find an old mirror with the older version of sip to fix this.....

They have pretty much all of the info that I could provide.
Arch x86_64 fully updated
sip 4.10.5-1
pyqt 4.7.4-2

Report

c0rdawg

10 years ago

I was wondering if there was a way to show all unread emails instead of just the unread emails in your inbox. I use many labels and filters so most of my unread emails are not in my Inbox. I noticed that if I changed the atomurl in gmail.py to "https://mail.google.com/mail/feed/atom/unread" I am able to see all my unread emails. Is there a way you could add this as an option in a future version, or is there a better way that I can achieve what I'm looking for?

Thanks for the great plasmoid!

Report

c0rdawg

10 years ago

ah whoops, guess I should have tested this out better. Looks like if you use the label unread it works.

Report

quadra

10 years ago

Does not work with my hosted account.


$ plasmoidviewer gmail-plasmoid
Update .notifyrc file...
Outputting notifyrc file
gmail-plasmoid icon installed
Updating command to:firefox %u
QPainter::font: Painter not active
Done updateIcon
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Wallet opened
Checking mail...
No accounts configured
Done updateIcon
Add account
Save account details
Adding account
create account
Checking mail...
[xxxx@youhavechoice.com] Checking mail...
[xxxx@youhavechoice.com] Hosted account https://mail.google.com/a/youhavechoice.com/feed/atom/
[xxxx@youhavechoice.com] Fetching feed...
Done updateIcon


But when I hover over plasmoid i get pop up "No Accounts Please configure some accounts to check"

Report

C

mjmccans

10 years ago

Hopefuly we can figure this out, but I do not have a hosted account to do any testing. If you send me a private message with your email address I can try to help you debug this issue. Thanks.

Report

FenDanT

10 years ago

Same problem for me... No account :o(

Report

C

mjmccans

10 years ago

While I'm not sure if you are having the exact same problem, the issue above is being tracked at the following address:

http://code.google.com/p/gmail-plasmoid/issues/detail?id=49

It seems to be related to certain versions of sip, but we are still in the process of tracking down the root cause. However, any insight or additional information you can provide would be very helpful.

Report

t3ddy

10 years ago

not working with pyqt 4.7.4

Report

C

mjmccans

10 years ago

Can you supply any more information? What does not work? What error message, if any, do you get? Thanks.

Report

t3ddy

10 years ago

It seems that it can't control messages.
I've tried to remove and add again the plasmoid, set the addresses, but it still says "no profile".
I don't know where to look to give you more information.

Report

birdflesh

10 years ago

same for me after upgrading to pyqt 4.7.4.
Loading the plasmoid on plasmoidviewer produces "Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)".
The plasmoid looks like it is checking for new mail but never completes this or reports a failure.

Report

C

mjmccans

10 years ago

Interesting. I don't use that signal directly, so this looks like an upstream problem with the plasma python bindings. I will investitgate further, and I believe that this is the same problem raised in the following issue on the google-code site:

http://code.google.com/p/gmail-plasmoid/issues/detail?id=49

If you have any further information please post it there. Thanks.

Report

DarksideEE7

10 years ago

Hmmm......I don't know how I missed this thread but I'm having the exact same problem. It doesn't successfully check or display threads after the update.
I originally thought it was a kdemod problem (they take a few days to release packages after a pyqt update), but I removed it and installed KDE....same result.

Report

darknight

10 years ago

Do you think it is possible to pass login information to the browser the way gtalk does it on windows?
This way checking mail would become a one-click task instead of entering login information every time.
Thanks for this great plasmoid.

Report

annia

10 years ago

Thanks for the great plasmoid. It has become a standard part of my desktop. I think it can be even better if it can make use of plasma tool tips.

I mean it will show a nice plasma tool tips instead of dialog when the mouse hover over it. Plasma tool tips support move animations across applets therefore will make it better integrate with plasma desktop.

Thanks again for the nice work.

Report

C

mjmccans

10 years ago

I actually used to use plasma tooltips, but the issue was that I could not (or did not figure out how) to control the length of time that the tooltip was displayed (it would show for a short period of time and then fade out). This was difficult if you had a large list of emails as you needed to keep triggering the tooltip, which was a pain. If there is a way to have the tooltip stay visible until the mouse is moved off of the plasmoid then I could use tooltips instead. Please let me know if you know how to do this or, better yet, have a patch to submit.

Report

elcanyon

10 years ago

Very Good!

for kubuntu 10.04 need install:

sudo apt-get install gettext plasma-scriptengine-python

Thanks!

Report

lollypop

10 years ago

after updating KDE to 4.4 gmail-plasmoid doesn't starts with a string "script initialization failed". When I run "$plasmoidviewer gmail-plasmoid" I have the following error:
"
...
plasmoidviewer(3085)/python (plugin) KPythonPluginFactory::create: Path to plugin code is: "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py"
plasmoidviewer(3085)/python (plugin) KPythonPluginFactory::create: Returning result qobject
Traceback (most recent call last):
File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 53, in init
relpath = os.path.relpath(str(self.mainScript()),str(self.applet().package().path()))
AttributeError: 'module' object has no attribute 'relpath'"

I know this is not a problem of gmail-plasmoid, but of script engine.
But I have updated scriptengines of plasma, and python-dev packages and many more. But It doesn't works.

KDE 4.4 on debian/sqeeze

Report

nufrix

10 years ago

If you look at:

http://docs.python.org/library/os.path.html#os.path.relpath

you'll see, that the function:

os.path.relpath(path[, start])

is for python 2.6> only but the version of python in Debian Testing/Squeeze is 2.5 (as far as i know*). So, i suggest, the only solution is to upgrade to python 2.6. Or is there another solution?

* aptitude show python | grep -i verze
Verze: 2.5.4-9

Report

Novoselic

10 years ago


Any w/a to make it to work with python 2.5 ? could I modify ths sources in an easy way ?

is there a previous release of gmail-plasmoid that works in KDE SC 4.4 and phyton 2-5 ?

Thanks

Report

8 years ago

0.7.20 (11.07.2011)
- Added workaround for bug affecting kwallet

0.7.19 (10.07.2011)
- Fixed bug in label fetching
- Updated French translation

0.7.18 (09.07.2011)
- Added multiple fetch mechanisms
- Added dynamic network connection detection
- Added ability to reduce debug output

0.7.17 (04.07.2011)
- Updated kwallet handling
- Updated handling of translations
- Made configuration screen non-blocking
- Other minor fixes and changes

0.7.16 (13.02.2011)
- Fixed kwallet issue under KDE SC 4.6

0.7.15 (25.09.2010)
- Fixed issue with newer versions of SIP
- Updated to use default pop-up for better consistency with Plasma desktop

12345678910
1562
product-maker xekon Oct 04 2017 9 excellent
supports multiple accounts! most important feature, being able to see relevance of messages directly from the widget is the second best feature! thanks.
product-maker skylinex Jun 09 2015 9 excellent
product-maker HighValueWarrior Nov 19 2013 3 bad
product-maker alela1441 Jun 07 2013 9 excellent
product-maker pejakm Apr 25 2013 3 bad
product-maker paulus3005 Nov 30 2012 3 bad
product-maker cichys Oct 05 2012 9 excellent
product-maker tsujan Sep 13 2012 9 excellent
product-maker Phrosztbyte Sep 07 2012 9 excellent
product-maker Genserowski Sep 04 2012 9 excellent
product-maker unIverse Jun 30 2012 9 excellent
product-maker vital-viza Jun 01 2012 9 excellent
product-maker MaikB Feb 14 2012 9 excellent
product-maker blackdeagle Feb 02 2012 9 excellent
product-maker tkabir11 Jan 28 2012 3 bad
product-maker carlocl59 Jan 21 2012 3 bad
product-maker electron222 Dec 19 2011 9 excellent
product-maker matafleur Dec 17 2011 9 excellent
product-maker Pyruzan Nov 28 2011 9 excellent
product-maker ElectronOo Nov 22 2011 9 excellent
product-maker robinparadise Oct 16 2011 9 excellent
product-maker webbber Oct 06 2011 9 excellent
product-maker davorao Sep 28 2011 9 excellent
product-maker dr4g0n Sep 18 2011 9 excellent
product-maker vbachtold Sep 11 2011 9 excellent
product-maker tetris4 Aug 20 2011 9 excellent
product-maker corwin78 Aug 07 2011 9 excellent
product-maker zubi Aug 04 2011 9 excellent
product-maker gaboo Aug 01 2011 9 excellent
product-maker sxe Jul 17 2011 9 excellent
product-maker jmunin Jul 14 2011 9 excellent
product-maker olo81 Jul 13 2011 9 excellent
product-maker digitalone Jul 09 2011 9 excellent
product-maker YAFU Jul 09 2011 9 excellent
product-maker pyrforos Jul 05 2011 9 excellent
product-maker Grobelard Jul 05 2011 9 excellent
product-maker Freol Jul 05 2011 9 excellent
product-maker tobaj Jul 04 2011 9 excellent
product-maker meerkatmiles Jun 29 2011 9 excellent
product-maker exeroc Jun 21 2011 9 excellent
product-maker darountree Jun 19 2011 9 excellent
product-maker phade Jun 12 2011 9 excellent
product-maker MohandAndel Jun 08 2011 9 excellent
product-maker jlsalvador May 25 2011 9 excellent
product-maker yuri-karadzhov Apr 30 2011 9 excellent
product-maker artemisfowl2007 Apr 04 2011 9 excellent
product-maker unbob Mar 15 2011 9 excellent
product-maker swiftscythe Mar 13 2011 9 excellent
product-maker malhorne Feb 27 2011 3 bad
product-maker Howler Feb 14 2011 3 bad
product-maker jarod82 Feb 13 2011 9 excellent
product-maker ashley194 Feb 13 2011 9 excellent
product-maker marcotangaro Feb 13 2011 9 excellent
product-maker balcer656 Feb 06 2011 9 excellent
product-maker aminesay Feb 04 2011 3 bad
product-maker pvt14 Jan 28 2011 9 excellent
product-maker dgvirtual Jan 22 2011 3 bad
product-maker ludla Dec 30 2010 9 excellent
product-maker ZaWertun Dec 12 2010 9 excellent
product-maker nikore90 Nov 30 2010 9 excellent
product-maker lolokun Oct 23 2010 3 bad
product-maker eduardhc Oct 12 2010 3 bad
product-maker shishirverma Oct 12 2010 9 excellent
product-maker josec87 Oct 11 2010 9 excellent
product-maker nerdykid Oct 06 2010 9 excellent
product-maker n3st Oct 05 2010 9 excellent
product-maker jimmy88 Oct 04 2010 9 excellent
product-maker nicki Oct 03 2010 3 bad
product-maker unhammer Oct 01 2010 3 bad
product-maker lippol94 Sep 28 2010 3 bad
product-maker lebrun Sep 25 2010 9 excellent
product-maker Desdenova88 Sep 25 2010 9 excellent
product-maker juank202 Sep 25 2010 9 excellent
product-maker rickdesantis Sep 25 2010 9 excellent
product-maker Krog Sep 23 2010 3 bad
product-maker AHTOH Sep 23 2010 9 excellent
product-maker schnelle Sep 21 2010 9 excellent
Be the first to comment
lei00
Nov 27 2012
cichys
Oct 05 2012
juank202
Jan 31 2012
robinparadise
Oct 16 2011
gauda
Sep 18 2011
tetris4
Aug 20 2011
sxe
Jul 17 2011
jmunin
Jul 14 2011
YAFU
Jul 09 2011
tobaj
Jul 04 2011
exeroc
Jun 21 2011
phade
Jun 12 2011
unbob
Mar 15 2011
gasdriver
Mar 13 2011
jarod82
Feb 13 2011
webbber
Jan 05 2011
hellblade
Nov 25 2010
pvt14
Oct 22 2010
josec87
Oct 11 2010
annia
Oct 05 2010
Draget
Oct 05 2010
AHTOH
Sep 23 2010
seld
Sep 05 2010
Desdenova88
Aug 31 2010
steampoweredlawngnome
Aug 27 2010
thecrazyzorro
Aug 08 2010
alezflute
Jul 24 2010
veleno
Jul 14 2010
quadra
Jul 06 2010
swiftscythe
Jun 28 2010
ik5
Jun 18 2010
Montblanc
Jun 09 2010
ev3rsor
May 19 2010
hurikhan77
May 16 2010
mavnaranjo
May 10 2010
ShadowBelmolve
May 10 2010
genericity
Apr 15 2010
DreadKnight
Apr 10 2010
DelsaDj
Apr 04 2010
pulmro
Mar 22 2010
NorkMG
Mar 15 2010
DrDran
Mar 07 2010
pedrolopex5
Mar 05 2010
rickdesantis
Mar 01 2010
Genserowski
Feb 22 2010
Grobelard
Feb 20 2010
Nirgal
Jan 31 2010
yoann21
Jan 18 2010
melanias
Jan 17 2010
vejha
Dec 12 2009
hteles
Dec 10 2009
Xand3r
Nov 14 2009
dogatemycomputer
Nov 11 2009
t3ddy
Sep 22 2009
juchem
Sep 15 2009
kuchumovn
Aug 23 2009
weatherman
Aug 09 2009
Czessi
Aug 03 2009
martinsk
Jul 03 2009
netcelli
Jul 03 2009
gskbyte
Jun 29 2009
HalfLeft
Jun 25 2009
c2h5oh
Jun 22 2009
jmtodaro
Jun 20 2009
Yggdrasill
Jun 17 2009
pistolinux
Jun 12 2009
aidosl
Jun 06 2009
ZaWertun
May 20 2009
Ruedi
May 19 2009
herchu
May 19 2009
nick1701
May 17 2009
darx667
May 14 2009
Logicoh
May 09 2009
wintered
May 02 2009
birdflesh
Apr 25 2009
dkarnout
Apr 25 2009
marcotangaro
Apr 11 2009
Diablo
Mar 19 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.7.20
updated Jan 30 2012
added Mar 18 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 7