Gmail Feed

Plasma 5 Applets

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

4
7.7
Available as/for: -
Description:

Gmail Feed is a plasmoid for Plasma 5. It provides a list of your unread emails from your Gmail inbox. You also get notified when you receive new messages.

trekjunky

5 years ago

How do I add a second google account? When I right click the plasmoid and click Gmail Feed Settings, all I get is the polling interval. Is that normal?

Report

C

anthon38

5 years ago

You can only use one account at a time. If you use the kaccounts branch in git you can setup multiple accounts, but the plasmoid will check only one of them (that you can choose in "current account").

Report

trekjunky

5 years ago

I guess it would take too much time to have the plasmoid check multiple accounts at the same time?

Report

naughtypine

5 years ago

Receive "Sign-in attempt prevented" email from Google after login attempt.

"Someone just tried to sign in to your Google Account ********@gmail.com from an app that doesn't meet modern security standards."

Is there any way to remedy this?

Compiled from source on openSUSE Leap 42.1

Report

C

anthon38

5 years ago

You can try to compile the kaccounts branch from git. (You'll need to install something called kaccounts-integration) Let me know if you have issues.

I should really update this...

Report

naughtypine

5 years ago

Thanks for the quick response!

I tried the git version (via OBS KDE:Frameworks:Unstable) and there was no effect.

Maybe I'll wait for your update. :)

Report

C

anthon38

5 years ago

What's the name of the package in OBS?

Report

naughtypine

5 years ago

kaccounts-integration-15.11.60git.20151221T142051~f68079c-31.1.x86_64.rpm

Report

9

janet

5 years ago

It would be great if your widget could also be used for e.g. GMX (and others). Is it possible to implement that? Maybe that flexible that the user can add any provider? Or as a given list of providers? If a flexible widget is not possible/what you wnat - maybe you could make a second widget just for GMX?

Report

9

rosenrot

5 years ago

Widget asks for a password after each logon. I would like to be able to save your password.

Report

staskaz

5 years ago

Hello, is it possible that you add the option to choose a program (or better a command) to run, when click on the new email. For example I would like to open thunderbird.

I have tried to implement it myself using QProcess but since I am not a programmer it was not successful.

This would give a lot more flexibilities to use your widget.

Thanks for this great work ;)

Report

9

schnelle

5 years ago

You can find Kubuntu packages in this ppa:

https://launchpad.net/~varlesh-l/+archive/ubuntu/plasma5-tools

or commands:
sudo apt-add-repository ppa:varlesh-l/plasma5-tools
sudo apt-get update
sudo apt-get install plasma-widget-gmailfeed



Report

SamDM

5 years ago

Hi,

first of all, Great app !

I did have some trouble to make it work though. I didn't have the Gmail two-step verification on, and by using my regular e-mail and password I got an authentication failure. I got around the issue by setting up a 2-step verification as specified in
https://www.google.com/landing/2step/
and then generate an app specific password as specified in
https://support.google.com/accounts/answer/185833?hl=en
Finally I logged in with my e-mail adress and the app specific password and everything worked.

I don't know if others encounter the same issue, but if so, you could maybe add some instructions.

Thx,
Sam

Report

dundee

5 years ago

It's really useful plasmoid. Do you plan to add possibility to choose between opening Gmail or Inbox By Gmail after clicking on unread mail?
How can I help you with translating your plasmoid into Polish?

Report

C

anthon38

5 years ago

Hello,
> Do you plan to add possibility to choose between opening Gmail or Inbox By Gmail after clicking on unread mail?
I'm sorry but I don't understand what you mean. Can you elaborate?

Report

elav

3 years ago

Edit line 125 of /usr/share/plasma/plasmoids/org.kde.plasma.gmailfeed/contents/ui/main.qml.. Replace gmail.google.com and save. Then reload PlasmaShell or Logout and Login.

Report

dundee

5 years ago

I'll try :-)
When you have unread messages in plasmoid and you click one of them, the web browser is opened and gmail.com site is displayed.
I asked about option to open inbox.google.com instead of gmail.com.
Do you know now what I have on my mind?

Report

C

anthon38

5 years ago

I had no idea this existed. I'll look into it.

Report

dundee

5 years ago

I've done Polish translation. If you want it, please save code posted below into plasma_applet_org.kde.plasma.gmailfeed_pl.po file, convert it to .mo file and copy .mo to /usr/share/locale/pl/LC_MESSAGES

# gmailfeed polish translations.
# Copyright (C) 2015 Daniel Winiarski
# This file is distributed under the same license as the Gmail Feed package.
#
# Daniel Winiarski <daniel.winiarski.dw@gmail.com>, 2015.
msgid ""
msgstr ""
"Project-Id-Version: gmailfeed 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-03-18 13:44+0100\n"
"PO-Revision-Date: 2015-05-26 21:28+0100\n"
"Last-Translator: Daniel Winiarski <daniel.winiarski.dw@gmail.com>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
"Language: Polish\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Lokalize 2.0\n"

#: package/contents/ui/FullRepresentation.qml:46
#: package/contents/ui/main.qml:130
msgid "Open inbox"
msgstr "Otwórz skrzynkę odbiorczą"

#: package/contents/ui/main.qml:81 package/contents/ui/main.qml:84
msgid "1 unread message"
msgid_plural "%1 unread messages"
msgstr[0] "1 nieprzeczytana wiadomość"
msgstr[1] "%1 nieprzeczytane wiadomości"

#: package/contents/ui/main.qml:83 package/contents/ui/main.qml:86
msgid "No unread messages"
msgstr "Brak nieprzeczytanych wiadomości"

#: package/contents/ui/main.qml:90 package/contents/ui/main.qml:93
msgid "1 new message"
msgid_plural "%1 new messages"
msgstr[0] "1 nowa wiadomość"
msgstr[1] "%1 nowe wiadomości"

#: package/contents/ui/main.qml:97 package/contents/ui/main.qml:99
msgid "Checking for new messages..."
msgstr "Sprawdzanie nowych wiadomości..."

#: package/contents/ui/main.qml:133 package/contents/ui/main.qml:131
msgid "Check mail"
msgstr "Sprawdź pocztę"

#: package/contents/ui/configGeneral.qml:35
msgid "Polling interval: "
msgstr "Częstotliwość sprawdzania:"

#: package/contents/ui/configGeneral.qml:41
msgctxt "Polling interval in minutes"
msgid "min"
msgid_plural "min"
msgstr[0] "min"
msgstr[1] "min"

#: package/contents/config/config.qml:24
msgid "General"
msgstr "Ogólne"

#: package/contents/ui/main.qml:70 package/contents/ui/main.qml:117
msgid "Offline"
msgstr "Tryb offline"

#: package/contents/ui/MessageDelegate.qml:33
msgctxt "Message delegate, author: title"
msgid "<b>%1: </b>%2"
msgstr "<b>%1 : </b>%2"

Report

HeinzDo44328

5 years ago

I can compile it, but if I want to use it is this:
Failed to load the QML file: file: ///usr/share/plasma/plasmoids/org.kde.plasma.gmailfeed/contents/ui/main.qml: 24: 1: Module "org.kde.plasma.private .gmailfeed "is not installed

Report

C

anthon38

5 years ago

How did you install it?
The error message contains a space that shouldn't be there in "org.kde.plasma.private .gmailfeed " (the one in the middle), can you make sure the space isn't here in /usr/share/plasma/plasmoids/org.kde.plasma.gmailfeed/contents/ui/main.qml?
Can you post the output of "ls /usr/lib/qt/qml/org/kde/plasma/private/"?

Report

rickrankin

5 years ago

I just built from source because installing through the KDE Plasma Add-On installer doesn't work. On F22, at least, if I click "install" in the add-on installer, it appears to work and reports "Installed", but gmail never appears in the list of plasmoids I can install. So I tried building from source.

After getting all the correct packages installed (and they weren't obvious to me), it appears that "make install" is putting the shared library in the wrong location. It's installing to

/usr/lib64/qml/org/kde/plasma/private

where it should be installed in

/usr/lib64/qt5/qml/org/kde/plasma/private

Note the "qt5" component between lib64 and qml. After moving the contents into the correct location, it worked fine.

If anyone's interested, the packages I had to install to get it to build were

qt5-qtdeclarative-devel
kf5-kconfig
kf5-kconfig-devel
kf5-kcoreaddons-devel
kf5-kpackage-devel
kf5-kservice-devel
kf5-plasma-devel
kf5-frameworkintegration-devel
kf5-kauth-devel
kf5-kcodecs-devel
kf5-kconfigwidgets-devel
kf5-kdeclarative-devel
kf5-ki18n-devel
kf5-kiconthemes-devel
kf5-knotifications-devel
kf5-knotifyconfig-devel
kf5-ktextwidgets-devel
kf5-kwidgetsaddons-devel
kf5-sonnet
kf5-sonnet-devel

It's entirely possible that not all of those are necessary, and others may need additional packages based on their starting point.

Hope that helps someone.

Report

HBurnerC

5 years ago

To fix the problem with the wrong QML path you have to set the variable KDE_INSTALL_USE_QT_SYS_PATHS to ON.
Quote:
mkdir build && cd build
cmake .. -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make && sudo make install

Report

9

pyrforos

5 years ago

i get
/gmailfeed-1.1/plugin/notification.cpp:22:25: fatal error: KNotification: No such file or directory
#include <KNotification>
^
compilation terminated.

Report

C

anthon38

5 years ago

Which distro? Did you install the knotifications dev package?

Report

12345678910
115
product-maker shaeda Aug 15 2019 1 ugh
Sadly, looks like it no longer works. :(
product-maker emplate430 May 19 2018 9 excellent
TY!
product-maker tepca Nov 09 2016 9 excellent
product-maker dubious Nov 09 2016 9 excellent
product-maker izzzy Nov 05 2016 9 excellent
product-maker schnelle Jan 16 2016 9 excellent
product-maker rosenrot Sep 18 2015 9 excellent
product-maker jarod82 May 16 2015 9 excellent
product-maker roctheme May 07 2015 9 excellent
product-maker pyrforos Apr 29 2015 9 excellent
product-maker fatino Apr 28 2015 9 excellent
product-maker janet Mar 27 2015 9 excellent
product-maker frag Dec 27 2014 9 excellent
product-maker jarkamirov Dec 20 2014 9 excellent
product-maker pjhalsli Dec 20 2014 9 excellent
product-maker ithemaster Dec 20 2014 9 excellent
Be the first to comment
bialyikar
Oct 24 2020
doczilaci
Jan 03 2019
x-varlesh-x
Apr 05 2018
aschkolnik
May 10 2016
x-varlesh-x
May 13 2018
File (click to download) Version Description Devices Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
1 Plings
0 Affiliates
Details
license
version
1.1
updated Mar 23 2015
added Dec 20 2014
downloads 24h
9
mediaviews 24h 0
pageviews 24h 8