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

9

YAFU

9 years ago

Maybe.
Perhaps a dependency used by Gmail Plasmoid are different versions in Ubuntu and Fedora, and there are problems with Ubuntu version.

Report

Piotruczko

9 years ago

Performing KIO test fetch...
Traceback (most recent call last):
File "/home/mero/.kde/share/apps/plasma/plasmoids/gmail-plasmoid/contents/code/main.py", line 399, in checkMail
ac.checkMail()
File "/home/mero/.kde/share/apps/plasma/plasmoids/gmail-plasmoid/contents/code/gmail.py", line 106, in checkMail
f = opener.open(atomurl)
File "/usr/lib/python2.7/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 409, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1193, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1160, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 8] _ssl.c:499: EOF occurred in violation of protocol>

Report

9

tetris4

9 years ago

Hello,

After adding this plasmoid to plasma, it fails to detect the accounts I create, so it stays there red with the exclamation mark. When I hover the mouse on it, I get a notification "no accounts configured".

Running the plasmoid from the CLI with plasmaviewer, it works normally, showing my new emails and all.

Could I be missing a dependency? Any other idea of what could be the cause of this?

I am on Chakra x86_64 running KDE 4.7.

Thank you

Report

Methate

9 years ago

Downloaded latest version, unzip archive.

Filename: gmail-plasmoid.svg

plasmapkg -i gmail-plasmoid.svg
plasmapkg(26104)/libplasma Plasma::PackageStructure::metadata: Could not open package file, unsupported archive format: "/home/klaus/downloads/gmail-plasmoid.svg" "image/svg+xml"
KCrash: Application 'plasmapkg' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/root/.kde/socket-workstation/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly

[1]+ Stopped plasmapkg -i gmail-plasmoid.svg


What do I do wrong?

3.0-0.slh.4-aptosid-amd64

Report

chepioq

9 years ago

You use a bad command, or a bad file...
Download gmail-plasmoid-0.7.20.plasmoid, in console go to the directory where is the file, and launch the command :
plasmapkg -i gmail-plasmoid-0.7.20.plasmoid

Report

Methate

9 years ago

O RLY?:)

Pls download the current archive from this page and tell me where is *.plasmoid file should be, because there is no .plasmoid file in root of archive. Just gmail-plasmoid.svg and metadata.desktop.

Report

chepioq

9 years ago

When you download, you get a file named 101229-gmail-plasmoid-0.7.20.plasmoid.
Just rename in gmail-plasmoid-0.7.20.plasmoid and apply the command.
DON'T UNPACK THIS FILE !!!

Report

Methate

9 years ago

When I download It in opera I get zip archive, lol =)

Report

chepioq

9 years ago

gmail-plasmoid-0.7.20.plasmoid is an zip archive, but don't unpack. Just apply the command.

Report

chepioq

9 years ago

try reboot your computer or your session.

Report

Methate

9 years ago

DONE.

root@workstation:/home/klaus/downloads# plasmapkg -i gmail-plasmoid-0.7.20.plasmoid
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kbuildsycoca4 running...
Successfully installed /home/klaus/downloads/gmail-plasmoid-0.7.20.plasmoid
root@workstation:/home/klaus/downloads# kbuildsycoca4 running...


And still nothing. Unable to add widget from Plasma menu.

Report

chepioq

9 years ago

I don't know if it's possible, but can you add an animation in your plasmoid ? Like a little dog with a letter when a new mail appear ?

Report

9

zubi

9 years ago

Version 7.20 fix bug whit kwallet. But then for unknown reasons stopped to take unread messages! I am now with KDE 4.7. I tried to reinstall python-kdebase4, but without success ...

Report

9

sxe

9 years ago

For security reasons i'm using the 2-step verification option from gemail. Its a second security layer where you have to enter a second password generated on your phone.

If the application you are using is not capable of using this new 2-step verification system, they provide an alternate method "one time passwords" for that application.
Normally the password is generated only once, you enter it in your application and it should work from then (like a normal password). However, your plasmoid keeps asking me for the password each start.

I'm using the fetching mechanism "KDE", the other one is not working for me.

Any idea whats going wrong here?

Thx

Report

C

mjmccans

9 years ago

This may simply be a problem with the KDE fetching mechanism as you appear to be having the exact problem that the python fetching mechanism was meant to address. Can you please enable the python fetching mechanism while running the plasmoid in a terminal and let me know if you get any errors? If you do find a problem it would be best to start a new issue on the Google Code site for the plasmoid, which is linked as the home page above. Thanks.

Report

9

sxe

9 years ago

ah, i feel a bit stupid now. It works when you add the password directly. I got a popup before, that notifies me, that my password was wrong (on kde start) and i only changed it there, stupid me. After the next start i had to input it in the popup again, cause it was not saved ( i think). So now everything works.

Anyway, a suggestion. You should handle labels in the plasmoid a bit different to make it less painful adding a bunch of them. You could handle it like this:

Add the main account and add subaccount (lables) which inherit everything from the main account. So you could avoid that the user has to add his password and username again and again. Just a suggestion. :)

Ah and btw, keep updating this great piece of software. One of the best plasmoids out there. Great work.

Report

Gadius

9 years ago

The password problem continues here, Chakra with KDE 4.6.5. I've tried deleting the plasmoid and the configuration but it persists. Don't know if it's a distro problem.

The feature request is that, few versions ago, when the plasmoid was in notification area, the icon disappeared when it was no new mail. Can you turn back this feature?

Thanks for this great job, I use this extensions from my beginnings with KDE :)

Report

C

mjmccans

9 years ago

Hopefully we can solve the password problem that you are having. It would be helpful if you could start a new issue on the Google Code site for the plasmoid (linked as the home page above) and post the output that you get when you run the plasmoid in a terminal.

For the hiding of the icon feature, I will try to add that feature back in a future version of the plasmoid (possibly in the version after the one that I am currently working on). The old version of the feature was primitive and would cause problems in some circumstances, so I need to put together something slightly better if it is to be added back.

Report

9

schnelle

9 years ago

"The feature request is that, few versions ago, when the plasmoid was in notification area, the icon disappeared when it was no new mail. Can you turn back this feature?"

I need (want) that too :)

Report

9

digitalone

9 years ago

It works for me now on Arch x64...thanks!

Report

chepioq

9 years ago

It work fine for me with Fedora 15 and kde 4.6.5, and with Fedora 16-rawhide and kde 4.6.9 (future kde 4.7)

Report

Self-Perfection

9 years ago

I have problems with password storing too. After login pops up request to enter my wallet password to unlock it (application "Plasma Desktop Shell" has requested...), until I grant access icon of gmail-plasmoid is coloured like there is unread messages but does not show any text. Right after unnlocking wallet icon turns gray with exclamation mark, tooltip says that my only account has "blank username or password". I've checked via KDE Wallet Manager - correct password is stored in wallet, but for strange reason it is not retrieved, I have to enter it again and again in "gmail-plasmoid settings" after each login.

Also specific label to check is not considered with default fetching mechanism, gmail-plasmoid checks my inbox instead.

I'm using Ubuntu 11.04 with KDE.

Report

C

mjmccans

9 years ago

Thank you for your message. I have not been able to reproduce the issue with kwallet, but there have been multiple issues with retreiving passwords from the wallet in the past. It currently works for me on fully updated Arch Linux, openSUSE 11.4 and Kubuntu 11.04 installations. However, it apparently causes problems for others on identical configurations so there is some underlying issue that needs to be addressed. Please try deleting the plasmoids configuration file completely and resetting your accounts (or try removing the plasmoid and re-adding it to your panel or system tray). I will also try to look further into the issue. If you could open a new issue on the Google Code site for the plasmoid (the homepage link above will take you there) we can try to further debug the issue.

As for the label check, you are right that it did not work with version 0.7.18 since I had introduced a stupid bug (I don't use that feature anymore myself, and did not notice that I had broken it). Please test the new version 0.7.19 and let me know if the issue is resolved. Thanks.

Report

Self-Perfection

9 years ago

Thank you, version 0.7.19 solved problem with label. BTW, you forgot to bump X-KDE-PluginInfo-Version in it.

I was able to reproduce my kwallet problem on clean install of Kubuntu 11.04 into Virtual Box. I've created new gmail account for this test, so this virtual machine does not contain any private data. I'm going to upload exported virtual machine image (about 1GB) somewhere and open a new issue on the Google Code once it will be ready for downloading.

Report

C

mjmccans

9 years ago

Thank you for your help tracking down the kwallet bug. It appears to be a bug in the KDE packages used by some distributions (including Kubuntu), and the new version 0.7.20 of the plasmoid includes a workaround to address the bug.

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