Skip to content
The beaver is a proud and noble animal

The beaver is a proud and noble animal

Notes from a bemused canuck

  • Home
  • About
  • Bookmarks
  • Pictures
  • Resume
  • Wine
  • Random Recipe
  • Toggle search form

gmail-notifier woes on x86_64

Posted on March 15, 2008 By admin

One of the things I miss in linux was the windows Gmail notifier. There is a linux version, written in Python, but it wasn't working in a 64 bit distribution. If you tried to run it out of the box, you would get the dreaded “wrong ELF class: ELFCLASS32” exception, because the distributed shared object to create a tray icon was compiled in 32 bits. If you tried to grab another version compiled in 64 bits, you now got the “undefined symbol: Py_InitModule4” error, which was caused because some file headers were redefined and renamed to avoid conflicts (sic!) in 64 bits. I was going nuts at this point, because I am most certainly not a Python programmer. But I still managed to find a fix, before everybody else on the net, woohoo!

A simple cure in 3 easy steps

1. get package python-gnome2-extras
2. change a few lines in notify.py as described below:

#comment out the pytrayicon import and import egg and egg.trayicon
#import pytrayicon
import egg
import egg.trayicon

#change the way the tray object is built
#create the tray icon object
#self.tray = pytrayicon.TrayIcon(self.lang.get_string(21));
self.tray = egg.trayicon.TrayIcon(self.lang.get_string(21));

3. enjoy!

Works like a charm :D

This makes me go squeeeeeeeeeeeeeeeee!

  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Facebook (Opens in new window) Facebook
  • Share on Threads (Opens in new window) Threads
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Email a link to a friend (Opens in new window) Email
uncategorized Tags:geek

Post navigation

Previous Post: Tea – Is there anything it can't do?
Next Post: Sometimes, I love being a geek :)

Related Posts

  • Bank of Canada asks Star Trek fans to stop ‘Spocking’ the 5$ bill geek
  • Geekery ahead! geek
  • I neeeeed to code an Easter egg geek
  • This! This is what I do every day! dealing with idiots
  • 臨 兵 闘 者 皆 陣 列 在 前 geek
  • huzzah! huzzah! geek

Power to the beaver!

Show me the beaver!
March 2008
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  
« Feb   Apr »

Quote of the day

Sham Harga had run a succesful eatery for many years by always smiling, never extending credit, and realizing that most of his customers wanted meals properly balanced between the four food groups: sugar, starch, grease and burnt crunchy bits.
--(Terry Pratchett, Men at Arms)

Random Posts

  • No big deal [part 2]
  • A version of The Matrix I could get into
  • I need a vacation from my vacation
  • Some things (and some people) don’t change
  • OMFG…..
reading leopard

Tags

bobble the little blue owl boobies brought to you by the fda cats chonk christmas comics computers are evil covid-19 dealing with idiots dilbert dog ducks galleries geek god bless the land of the free holidays house I am Canadian land of cheese and chocolate linked news lolcat london news from the stupid not my dog nsfw pets pictures potd2014 qotd random shit re-member recipes relationship shrill slice of life stress Tao the british way The Peanut things i miss travel video wine work

Archives

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright © 2026 The beaver is a proud and noble animal.

Powered by PressBook Premium theme