Gmail Notifier

Table of Contents:

  1. Installation
  2. Usage
  3. Misc

(1) Installation:

  • Download the latest version @ http://ahadiel.org/projects/gmail-notifier or from my apt repo
    • deb http://repo.ahadiel.org/apt karmic/
    • deb http://repo.ahadiel.org/apt lucid/
  • apt-get update && apt-get install gmail-notifier

(2) Usage:

  • python gmail-notifier-settings.py

    or Applications -> Internet -> Gmail Notifier – Settings

  • python gmail-notifier.py

    or Applications -> Internet -> Gmail Notifier

(3) Misc:

  • To reset your settings, remove your configuration file.
    • /home/$USER/.config/gmail-notifier/settings.conf
  • It’s recommended to reset after each new release.

34 Responses to Gmail Notifier

  1. Elias K Gardner Elias K Gardner says:
    Firefox 3.5.5 Firefox 3.5.5 Ubuntu 9.10 Ubuntu 9.10
    Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5

    I’m having some trouble running your Gmail Notifier in ubuntu 9.10. I have extracted the tar.gz to a folder onto my desktop and then run it with python gmail-notifier.py. I get the following output.

    o@anoak:~$ python ‘/home/o/Desktop/gmail notifier/gmail-notifier.py’
    Traceback (most recent call last):
    File “/home/o/Desktop/gmail notifier/gmail-notifier.py”, line 28, in
    import feedparser
    ImportError: No module named feedparser

    Am I missing any dependencies?
    Your installation instructions would be much more helpful if they included any dependencies that are required for this to work on a standard ubuntu 9.10 install. You do advertise the program as working for this so it would make sense to provide directions for how to actually make it work.

    Thanks alot ive been looking for something to do this for a long time. I have been using gm-notify you could check that out at https://launchpad.net/gm-notify

    cheers

  2. Michael Michael says:
    Google Chrome 3.0.195.32 Google Chrome 3.0.195.32 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.32 Safari/532.0

    The list of dependencies is on the download page.
    http://ahadiel.org/projects/gmail-notifier

    Of the ones I listed, you seem to be missing python-feedparser.

    In the future, I’ll be sure to add dependency checking :D

  3. Elias K Gardner Elias K Gardner says:
    Firefox 3.5.5 Firefox 3.5.5 Ubuntu 9.10 Ubuntu 9.10
    Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5

    oh i see should have figured that one out myself

    I do like how simple this is. Though I won’t likely switch over until it can remember my username and password in the gnome keyring manager like gm-notify does.

    thanks a bunch

  4. Michael Michael says:
    Google Chrome 3.0.195.32 Google Chrome 3.0.195.32 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.32 Safari/532.0

    I’m glad you got it figured out Elias.

    In the future, I probably will include integration with the gnome-keyring. However, I’m not much of a gnome/gtk programmer so it may take some time D=

  5. Michael Michael says:
    Google Chrome 3.0.195.33 Google Chrome 3.0.195.33 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.33 Safari/532.0

    Gnome keyring support has been added.

  6. Scott Scott says:
    Google Chrome 4.0.257.0 Google Chrome 4.0.257.0 GNU/Linux GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.257.0 Safari/532.5

    Is the version in your apt repo supposed to be the latest? I installed it, and it claims to be v1.5, but lacks the message title support of v1.4. Was this intentional?

  7. Michael Michael says:
    Google Chrome 4.0.257.0 Google Chrome 4.0.257.0 GNU/Linux x64 GNU/Linux x64
    Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.257.0 Safari/532.5

    Hrm, I must’ve uploaded the wrong version.

    I’ll have it fixed within the hour.

    EDIT: Should be fixed now, just remove and reinstall.

  8. anto anto says:
    Firefox 3.5.5 Firefox 3.5.5 Ubuntu 9.10 Ubuntu 9.10
    Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5

    Amazing! this is my gmail notifier now!

    a key for the repo?

    for install the command is:
    sudo apt-get update && sudo apt-get install gmail-notifier
    (with sudo)

    i suggest this from the terminal for add the repo:
    echo “deb deb http://repo.ahadiel.org/apt karmic/” | sudo tee -a /etc/apt/sources.list.d/gmail-notifier.list

    this for the key:
    sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys

    1 window with 3 form at first time the app start (or after the installation) with mail/pass/time (and a default time 5 min) and a checkbox with “start gmail notifier with ubuntu”

    a preference window on right click on gmail notifier system tray icon (and tabs for different accounts) and an exit button

    replace the message when app start “initial check in 30s. -d(^.^d) 0m” with “initial check in 30s”

    forms for setting the time

    integration with firefox for user/pass

  9. Michael Michael says:
    Google Chrome 3.0.195.33 Google Chrome 3.0.195.33 Windows 7 Windows 7
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.33 Safari/532.0

    “for install the command is:
    sudo apt-get update && sudo apt-get install gmail-notifier
    (with sudo)”

    I thought the sudo was implied.

    I’ll take your other suggestions under consideration, but no guarantees.

    Also, what tray icon? Last I checked gmail-notifier ran inside indicator-applet.

  10. anto anto says:
    Firefox 3.5.5 Firefox 3.5.5 Ubuntu 9.10 Ubuntu 9.10
    Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5

    my python “import this” said: “Explicit is better than implicit.” :)

    tnx for consideration, i hope can help..

    yes, inside indicator-applet, no tray icon… i mean: left click indicator-applet -> right click “Gmail Notifier” -> preferences/configuration window (or better, a menu with: check mail now, preferences/configuration, exit from “Gmail Notifier”)

    if click on preferences/configuration -> a window with accounts (in tabs?), a checkbox for “run gmail notifier when gnome starts”, forms for check interval.

    these are all “user friendly addons” we can live without, but i think are useful..

    tnx for your work!!!

  11. Simon Simon says:
    Firefox 3.5.6 Firefox 3.5.6 Ubuntu 9.10 Ubuntu 9.10
    Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.6) Gecko/20091215 Ubuntu/9.10 (karmic) Firefox/3.5.6

    gpg key for your repo?
    my apt annoying me every day :(

  12. Michael Michael says:
    Opera Mobi wmd-50301; Opera Mobi wmd-50301; Windows Windows
    Opera/9.80 (Windows Mobile; WCE; Opera Mobi/WMD-50301; U; en) Presto/2.4.13 Version/10.00

    Yeah, I’ve been meaning to set one up. It’s one of the many things on my long todo list =/

  13. Jose Jose says:
    Firefox 3.5.7 Firefox 3.5.7 Ubuntu 9.10 Ubuntu 9.10
    Mozilla/5.0 (X11; U; Linux x86_64; es-ES; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7

    I’m using gmail-notifier in both my desktop and netbook, with karmic, and I like it. But, in my desktop computer I use JDownloader with reconnection enabled, so after some minutes the machine disconnect and replug. If in the interval of reconnection, gmail-notifier checks my mail, it’s notifies that it insn’t possible to connect (“Unable to connect” message) and STOPS! Why?

    • Michael Michael says:
      Firefox 3.5.6 Firefox 3.5.6 Windows XP Windows XP
      Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729)

      It must be a bug in my current release. I’ll have a look at it when I get a chance.

  14. Jay Jay says:
    Google Chrome 5.0.307.7 Google Chrome 5.0.307.7 GNU/Linux x64 GNU/Linux x64
    Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.7 Safari/532.9

    HI, ive been loking everywhere for a gmail notifier for Ubuntu 9.10, i have the 64bit one (as i assumed that was what i wanted with my amd64 chip.

    Im VERY new to Ubuntu, and im getting really confused with so many different gmail ‘ notifiers in my synaptic package manager. – For a newbie, i have to admit its getting really difficult knowing what to do when trying to install a program or application etc..

    Anyway, to get to the point, Please can somebody give me an IDIOT guide to installing a gmail notifier that DOES work. – As everytime ive installed many of the notifiers suggested by other Ubuntu forums ive had nothing on my ‘task bar’ even when i think the installation is complete. – When i say IDIOT guide, i really do mean that, from the first click, to the last ‘enter’ press. – Please assume i know NOTHING, beacuse i really dont, but i might be able to enjoy Ununtu after ive managed to succesfully install something that i want. – Many thanks.

    • Michael Michael says:
      Firefox 3.6 Firefox 3.6 Windows 7 Windows 7
      Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6

      I’m not sure how much easier it can get… Download the .deb, open, and click install.

  15. Vadim Vadim says:
    Firefox 3.6 Firefox 3.6 Ubuntu 10.04 Ubuntu 10.04
    Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2) Gecko/20100308 Ubuntu/10.04 (lucid) Firefox/3.6

    I am using it under lucid – it does not work out of the box. I had to add a third “dummy” parameter to “clicked” event handlers to make it work.

  16. Dario..!! Dario..!! says:
    Firefox 3.6.3 Firefox 3.6.3 Ubuntu 10.04 Ubuntu 10.04
    Mozilla/5.0 (X11; U; Linux x86_64; it; rv:1.9.2.3) Gecko/20100415 Ubuntu/10.04 (lucid) Firefox/3.6.3

    Hi, i’m using it under Lucid. It notifies me new mails, but if i click on the mail nothing appens, is it possible to make it open the web browser to the mail page?

  17. Filipe Filipe says:
    Google Chrome 5.0.342.9 Google Chrome 5.0.342.9 GNU/Linux GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2

    I have an error. Anyone has the same?

    ** Message: secret service operation failed: Cannot get secret of a locked object
    Traceback (most recent call last):
    File “/usr/bin/gmail-notifier.py”, line 181, in
    PASSWORD = gkey.getPassword()
    File “/usr/bin/gmail-notifier.py”, line 160, in getPassword
    secret = gnomekeyring.item_get_info_sync(self.keyring, auth_token).get_secret()
    gnomekeyring.IOError

    • Ben Ben says:
      Firefox 3.6.3 Firefox 3.6.3 Ubuntu 10.04 Ubuntu 10.04
      Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3

      Same error – starting coming up when I set my gnome-keyring password to blank so that I don’t have to enter it upon startup. Anybody fix this?

      • Ben Ben says:
        Firefox 3.6.3 Firefox 3.6.3 Ubuntu 10.04 Ubuntu 10.04
        Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3

        I fixed this by changing the getPassword method in gmail-notifier.py to simply return my password, unencrypted. It’s an unsecure solution but I don’t really care – having the keyring password as Null is already unsecure.

        • Michael Michael says:
          Google Chrome 5.0.375.29 Google Chrome 5.0.375.29 Windows 7 Windows 7
          Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.29 Safari/533.4

          Thanks for the fix. I’ll try and see what was causing it.

        • Filipe Filipe says:
          Google Chrome 5.0.375.29 Google Chrome 5.0.375.29 GNU/Linux GNU/Linux
          Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.29 Safari/533.4

          Thanks for solution!

          Its a great solution because is horrible unlock gnome keyring always.

        • JC JC says:
          Google Chrome 5.0.375.38 Google Chrome 5.0.375.38 GNU/Linux GNU/Linux
          Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4

          Hello Ben,

          How’ve you done that?

          I opened the /usr/bin/gmail-notifier.py but I don’t know how to return the password, unencrypted. (Don’t know python …)

          Commenting the ‘def getPassword(self)’ body and just put ‘return password’ at the end doesn’t work…

          Thanks!

  18. Shazoor Mirza Shazoor Mirza says:
    Firefox 3.6.3 Firefox 3.6.3 Ubuntu 10.04 Ubuntu 10.04
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3

    How can I uninstall it?

    • Michael Michael says:
      Google Chrome 5.0.375.29 Google Chrome 5.0.375.29 Windows 7 Windows 7
      Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.29 Safari/533.4

      sudo apt-get remove gmail-notifier

  19. DrKenobi DrKenobi says:
    Google Chrome 5.0.342.9 Google Chrome 5.0.342.9 GNU/Linux GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2

    Where is the source code?

    • Michael Michael says:
      Google Chrome 5.0.375.38 Google Chrome 5.0.375.38 Windows 7 Windows 7
      Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4

      You can either extract the deb, or look at /usr/bin/gmail-notifier.py.

      • DrKenobi DrKenobi says:
        Google Chrome 5.0.375.38 Google Chrome 5.0.375.38 GNU/Linux GNU/Linux
        Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4

        Great! I’m learning Python and this will be very useful! Thanks!

  20. Martin Martin says:
    Firefox 3.6.3 Firefox 3.6.3 Ubuntu 10.04 Ubuntu 10.04
    Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3

    When I click the envelope in the tray and then click “Gmail Notifier” my browser opens the URL for Google Apps (http://mail.google.com/a/name1.name2.com) instead of standard Gmail (https://mail.google.com). My Gmail address is like name1.name2@gmail.com. Michael, can you please assist? Thanks.

    • Michael Michael says:
      Google Chrome 5.0.375.55 Google Chrome 5.0.375.55 Windows 7 Windows 7
      Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.55 Safari/533.4

      Try entering your full email (name1.name2@gmail.com) instead of just “name1.name2″ in the settings app.

      • Martin Martin says:
        Firefox 3.6.3 Firefox 3.6.3 Ubuntu 10.04 Ubuntu 10.04
        Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3

        I had that in the settings already. However, I uninstalled and reinstalled the package and now I don’t have the problem I was having before. Go figure.

  21. KlausV KlausV says:
    Google Chrome 5.0.375.86 Google Chrome 5.0.375.86 GNU/Linux GNU/Linux
    Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.86 Safari/533.4

    How can I survey multiple accounts my means of the notifier (as opposed to means of gmail it self.
    Do you plan to implement basics of mail checker plus extension (from Anders) in Chrome.
    Read/mark/Delete mail buttons…??

  22. Sven Sven says:
    Firefox 3.6.6 Firefox 3.6.6 Ubuntu 10.04 Ubuntu 10.04
    Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6

    Hey, i realy like your App, but if im offline it keeps spamming me with “no valid internet connection”.. how can i turn it off?

    And i downloaded your v.1.7.1 but under Info it says v1.6

    thx for reply

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">