pulb / mailnag-gnome-shell Goto Github PK
View Code? Open in Web Editor NEWMailnag GNOME-Shell extension
License: GNU General Public License v2.0
Mailnag GNOME-Shell extension
License: GNU General Public License v2.0
The reasonable and very sane behavior of this extension is to launch the default mail client which is exactly what I think everyone would agree should be done. I think a nice enhancement, though, would be to have an option to override that. A bonus enhancement would be if it could launch the default web browser and open a custom set URL like mail.yuckhoo.com or myaddress.tld/roundcube,
For example, when I'm logged in as the "work" user on my computer, Thunderbird is the default mail client and I pretty much have it open constantly. I use mailnag to monitor my personal account which isn't added to Thunderbird. If mail comes in, it doesn't do any good to launch/focus Thunderbird. It would be nice to be able to set Evolution or the web address for my Roundcube instance as the launch action. When logged in with my personal account on my computer, I wouldn't select to override the default action as Evolution is that user's default mail client and is connected to the account mailnag monitors.
gnome says 'outdated' if I want to install it in the new gnome 3.20 version.
Hi, I'm trying to install the extension on Fedora 20 (x86_64 Gnome 3.12) but when I try to compile it, it gave me this error:
$ make install-local
valac --pkg folks aggregate-avatars.vala
error: Package `folks' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 1 error(s), 0 warning(s)
make: *** [aggregate-avatars] Errore 1
The package "folks" is indeed installed on the system.
Thanks!
As the title says. Not sure yet if scrolling should be enabled when using grouped accounts.
As the title says.
It seems that Debian is updating Gnome to new version. Gnome Shell version 3.21.91 arrived to Debian testing and apparently version 3.22 will come in near future.
mailnag-gnome-shell will need at least version number update.
Under a yet-to-be-understood scenario, mailnag (and I don't know if it's the backend or the Shell extension) starts to completely fail:
I'm sometimes able to recover from this state by restarting the backend (using mailnag's preferences On/Off button) UPDATE 2017-06-21 and restarting Shell (Alt+F2, r), and I think both restarts are needed (which is why I say I don't know if it's a backend or frontend issue :-/ )
This happens every few days on my machine, and I have no idea how to get a more precise idea of the bug.
→ How can I get more debug info/logs (both backend and extension) to help me/you understand what's wrong? Thanks 🙂.
mailnag 1.2.1 running on Shell 3.24.2 on Arch Linux x64
Hello,
GNOME 3.18 has been released and many people already use it. Could you please update your extension at extensions.gnome.org to support this new GNOME version?
Thanks!
Hi there! Great work!
I using Fedora 23 and installed mailnag-gnome-shell via Gnome extension website.
Could you please add a menu or button to remove/ disable / stop mailnag-gnome-shell and mailnag deamon?
It would be cool to have an AUR package for the git version of mailnag-gnome-shell.
If new mails arrive, the counter badge of the topbar indicator should be animated with a short pulsate effect.
Hello! first of all, thank you very much for this great work.
Ok, my suggestion is the following: I see that when 8 or 9 mails arrive, you have to go and click on each of them in order to clean the list. This could become a little bit demanding if you are receiving lots of mails due to, for example, an active conversation. Would be really awesome to have an option that says "clear all received mails" (or something like that) to avoid the multiple clicking, resulting in the cleaning of the entire list using only one click. :)
Thanks in advance and keep going! 👍
When compiling from git the LICENSE and README.md files are not installed by make install
Should be an option in the extension config dialog (off by default).
Hello. I install extension using extensions.gnome.org. But on Fedora 24 (Gnome 3.20.1) icon in the statusbar is not available.
Hello,
I have some trouble after the most recent update. After update I am getting the error:
GLib.FileError: File »~/.local/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled« could not open: open() failed: No such file or directory
Stack trace:
getSettings@~ /.local/share/gnome-shell/extensions/[email protected]/convenience.js:79:18
MailnagSettingsWidget<._init@~ /.local/share/gnome-shell/extensions/[email protected]/prefs.js:46:18
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
buildPrefsWidget@~ /.local/share/gnome-shell/extensions/[email protected]/prefs.js:99:15
_selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:91:22
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:243:17
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
main@resource:///org/gnome/shell/extensionPrefs/main.js:397:5
@
I am using Fedora 28, german language.
I am grateful for any help
.date-label duplicates a standard entry in gnome-shell.css causing it to override the calendar date in the shell's dropdown calendar.
My solution was to change .date-label in stylesheet.css and indicator.js to .mailnag-date-label
Additionally I deleted all the color: #8e8e80; entries as it appears those seem to be supplied by the gnome-shell theme for best aesthetic on custom themes.
(I'm using gnome 3.26.2 and 3.27.1, not sure if this appeared in previous versions)
Sep 12 2018, this has still not been addressed.
Just an idea that maybe libravatar can be used to find avatars for mail addresses (maybe optionally before, after or instead of current mechanism).
Libravatar (https://www.libravatar.org/) is a gravatar like service, but it is federated service and domains can serve avatars by themselves.
Its API is simple and contains calculating hash from mail address, making DNS query for domain and fetching avatar using HTTP request. I don't know if there is libraries for vala or javascript but I guess it is still implementable easily.
I think it would also require some kind of cache for avatars, so that networks operations is needed only for new addresses. And updates for cache would not need to be done frequently because avatars don't change frequently (I think).
I just wanted to test Mailnag for the first time (since there's no Popper for my Ubuntu 15.04), and unfortunately my Yahoo! account is not working with it. Mailnag works with Gmail just fine, but it fails with Yahoo.
BTW, I think that the blue envelope icon notification within the top panel would be appropriate for this purpose.
Thanks!
Gjs-CRITICAL **: JS ERROR: SyntaxError: syntax error @ /home/poncho/.local/share/gnome-shell/extensions/[email protected]/extension.js:40
the fix is based on eonpatapon/gnome-shell-extension-caffeine@c6868c3
diff --git a/extension.js b/extension.js
index e02abc4..0d139a1 100644
--- a/extension.js
+++ b/extension.js
@@ -37,26 +37,28 @@ const SHOW_NOTIFICATIONS = true;
const SHOW_INDICATOR = true;
const SHOW_AVATARS = true;
-const MailnagIface = <interface name="mailnag.MailnagService">
-<method name="GetMails">
- <arg type="aa{sv}" direction="out" />
-</method>
-<method name="GetMailCount">
- <arg type="u" direction="out" />
-</method>
-<method name="Shutdown" />
-<method name="CheckForMails" />
-<method name="MarkMailAsRead">
- <arg type="s" direction="in" />
-</method>
-<signal name="MailsAdded">
- <arg type="aa{sv}" />
- <arg type="aa{sv}" />
-</signal>
-<signal name="MailsRemoved">
- <arg type="aa{sv}" />
-</signal>
-</interface>;
+const MailnagIface = '<node>\
+ <interface name="mailnag.MailnagService">\
+ <method name="GetMails">\
+ <arg type="aa{sv}" direction="out" />\
+ </method>\
+ <method name="GetMailCount">\
+ <arg type="u" direction="out" />\
+ </method>\
+ <method name="Shutdown" />\
+ <method name="CheckForMails" />\
+ <method name="MarkMailAsRead">\
+ <arg type="s" direction="in" />\
+ </method>\
+ <signal name="MailsAdded">\
+ <arg type="aa{sv}" />\
+ <arg type="aa{sv}" />\
+ </signal>\
+ <signal name="MailsRemoved">\
+ <arg type="aa{sv}" />\
+ </signal>\
+ </interface>\
+</node>';
const MailnagDbus = Gio.DBusProxy.makeProxyWrapper(MailnagIface);
When all mails are read (eg in thunderbird) the top right notification (INDICATOR) disappears but the bottom notification (NOTIFICATIONS) stays and is only updated when new mails arrive.
The bottom notification should update when mails are read as well.
The same issue applies to the notifications from the libnotify plugin.
The current version is not working with gnome 3.24. Please update it.
Thanks
Hi Patrick!
Thanks for the recently released Mailnag update, especially the topbar indicator for gnome-shell is extremely useful! Nevertheless, it could need some improvement imho. The mail icon itself seems too small, the counter is barely readable. Maybe a minimalistic counter, like the message notifier extension (https://extensions.gnome.org/extension/150/message-notifier/) is using, will suffice? There is no need of having an additional mail icon under the counter number, since it's already clear that this counter belongs to Mailnag. What do you think?
Additionally, the space between the Mailnag icon to the other icons on the topbar could be increased, since currently it looks a little bit stacked. Have a look at: http://i.imgur.com/Bi7x7lq.png
Would be nice to hear from you!
Hopefully should not be much more than small changes to metadata.json...
Please upload this extension to https://extensions.gnome.org/ . That will simplify the installation for many users (regardless of their distribution) substantially. Thanks.
Hi,
I've recently moved over to Gnome since Ubuntu is stopping Unity development. I had Mailnag working great in Unity as it integrated right into the default mail/messenger tray icon. After installing the Mailnag gnome shell extension, everything seems to work how it used to in Unity except when I have no new messages. I can no longer click on the Mailnag icon to launch my mail client when there is no new mail pending. Is there a way to enable this feature with the gnome shell extension?
Every time I get new mail mailnag floods the notification area. About 10 times a repeated 'new mail' message.
I noticed it since transitioning from gnome-shell 3.20 to 3.22.
If I click on "mark as read" on the popup gnome notification, the mail is not mark as read because when I open my regular software to read mail, the mail is still onread.
Hi!
Thanks for mailnag! It is really fast :)
Though I did install mailnag via sudo apt-get install mailnag
and then installed the unity plugin from your tarball the indicator did not show up.
I then entered "mailnag-unity.desktop" manually in dconf > com > canonical > indicator > messages and it shows up. But it does not change indicate new messages. "Only" the popup in unity is working.
Thanks in advance!
In previous GNOME versions it used to be centered, as seen here.
Hi,
is it possible to add an option to always display the icon in GNOME Shell ?
Thx.
Sometimes mailnagd gets stuck for some reason. Sometimes I don't want to wait another 10 minutes to hide the notification. It would be really great if there was a "refresh" button in the drop-down menu to force immediate refresh.
Thanks a lot!
Hey Patrick! First of all, great work. I have a suggestion on the gnome-shell tray icon:
Depending on the theme you're using, the default icon for read/unread messages seems to be out of place, it would be nice if we had the option to select a custom icon and opacity settings in this case.
Since the makefile doesn't support submitting an alternative destdir parameter it's currently impossible to package the extension.
hi,
gnome is sometimes crashing when this extension is on and i try to move windows between screens.
If I install the extension from https://extensions.gnome.org/extension/886/mailnag/ I get an error and the extension doesn't run in fedora 28 (gnome-shell 3.28.2)
If I get the extension from github everything is ok.
Can you update the version in the gnome extensions?
Thanks
Given the following scenario:
You've got 10 unread mails in your inbox. Then you read or delete 7 of them. If you now let the gs-extension check for new mails the counter badge still says you've got 10 unread mails. The list of mails seems to be not updated too.
Currently the indicator mail list's width "jumps" when marking mails as read. The list should use a fixed width instead and ellipsize mail sender/subjects that overflow the width.
After latest update from https://extensions.gnome.org/extension/886/mailnag/ mailnag no longer works for me, the installation button on that page displays ERROR
and I see this in console:
Mar 29 15:03:25 dryad gnome-shell.desktop[1970]: Gjs-Message: JS LOG: Extension "[email protected]" had error: GLib.FileError: Can't open file „/home/kparal/.local/share/gnome-shell/extensions/[email protected]/schemas/gschemas.compiled“: open() failed: File or directory doesn't exist
I'm sure there's a good reason (gnome policy maybe?). Just curious about what that is! :)
The extension can't be install from the Gnome Extensions web page in Fedora 25, GNOME Shell 3.22.
Can you please update ?
Thanks.
Extension settings don't take effect when closing the extension settings dialog in GNOME 3.18.
Hi!
Is there a way to adjust the e-mail check frequency in mailnag and the gnome-shell indicator respectively? The old version, as I can remember, had such an option. Currently, I have to wait several minutes to get a notification in the topbar of a new e-mail. The same goes for a read or deleted e-mail.
Best!
When I click on new email, I get blank new page with google chrome.
$BROWSER = /usr/bin/google-chrome
Please how to fix this ?
Hello Patrick!
I'm already using mailnag in connection with the launchpad repository for easy installation and I'm wondering, if there is also a convenient method to install the gnome shell extension, since this extension is not published in the official gnome extensions site? Do you plan to release a ppa for this extension too?
Danke im Voraus!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.