
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
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]
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
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
dkarnout
11 years ago
you used fixType
sorry again :)
Report
mjmccans
11 years ago
Report
ValentinPavlyuchenko
11 years ago
I have a feature proposition:
For example I have email checking every 10 minutes and at some moment I see that e-mail have arrived. I click on the plasmoid and open gmail in my browser/mail program/etc. So there is a huge possibility that I will read that email in 1 minute (or even less) after clicking on the plasmoid.
Is there a place for the following feature: during next few minutes after clicking email will be checked very often (30 seconds as example), and after that time the checking will be done as usual (10 minutes in my example).
Why I propose this - because this will eliminate the need to click on "Check email now" after reading email to make indicator gray again. It will be useful for me, and, I hope, for others too.
Report
mjmccans
11 years ago
Report
warnec
11 years ago
And you said about some issue with KIO/Kwallet that the other plasmoid developers were saying about as well. Do you think it might be a bug? If so, is there any bug report for this?
Report
mjmccans
11 years ago
As for a bug report, I am not sure if there is a report and I have not reported one. It would be in KIO, and the issue is the fact that it still prompts the user for a password even when one is supplied in the calling arguments. If you find a matching bug report please let me know.
Report
warnec
11 years ago
Report
warnec
11 years ago
Report
warnec
11 years ago
I've got another problem - I gave my account details to gmailplasmoid, and here's the console output:
[code]
plasmoidviewer gmail-plasmoid
Updating pl translation...
Command: msgfmt -o /home/warnec/.kdemod4/share/locale/pl/LC_MESSAGES/gmail-plasmoid.mo /home/warnec/.kdemod4/share/apps/plasma/plasmoids/gmail-plasmoid/contents/code/i18n/pl/gmail-plasmoid.po
Translation updated.
Update .notifyrc file...
Outputting notifyrc file
gmail-plasmoid icon installed
Updating command to:firefox %u
QPainter::font: Painter not active
Done updateIcon
Done updateIcon
Wallet opened
Checking mail...
No accounts configured
Done updateIcon
Done updateIcon
Done updateIcon
Done updateIcon
Done updateIcon
Add account
Save account details
Adding account
create account
Checking mail...
[maciekw4/maciekw4] Checking mail...
[maciekw4/maciekw4] Fetching feed...
Done updateIcon
[maciekw4/maciekw4] Process results
[maciekw4/maciekw4] Atom feed received
All fetching is complete
Done updateIcon
Done updateIcon
Checking mail...
[maciekw4/maciekw4] Checking mail...
[maciekw4/maciekw4] Fetching feed...
[maciekw4/maciekw4] Process results
[maciekw4/maciekw4] Atom feed received
All fetching is complete
Done updateIcon
[/code]
So seems like working fine, no? Well,no. It displays a gray envelope as if there were no new messages, and I looked at my account's atom feed using Firefox:
http://mail.google.com/mail/feed/atom
And it lists 10 new messages.
PS.: I use 0.7.10 version.
PPS.: When I click on the envelope, a Firefox window with gmail opens, and I can clearly see that there are 10 new emails.
PPPS.: I doubt it's an account-specific issue, but I can send you my gmail account data via PM, if you believe that would be helpful (so you can try yourself)
Report
mjmccans
11 years ago
Report
warnec
11 years ago
PS.: what is the "label" field for, then?
Report
mjmccans
11 years ago
Report
warnec
11 years ago
Report
mjmccans
11 years ago
If you do not have kwallet enabled in your system settings you will be asked for your password each time you start KDE, even if you select the “save password” option. This is simply how the kde libraries function without kwallet enabled, and since I am trying to leverage the DKE infrastructure as much as possible I am not overly excited about working around these libraries. For whatever reason, KIO seems to ask for the password for protected resources even when the password is supplied to it when called. While it is very possible that I am calling KIO incorrectly (please let me know if you see an issue) others have confirmed this behaviour in their applications.
A possible solution to this problem would be to use python functions to fetch the Gmail atom feed, which is actually how I implemented the first version of the plasmoid. However, this seemed to cause a multitude of other more serious problems since the plasmoid would not follow people’s network settings (proxy settings were the particular issues that caused me to switch to KIO). The following issue report discusses this issue: http://code.google.com/p/gmail-plasmoid/issues/detail?id=7
Basically, to make a long story short, the plasmoid should work correctly with kwallet enabled, but if it does not for you then you have probably found a new bug and hopefully I can help you track it down. I hope this helps.
Report
RazZziel
11 years ago
I can alt+tab to other windows and interact with them, but I can't, for example, select a window in the taskbar, or open the K menu.
Report
mjmccans
11 years ago
As for the modal nature of the configuration dialog, unless I am doing something very wrong this appears to be an unfortunate side-effect of scripted plasmoids. I have seen this exact behaviour with other python plasmoids, but I have not looked at the issue very deeply. However, if you find a scripted plasmoid that does not exhibit this behaviour please let me know and I will take a look at how they avoided the issue.
Report
RazZziel
11 years ago
What you say about scripted plugins may be right, I don't remember having tried other scripted plugins. It's probably a plasma bug.
Report
RazZziel
11 years ago
Most people will probably want to use the same browser everywhere, so having a global browser configuration makes way more sense.
This is how konversation does it: http://img29.imageshack.us/img29/4324/konvbrowser.png
Report
lukic
11 years ago
Is there a solution for this? Thanks
Report
mjmccans
11 years ago
plasmoidviewer gmail-plasmoid
Report
lukic
11 years ago
I have started pasmoid in the terminal like you said and I don't receive any errors. I think it's even checking my mailbox for new mail but it won't notify me about new messages. When I click on Check email now I can see that some data is being sent and received on Network monitor. But the icon is always black ( or any other color I pick ) even though I have new mail.
Report
mjmccans
11 years ago
Report
lukic
11 years ago
Thanks for your time.
Report
ValentinPavlyuchenko
11 years ago
Plasmoid reports "Network connection appears to be down." while I'm already connected to internet via LAN.
If I comment out connection checking in main.py everything works ok.
Report
mjmccans
11 years ago
Report