Mailnag for gnome-shell mail notifier

Hi,
i already asked in the desktop section how to run the code (python) but i cannot manage to run! So i ask kindly if it is possible to have this 'extension' as a package on aur.
It's a gnome-shell notifier email in which by using evolution (maybe thunderbird) to reply mail directly from the gnome-shell popup window.
https://launchpad.net/mailnag
Thanks in advance
Last edited by techmagyor (2011-06-01 17:34:51)

I just got mine working it seems like there is an other sneaky dependency, as the script depends on aplay from alsa-utils to play a notification sound. After installing alsa-utils, everything worked.
For your problem: I don't really know about the differences between gmail and googlemail, but try to replace ****@gmail.com with ****@googlemail.com. If you are from the UK or Germany, you could be affected by this: http://mail.google.com/support/bin/answ … wer=165761
Edit: By your request, my python packages (I'm using testing on my laptop, if that matters):
dbus-python 0.83.1-2
gstreamer0.10-python 0.10.21-1
mlt-python-bindings 0.7.2-1
mutagen 1.20-3
pygobject 2.28.4-1
pygoocanvas 0.14.1-3
pygtk 2.24.0-1
pygtksourceview2 2.10.1-3
python 3.2-2
python2 2.7.1-9
python2-cairo 1.10.0-1
python2-distribute 0.6.16-1
python2-gconf 2.28.1-7
python2-gtkspell 2.25.3-9
python2-httplib2 0.6.0-4
python-gnomekeyring 2.32.0-6
python-imaging 1.1.7-3
python-notify 0.1.1-10
pyxdg 0.19-2
pyxml 0.8.4-8
2. Edit: Looking at the source code, it seems like it tries ssl by default and then falls back to non-ssl in case of failure.
3. Edit: I extracted the code that causes your error into a standalone script. Invoke it with python2 for further investigations.
print "Importing imaplib..."
import imaplib, sys
port = 993
server = "imap.gmail.com"
print "Attempting to connect via SSL to " + server + ":" + str(port) + "..."
try: srv = imaplib.IMAP4_SSL(server, port)
except:
print "Connection failed. Falling back to non-SSL"
try: srv = imaplib.IMAP4(server, port)
except:
print "Connection failed. Exiting."
sys.exit()
print "Connection established on " + str(srv) + ".\nClosing now. "
srv.logout()
print "Finished."
Last edited by Wey (2011-06-04 21:56:30)

Similar Messages

  • Gnome-Shell mail notifier 'Mailnag'

    Hi to everyone,
    I was looking for this plugin (but it's not a javascript plugin, it's a python application) to let automatically check on gnome-shell notifier system when mail comes. Tha's the repo https://launchpad.net/mailnag. And this is how to catch:
    bzr branch lp:mailnag
    To run it just run mailnag_config
    I tried to let it work but it can't create the configuration file (it seems that it can't create the configuration file) so i'm stuck. Maybe i'm missing some not specificated dependencies?
    Thanks in advance

    I just got mine working it seems like there is an other sneaky dependency, as the script depends on aplay from alsa-utils to play a notification sound. After installing alsa-utils, everything worked.
    For your problem: I don't really know about the differences between gmail and googlemail, but try to replace ****@gmail.com with ****@googlemail.com. If you are from the UK or Germany, you could be affected by this: http://mail.google.com/support/bin/answ … wer=165761
    Edit: By your request, my python packages (I'm using testing on my laptop, if that matters):
    dbus-python 0.83.1-2
    gstreamer0.10-python 0.10.21-1
    mlt-python-bindings 0.7.2-1
    mutagen 1.20-3
    pygobject 2.28.4-1
    pygoocanvas 0.14.1-3
    pygtk 2.24.0-1
    pygtksourceview2 2.10.1-3
    python 3.2-2
    python2 2.7.1-9
    python2-cairo 1.10.0-1
    python2-distribute 0.6.16-1
    python2-gconf 2.28.1-7
    python2-gtkspell 2.25.3-9
    python2-httplib2 0.6.0-4
    python-gnomekeyring 2.32.0-6
    python-imaging 1.1.7-3
    python-notify 0.1.1-10
    pyxdg 0.19-2
    pyxml 0.8.4-8
    2. Edit: Looking at the source code, it seems like it tries ssl by default and then falls back to non-ssl in case of failure.
    3. Edit: I extracted the code that causes your error into a standalone script. Invoke it with python2 for further investigations.
    print "Importing imaplib..."
    import imaplib, sys
    port = 993
    server = "imap.gmail.com"
    print "Attempting to connect via SSL to " + server + ":" + str(port) + "..."
    try: srv = imaplib.IMAP4_SSL(server, port)
    except:
    print "Connection failed. Falling back to non-SSL"
    try: srv = imaplib.IMAP4(server, port)
    except:
    print "Connection failed. Exiting."
    sys.exit()
    print "Connection established on " + str(srv) + ".\nClosing now. "
    srv.logout()
    print "Finished."
    Last edited by Wey (2011-06-04 21:56:30)

  • Wayland backend per user for Gnome Shell?

    Hello, I've been trying to set environment variable with Wayland backend for Gnome Shell on Wayland but this per user just doesn't work.
    I tried to put:
    export GDK_BACKEND=wayland
    export CLUTTER_BACKEND=wayland
    to files like .profile and .bashrc but Gnome Shell doesn't tolerate these two. Without Wayland backend everything just run in XWayland "mode".
    Weston tolerate this backends but it is highly "underfetaured" and sometimes it's just crash (some breakpoint trap).
    Any response appreciated.

    I have had a brief look and I think there may be a way in to add/change things via .desktop files.  It looks like whenever gnome loads a .desktop type file it should look in $XDG_CONFIG_HOME home which, by default, would be $HOME/.config first before loading it from one of the standard system directories.  The standard session definitions are desktop files (though with a .session extension) so putting a copy on $HOME/.config should enable user specific reconfiguration.

  • Gcal data provider for GNOME-Shell

    So I wanted to try out the new GNOME-Shell calendar app (the one attached to the clock at the top of the screen), but I definitely didn't want to use evolution. I use Google calendar for all of my calendaring.
    Enter: google-calendar-server.
    Just a quick and dirty python script (but it did take quite a bit of reading as I had no idea how to interact with Dbus at all before), it uses Google's provided gdata api to grab your calendar information, and then present it to the Dbus interface that the calendar app is looking at for information.
    Dependencies:
    - python2
    - dbus (python-dbus)
    - gdata (for getting calendar info)
    - isodate (easy parsing of the dates given by Google, since they are for reasons unknown not just sending you dates in UTC or unix timestamp...)
    Usage:
    $ python2 cserver.py -uUSERNAME -pPASSWORD
    It's ugly and dirty at this point, but it's certainly functional, so I figured I'd share it. You will probably want to turn off the Debug flag before running it unless you want to see all of my debug prints.
    Download: https://bitbucket.org/skystrife/google-calendar-server

    So I wanted to try out the new GNOME-Shell calendar app (the one attached to the clock at the top of the screen), but I definitely didn't want to use evolution. I use Google calendar for all of my calendaring.
    Enter: google-calendar-server.
    Just a quick and dirty python script (but it did take quite a bit of reading as I had no idea how to interact with Dbus at all before), it uses Google's provided gdata api to grab your calendar information, and then present it to the Dbus interface that the calendar app is looking at for information.
    Dependencies:
    - python2
    - dbus (python-dbus)
    - gdata (for getting calendar info)
    - isodate (easy parsing of the dates given by Google, since they are for reasons unknown not just sending you dates in UTC or unix timestamp...)
    Usage:
    $ python2 cserver.py -uUSERNAME -pPASSWORD
    It's ugly and dirty at this point, but it's certainly functional, so I figured I'd share it. You will probably want to turn off the Debug flag before running it unless you want to see all of my debug prints.
    Download: https://bitbucket.org/skystrife/google-calendar-server

  • Gnome Shell

    I want to basically wipe my system clean except for sudo, base and clyde and then install Gnome Shell via AUR/clyde.
    Is there an easy way to just uninstall everything? I am currently running Gnome 2.
    Also, should I install gnome-shell or gnome-shell-git from AUR?
    Thanks!

    justo wrote:
    Gnome Shell reportedly compiled correctly but when I run ./gnome-shell --replace I get
    [justin@Justin src]$ ./gnome-shell --replace
    Gtk-Message: Failed to load module "gnomesegvhandler": libgnomesegvhandler.so: cannot open shared object file: No such file or directory
    mutter: symbol lookup error: /home/justin/gnome-shell/install/lib64/gtk-3.0/modules/libcanberra-gtk-module.so: undefined symbol: gtk_quit_add
    [justin@Justin src]$ Window manager warning: Screen 0 on display ":0.0" already has a window manager; try using the --replace option to replace the current window manager.
    Cannot register the panel shell: there is already one running.
    Am I missing a dependency?
    I do not know what to do about your first Gtk-Message. It doesn't happen to me (at least I'm not aware of it) and Google doesn't help.
    For your second error (see e.g. http://mail.gnome.org/archives/gnome-sh … 00059.html):
    rm ~/gnome-shell/install/lib/gtk-3.0/modules/libcanberra-gtk-module.so
    You might have a look at the Gnome Shell mailing list (http://mail.gnome.org/archives/gnome-shell-list/) when you are in trouble, sometime workarounds are provided there.
    Last edited by alexcriss (2011-01-09 09:52:59)

  • Recent update broke GNOME Shell drawing?

    Hi.
    I'm recently working on a theme for GNOME Shell, and in the "popup-menu-item" class I used a style like this: "box-shadow: inset 0 1px 0 #86d1f2;"
    It was all good before, but after I update my system yesterday the inset box-shadow property seems to be broken.
    With "0 1px [something greater than 0]" it works just fine,
    but if I do what I did above, going with "0 1px 0", the shadow (which should've been only 1 pixel high) would cover the whole button.
    Not sure if it's just me or it really is a bug.
    And I don't know much about all those packages, but I suspect it's gtk or cairo that cause the change.
    Please tell me what you think and where and how I can properly report this. Thanks!
    FYI,
    Before (check the third one from the left at the bottom): http://illusionmist.deviantart.com/#/d4yu9f2
    After: http://imgur.com/X5C6f
    Last edited by illusionmist (2012-05-14 15:02:36)

    wonder wrote:do you have nouveau?
    Is it something Nvidia-related? No, I don't think so. I'm running on ATI.
    But I don't think it's a graphical glitch caused by driver or something like that anyway.
    Must be the Shell or whatever it is it's using to draw.
    A few thoughts:
    1. If someone can check this for me, apply a random third-party theme, and add "box-shadow: inset 0 1px 0 red;" in the ".popup-menu-item" block, ALT-F2 "rt"
    then check if it's a red line or covers the whole item.
    2. Assume it's caused by, say, Cairo, can I downgrade to an earlier version easily with pacman or yaourt? That way I might be able to find the problem.
    Thanks.

  • Gnome-shell & flash video questions,

    Hi all,
    Right so I installed Arch on my old laptop this afternoon, a Toshiba Satellite M40 - first of all I was hoping to use Gnome-shell but it seems my old laptop isn't capable of running it.
    see there for the specs, the graphic card is an Ati X300 - so once setup if gnome-shell is installed - the gnome screen is blue (the default wallpaper) then nothing else, no error neither. Removing gnome-shell will start gnome with an error that gnome-shell crashed (would be good to know how to solve it)
    Then the second questions is regarding flash-video. Running the plugin and firefox youtube's video are running fine, but if I want to watch video from motogp.com (sorry the content is not free) the video is not smooth - so for gnome-shell I can understand the hardware isn't powerful enough but for the flash video I am puzzled and would love to be able to use my old laptop - especially that those video were running fine few month ago on the same laptop running XP.
    Many thanks,

    You could try forcing a fallback mode. It needs gnome-panel and metacity to work. https://wiki.archlinux.org/index.php/GN … lback_mode
    Flash's performance has always been worse in OSes other than Windows. http://arstechnica.com/software/news/20 … yer-10.ars

  • Gnome-shell segfault when using fglrx

    I have again tried to switch to the proprietary ATI Catalyst drivers as I wanted OpenCL support.  When I attempt to login I get the "Oh no!" error screen.
    dmesg:
    [ 33.063458] 2:3:1: cannot get freq at ep 0x82
    [ 34.186831] 2:3:1: cannot get freq at ep 0x82
    [ 37.022969] gnome-shell[1635]: segfault at 5 ip 00007ff4f0b6af59 sp 00007fffafafd0c0 error 4 in libcairo.so.2.11000.2[7ff4f0b32000+a9000]
    [ 37.423318] gnome-shell[1662]: segfault at 5 ip 00007fc69e495f59 sp 00007fff3f6a5bc0 error 4 in libcairo.so.2.11000.2[7fc69e45d000+a9000]
    [ 652.305051] gnome-screensav[1647]: segfault at 5 ip 00007f968c453f59 sp 00007fff38525440 error 4 in libcairo.so.2.11000.2[7f968c41b000+a9000]
    I just did a full system upgrade, hoping that would solve something, but it did not.
    Any ideas?
    EDIT: The wiki says support for gnome-shell with fglrx is "not very good".  Is anyone else using the two together successfully?
    EDIT 2: I am running two monitors, so this bug looks relevant: https://bugzilla.gnome.org/show_bug.cgi?id=649676
    EDIT 3: Just don't use fglrx with GNOME if you want to maintain some sanity.
    Last edited by whackedspinach (2011-06-04 01:34:44)

    I succeded running gnome-shell with fglrx but performances suck and I get a lot of glitches, back to open drivers.

  • [REQUEST] Gnome Shell Iconmanager extension

    Came across this gnome shell extension today that lets you move tray icons from the autohiding message tray on the bottom of the screen, to the systemtray at the top.
    http://www.webupd8.org/2011/06/move-ico … o-top.html
    Would be great is someone could package this for the aur

    I second that! I was just looking if it has been requested before.
    It makes a ton of those Move Icon XY to Topbar or Remove Icon XY from Topbar Extensions obsolete.
    It's not hard to install if you follow the guide, but it might be useful for others. Usually I stumble upon extensions for
    gnome shell by browsing the AUR. Many probably don't know that this powerful extension exsists.

  • [solved] Blank screen for few seconds between GDM and Gnome-Shell

    Hi there,
    I don't know if this phenomenon is "normal" or not, so I ask : I am using Gnome 3.6 and after I have logged in on GDM I see a blank screen for roundabout 3 seconds before the gnome-shell starts. The whole system is running fine - so this is no "real" problem -, but this 3 seconds of a black screen between GDM and the gnome-shell are somewhat annoying and I want to find out if this behaviour is normal or not .
    Indeed, if I look into journalctl, I find this messages:
    Dez 03 21:45:53 sushi gdm-simple-slave[272]: WARNING: Failed to give slave programs access to the display. Trying to proceed.
    Dez 03 21:45:53 sushi gdm-launch-environment][305]: GLib-CRITICAL: g_variant_compare: assertion `!g_variant_is_container (a)' failed
    Dez 03 21:45:53 sushi gdm-launch-environment][305]: GLib-CRITICAL: g_variant_compare: assertion `!g_variant_is_container (a)' failed
    Dez 03 21:46:03 sushi gnome-session[311]: WARNING: Detected that screensaver has left the bus
    Dez 03 21:46:03 sushi gnome-session[311]: CRITICAL: gsm_manager_set_phase: assertion `GSM_IS_MANAGER (manager)' failed
    Dez 03 21:46:03 sushi gdm-simple-slave[272]: WARNING: Failed to remove slave program access to the display. Trying to proceed.
    Dez 03 21:46:03 sushi gdm-simple-slave[272]: WARNING: Child process -311 was already dead.
    Dez 03 22:00:50 sushi systemd-tmpfiles[1793]: stat(/run/user/1000/gvfs) failed: Permission denied
    Actually, I don't know if this is relevant for my little "black-screen" problem (but it looks as if ...).
    And
    $ systemctl status gdm.service
    shows nothing to worry about (as far as I can see):
    gdm.service - GNOME Display Manager
          Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled)
          Active: active (running) since Mo, 2012-12-03 21:45:51 CET; 40min ago
        Main PID: 266 (gdm-binary)
          CGroup: name=systemd:/system/gdm.service
              ├─266 /usr/sbin/gdm-binary
              ├─272 /usr/lib/gdm/gdm-simple-slave --display-id /org/gnome/DisplayManager/Displays/_0
              ├─279 /usr/bin/Xorg :0 -background none -verbose -auth /var/run/gdm/auth-for-gdm-xTnD7p/database -seat seat0 -nolisten tcp vt1
              └─440 gdm-session-worker [pam/gdm-password]
    The hardware is an Asrock H77M-ITX board with an Intel GPU. Systemd is up and running well, no failing service units.
    Any ideas, what's going on here?
    Last edited by swordfish (2012-12-08 14:26:00)

    Finally I found out what's going on - and it's so simple
    It's just my monitor which is runing on a default resolution of 1920x1080. When I switched to 1600x900 using Gnome's system tools, the monitor needs roundabout two seconds to adjust to this resolution

  • Plugin for SMPlayer (mp3) & Gnome-shell?

    Hey all.
    I just want to listing music on my PC, but i want good plugin for use that with Gnome-Shell.
    Anyone know a good tool for me?
    Thanks a lots.

    Maybe try gnome-shell-extension-mediaplayer-git:
    https://aur.archlinux.org/packages.php?ID=49367
    It works with at least the following players:
        Clementine
        Banshee
        Rhythmbox
        mpd (with mpDris2)

  • [GNOME Shell] Switch default browser for "overview" search

    Have anyone been able to do this?
    Using Chromium as my default browser, entering a search string in the Overview Panel still only grants the option of searching with Epiphany. As far as I'm able to tell it seems defaulting to Epiphany is hardcoded into GNOME Shell, but please tell me I'm wrong...
    Cheers,
    Kristian

    Does that for me too. Very strange that GNOME Shell does not respect the GNOME default application web browser setting?

  • Recent files for gnome Gnome Shell

    I would like in Gnome Shell 3.6 the search to display also results from most recent used files. Is there a way for something like that?

    I believe this feature is planned for 3.8... can't find a link, though.

  • Looking for an App...SMS / E-Mail notifiers?

    Is there an App that allows you to set your own SMS / E-Mail notifiers?

    No.
    Apple does not permit Apps which modify core functions.
    Sorry !
    You're not the first to ask but you can send feedback here http://www.apple.com/feedback/

  • Gnome-shell-extensions for status bar

    Does anyone know if it would be possible to make a gnome-shell extension to make the status bar at the bottom of gnome-shell always visible and that windows don't cover it?
    Thanks.

    Please start Gnome3 threads in [testing] as it is still under testing.
    Moving...

Maybe you are looking for

  • AIR 3.5.0.880 SDK with ASC 2.0は?

    Flash Builder 4.7を使用しています. ASC 2.0用のAIR SDKを最新の3.5.0.880に更新したいのですが.手順が分かりません. 現在はひとつ前のバージョンAIR SDK 3.5.0.600 with ASC 2.0(Cleative CloudのGame SDKに含まれてたもの)を以下のディレクトリにある古いものと置き換え済みです. C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plug

  • Context not updated from adobe from fields to ABAP web dynpro every time

    Hi, I work through a turtorial for interactive adobe form in web dynpro. The turtorial link is as following: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3?prtmode=navigate I use Active X adobe

  • Replacing default namespace in OSB message flow

    I'm in the process of setting up a simple OSB proxy and could use some help figuring out how to change a default namespace in the response from the business service. The proxy and business service use different namespaces which we'll call "http://foo

  • How do I transfer photos in an email to the photos app on an iPhone ?

    I have an iPhone 4S.  A relative sent a few files of family photos by email. How do I transfer the photos to the iPhone photos app?

  • HP PAVILION DV 2500 IS FULL OF FACTORY DEFECTS!

    SHORT OF 12 MONTHS, I CAN NO LONGER USE MY HP PAVILION DV 2500.  WHAT DID HP SERVICE CENTER SAY AFTER TWO WEEKS WITH THEM?  REPLACE THE MOTHERBOARD!  IT WILL COST ME  $350 PLUS TO REPLACE IT.  A BIG RIP OFF!  I WILL NEVER EVER BUY ANOTHER HP!  AND I