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

acidrums4

8 years ago

Hi, thank you so much for developing this plasmoid.

I'm using the QML version, 'cause it's too hard to use the plasma python bindings on Gentoo (at least, I couldn't use them). The only complaint I have about it is that icon in panel is too wide.

I installed a Gmail notifier on my sister's Windows 7 PC. I really like that app. I was wondering if could be possible to implement checking multiple accounts in one instanceyour plasmoid, because if you have more than one account you have to put more instances of your plasmoid.

Also would be nice to add a popup to check emails, something like the Windows 7 gmail notifier does: http://www.technobuzz.net/wp-content/uploads/2009/10/windows-7-gmail-notifier.PNG.

Thank you so much!

Report

alexcortes

8 years ago

Hello,

On Gentoo you need to compile the 'kde-base/plasma-workspace' with 'python' USE On.

Cheers!

Report

acidrums4

8 years ago

Oh my bad, excuse me. I didn't know that the python version already has support for multiple accounts. Sorry.

Report

fatino

8 years ago

Hello, thanks for an awesome plasmoid! I have one request. I dont use tooltips on kde because they are freaking annoying. Now there is no way to check what kind of emails I get. Maybe you can add option to show emails like in tooltips after clicking on plasmoid?

Report

9

blackdeagle

8 years ago

How can I type in the name of a Label which itself is in another label?
Example:

Label "Work" contains more Labels named "Boss", "CoWorkers" etc.
How can I let this plasmoid check for "Boss"?

btw works very well so far!

Report

9

artemisfowl2007

8 years ago

User for a long time, voted down because of the poor implementation. This thing was doing its job fine until recently when it stopped autohiding. Also for the past few days KDE would randomly hang after the login screen doing *nothing* and guess what? It was this little f*cker. Really man, regressions and plasma freezing require quite some skill.

I am sorry for the absurd language but I really can't figure out what's so hard about it.

Report

C

mjmccans

8 years ago

I appreciate your comments, and I have written many comments myself about how the implementation of the plasmoid is less than ideal due to issues with plasma and the python bindings. The python bindings for plasma are quite unstable and change without notice across different versions, resulting in a number of workarounds and hacks in order to have the plasmoid work for as many people as possible. For example, you appear to have been bitten recently by the fact that the python fetching method is not threaded, and implementing a threaded method was not possible because it would crash the entire plasma desktop. There are also some underlying issues with the design of the plasma desktop that make it very easy for a plasmoid to cause problems for the entire desktop. The plasmoid was also started during plasma’s infancy, and some workarounds that were implemented due to missing features are still included in the code that are no longer necessary. The fact that the KDE and python binding packages for many distributions are of low quality does not help either.

However, the good news is that I am rewriting the plasmoid in qml and javascript, which so far seems to be much cleaner in implementation. I am also planning on dropping some of the excess features that made their way into the original plasmoid, which should clean up the design. Since this is my first foray into qml and javascript I would appreciate any constructive criticism that you can provide. Perhapse the plasmoid will even earn back your vote (although I don’t really care about the score of the plasmoid).

Report

9

artemisfowl2007

8 years ago

If Python bindings are unstable, it seems obvious to me that you should drop them. C++ is the way to go for KDE.

FYI I am currently using the qml plasmoid which seems cleaner although feature-less. Auto-hiding (passive state), manually checking e-mails and a cleaner interface (tooltip shows "Threads" currently when hovered with 0 e-mails) are my reccommendations. I would need no more from such a plasmoid.

Why did you drop auto-hiding?

Report

C

mjmccans

8 years ago

I am now using qml and javascript because that is the recommended way to develop plasmoids, and a scripted plasmoid provides more flexibility across different versions and distributions (theoretically it should work without any changes and does not need to be compiled). Hopefully it will work better than the python bindings, but only time will tell.

The qml plasmoid definitely is featureless since it is the result of only a few hours of work one evening (which also included learning the basics of javascript and qml). I am hoping to clean it up over the next few weeks, including adding more error checking and fixing the issues that you have identified. It also seems to suffer from some display issues (particularly at small sizes), but overall it should look better than the original when it is completed. For example, the original plasmoid was started before qt supported anchors, so the number indicating the number of unread emails is actually written using a painter on top of the icon and then scaled to fit the plasmoid; there appeared to be no other way to display the number correctly at the time. Now with anchors it is possible to have overlapping elements, so the number is a label that sits on top of the icon and should be nice and crisp.

I will add the auto-hiding back in as an option, but it was actually removed on purpose because a decent number of people asked to have the feature removed (about 15 people specifically requested its removal, and I did not like it much myself). Their use scenario was that they used the plasmoid to access their gmail account regardless of whether they had unread messages or not and, therefore, did not want to have the plamsoid hidden. I had always intended to make it an option, but never got around to it as I have very limited free time to work on this thing and was not particularly motivated since it was not a feature I used.

Report

9

artemisfowl2007

8 years ago

Removing the feature is way wrong. Users who would like it not to hide should use the system tray settings to disable auto hiding.

Report

9

zubi

8 years ago

I use OpenSuse 12.1 KDE 4.8 qml-0.1.plasmoid
Finally a working version, though still limited, thanks

Report

C

mjmccans

8 years ago

I’m glad that it is working for you. The functionality is definitely limited at this point, and very little error checking is done. My plan is to re-implement a number of the features, but try to keep the plasmoid simpler and more lightweight than before. To that end, I am considering not implementing multiple account functionality (I don’t use it anymore myself). However, the qml and javascript used are very simple, so I hope that it will be easier for others to contribute features that they need.

This is my first foray into javascript and qml, so if you or anyone else has any pointers or would like to fix anything boneheaded in the code that would great. My email address is indicated in the plasmoid.

I hope to release new versions over the coming week, as time permits, that will include some more features and robustness. There are also a few visual issues to be worked out as well.

Report

3

tkabir11

8 years ago

It doesn't work at all when kdewallet is enabled. And when it did work- it would freeze my kde desktop every 10-20 seconds or so because apparently the fetching mechanism is set to python instead of kde by default for reasons I cannot comprehend. Otherwise- its perfect.

Report

C

mjmccans

8 years ago

Unfortunately the python bindings that are used by the plasmoid have proved to be problematic, which has led to all sorts of issues for various people and required all sorts of hacks a workarounds to get it working. For example, KWallet works fine for some (like me) and not for others, and the KDE fetching method proved problematic for many so the python fetching method was implemented (but it blocks the desktop on slow connections since it is not multithreaded, and plasma crashes when you try to do it in a multithreaded manner).

However, the good news is that I am in the process of re-implementing a simplified version of the plasmoid in qml and javascript, which I hope will help alleviate these issues. While I’m sure the plasmoid will still not be perfect, hopefully there will be less issues with the new version.

Report

3

carlocl59

8 years ago

root@Acer-8920g:/home/carlo/Scaricati# plasmapkg -i gmail-plasmoid-0.7.20.plasmoid
No protocol specified
plasmapkg: cannot connect to X server :0



Report

C

mjmccans

8 years ago

I believe your problem is that you need to run the plasmapkg command as your regular user, not as root. Give that a try and hopefully it will work for you.

Report

D--

8 years ago

hi, after upgrading to Polkit-Qt-1 0.103 gmail plasmoid doesn't work anymore if I use the KDE fetching mechanism.

It works with the python mechanism.

Report

demilord

8 years ago

doesn't work here PCLinuxOS fully updated.
Try to configure mail, all i get is blank box with ok and cancel

Report

C

mjmccans

8 years ago

I realize that I am responding a little late to your message, and sorry about the delay. Your issue is due to faulty packages from your distribution (this has been seen both others as well). Once you or your distribution fixes the issue the plasmoid's configuration screen will display properly (perhaps it is already fixed). Once it works I hope that you will not find it "useless".

Report

9

zubi

9 years ago

From lot of time the program is not working for me, does not show unread messages.
Tell me please how to understand where the problem comes?
I use openSUSE 11.4 KDE 4.7.3

Report

9

YAFU

9 years ago

Hello.
I do not know some people will have already reported the problem I have. I'm using Gmail Plasmoid on KDE 4.7 (Kubuntu 64bit). I put Gmail Plasmoid in the system tray, and it makes the panel to freeze randomly and stop working. I have to kill plasma-desktop and launch it again, but then the problem recurs. I've seen other people have similar problems:
http://ubuntuforums.org/showthread.php?p=11205460
Regards.

Report

C

mjmccans

9 years ago

I would try switching to the KIO fetch mechanism in the settings. The python fetch method is not threaded, and will therefore cause all of plasma to freeze up if the fetching is not quick through your internet connection. Making the python fetching method threaded or otherwise non-blocking is on my list of things to do, but all my attempts thus far have just resulted in crashing plasma. I hope this helps, and hopefully there will be a better solution in the future.

Report

9

YAFU

9 years ago

Hello.
I selected KDE in "Fetching mechanism". I have not had any problem yet.
Thank you!

Report

9

schnelle

9 years ago

I can confirm that KDE fetching mechanism solves plasma freezing for me too.

Report

chepioq

9 years ago

I use gmail-plasmoid wiyh KDE 4.7 on my Fedora without any problems...

May be it's problem with Ubuntu ?

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