Gimmie 0.2.0, the Applet

Hey there, Gimmie 0.2.0 0.2.1 is out. Get it here.

Whew! It’s been a long time since the last Gimmie release. Let’s see if we can come close to generating the momentum of the initial release, which received a whopping 792 Diggs on Digg.com.

I’ve noticed that a big reason that people still aren’t playing with Gimmie is that they don’t want to toss out their beloved Gnome panels. Especially not in favor of some heavily alpha software. Surprise!

So in 0.2.0 I’ve trimmed down some of the more experimental features in Gimmie, and turned it into an applet that fits in well with a typical Gnome desktop.

Click to see the cute animation:

Gimmie Applet Teaser

Now people can easily experiment with replacing their existing panel launch menu with something a little more interesting. And you can still run the standalone (or “totally awesome like the future” as some call it) version of Gimmie too, if you want to track the progress of development.

The interim since the 0.1.1 release has had a positive impact as well: a lot of bugs have been fixed that required the bundling of custom versions of several dependency libraries. This is also the first release to install using normal Unix-style procedures, instead of just warning that Gimmie isn’t ready for that yet (and that it really just wanted to be friends).

Many thanks go to Drew Kerr, who was the first to get Gimmie running as an applet. His original patch inspired me to get this release rolling.

Enjoy!

UPDATE: I fixed a pretty nasty bug that some were reporting with the applet’s focus grabbing, and rolled a quick 0.2.1 release with the change. Get it here.

89 comments

  1. orph’s avatar

    Thanks Movi! Ya, supporting the wide variety of panel configurations is on target for the next minor release. I skipped it this time to just get the applet out for people to play with.

  2. timelady’s avatar

    Hey, i LOVE this:) blogged it.

    One question – I use gaim in ubuntu edgy. there is a gmail button in people – but its greyed out. whats the purpse, and how do i access it?

  3. Prashanth Mohan’s avatar

    Hi,

    First off very nice applet :-) . However, I have a couple of questions.

    1. Is there any way, I can configure the applet into displaying only certain information. For e.g. Documents and People tabs hold little use for me. It only adds to the clutter.

    2. When I click the People tab, The window seems to be hidden. I use only 1 panel (at the bottom of the screen). I run Ubuntu Edgy and I compiler using the –prefix=/usr option. Any idea why this happens?
    http://img201.imageshack.us/img201/2284/gimmie8pe.jpg

  4. orph’s avatar

    Prashanth: Ya, this Gimmie release doesn’t support bottom panels, only ones along the top of the screen for now. Support for different panel layouts will be coming soon though, so stay tuned.

  5. Prashanth Mohan’s avatar

    Orph, It fails only for the peoples tab :-) The other work perfectly.

    And what abt the ability hide Documents and People? And also, it would be cool if we could have an option to remove the text and have only the icon.

  6. timelady’s avatar

    Oh, the search function causes coniptions. I will catch error message next time I feel like X freezing when bug buddy gets all pouty.
    Any answer on that gmail feature?

  7. peder’s avatar

    I have the same problem like timelady..when trying to search, bug-buddy comes up and freezes. I have to go to press CTRL + ALT + F1 and type killall bug-buddy to get back to my work.

    The solution for the gmail-button is to install the package “python-libgmail”. But when i click on it, gimmie freezes and bug-buddy comes :)

    BTW: I cannot run the cvs version of gimmie. (i had that problem also on 0.1.1)
    Compiling works fine, but when i start it, it complains about _egg…so i moved a few files and i get:

    ./gimmie.py
    Traceback (most recent call last):
    File “./gimmie.py”, line 88, in ?
    topics = [ApplicationsTopic(), DocumentsTopic(), PeopleTopic(), ComputerTopic()]
    File “/home/ed/progs/gimmie/gimmie_applications.py”, line 440, in __init__
    self.set_running_source(RunningNoSettingsApplications())
    File “/home/ed/progs/gimmie/gimmie_applications.py”, line 151, in __init__
    RunningApplications.__init__(self)
    File “/home/ed/progs/gimmie/gimmie_applications.py”, line 27, in __init__
    RunningItemSource.__init__(self, “Running Applications”)
    File “/home/ed/progs/gimmie/gimmie_running.py”, line 155, in __init__
    self.screen = wnck.screen_get(0)
    AttributeError: ‘module’ object has no attribute ’screen_get’

    i could not reach the mailing list :( . And also not the alex :(

  8. Chanders’s avatar

    Hey, first off great job. I am the author of Ubuntu System Panel and I just wanted to say that I really like your app, and I like the fact that you used python. I have been looking at your code and I have learnt a lot from it, seeing that there are not much ADVANCED resources available to a non-programmer (self-taught) in PyGTK.

    Keep up the good work!

  9. Sindre Pedersen Bjørdal’s avatar

    Fedora issue with missing egg.recent is due to a packaging bug in the gnome-python2-libegg (src.rpm: gnome-python2-extras). See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=223602

    Fixing this reveals other issues though:

    “[foolish@witchypoo ~]$ LANG=C gimmie

    ** (gimmie:29734): WARNING **: IPP request failed with status 1280

    ** (gimmie:29734): WARNING **: IPP request failed with status 1280
    Unable to load GMail contact support: No module named libgmail
    *** Reloading TopicRunningList: Running Applications
    *** Reloading TopicRunningList: Opened Documents
    Traceback (most recent call last):
    File “/usr/bin/gimmie”, line 51, in ?
    gimmie.gimmie.main(sys.argv[1:])
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie.py”, line 87, in main
    load_it()
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie.py”, line 82, in
    load_it = lambda: _load_gimmie_bar(topics)
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie.py”, line 41, in _load_gimmie_bar
    gimmie_bar = GimmieBarDock(topics, gravity, autohide_anchors=autohide, swapbar=swapbar)
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie_bar.py”, line 20, in __init__
    self.layout(edge_gravity, self.edge_window, swapbar)
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie_bar.py”, line 91, in layout
    running_list = self.make_running_list(edge_gravity, topic)
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie_bar.py”, line 45, in make_running_list
    running = TopicRunningList(running_source, edge_gravity)
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie_gui.py”, line 273, in __init__
    self._reload(source)
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie_gui.py”, line 326, in _reload
    self.add_item(i, target_height)
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie_gui.py”, line 294, in add_item
    running = RunningItemTile(i, target_height, self.gravity)
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie_gui.py”, line 73, in __init__
    self._reload(item)
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie_gui.py”, line 125, in _reload
    self.icons = self._load_icons(item, self.target_height)
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie_gui.py”, line 80, in _load_icons
    icon = item.get_icon(target_height)
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie_file.py”, line 90, in get_icon
    self.get_mimetype() or “”,
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie_file.py”, line 143, in get_mimetype
    return self.ensure_file_info().mime_type
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie_file.py”, line 56, in ensure_file_info
    self.vfs_info = gnomevfs.get_file_info(vfs_uri)
    NotFoundError: File not found

    Anyone got any solutions for this?

  10. Zerthis’s avatar

    @ Sindre Pedersen Bjørdal

    (as root)

    nano /usr/lib/python2.4/site-packages/gimmie/gimmie_file.py

    and comment out the whole “def ensure_file_info(self):” section.

    This will skip the step so it doenst crash. Works fine for me, although I don’t know anything about programming so I don’t know what happens (not in this case) if it doesn’t get loaded.

  11. peder’s avatar

    @Zerthis:
    This does not work here :( . I get the same error message.

  12. Zerthis’s avatar

    How is that possible. Make sure you commented it right, like this:
    # def ensure_file_info(self):
    # if not self.vfs_info and not self.vfs_info_job_id:
    # try:
    # vfs_uri = gnomevfs.URI(self.get_uri())
    # if self.is_local():
    # self.vfs_info = gnomevfs.get_file_info(vfs_uri)
    # else:
    # self.vfs_info_job_id = gnomevfs.async.get_file_info(vfs_uri,
    # self._file_info_callback)
    # except (TypeError, gnomevfs.InvalidURIError, gnomevfs.NotSupportedError):
    # # GnomeVFS cannot handle the URI
    # return None
    # return self.vfs_info

    It can never give you the same error message then, since the code is disabled, unless there is something messed up somewhere. Well, I don’t know actually lol. at least it worked here :D

  13. Zerthis’s avatar

    Sorry, this little insert field messed up the code. The line without a # belongs to the line above.

  14. Greg’s avatar

    Very nice, I like it.

    The screenshots I’ve seen have the section-titles on the bottom, with the program/document icons on top, but when I run gimmie, I get the program icons at the bottom, with the section-titles appearing when I mouseover the particular section. Has this been a change from previous versions, or is it configurable? I’d prefer just the titles, as the icons take up quite a bit of space…

  15. peder’s avatar

    Zerthis, thank you very much for your fast answer :) . But i am really sure that i still get this error :( . It looks like this in bug-buddgy:

    File “/usr/local/bin/gimmie”, line 51, in ?
    gimmie.gimmie.main(sys.argv[1:])
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie.py”, line 87, in main
    load_it()
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie.py”, line 82, in
    load_it = lambda: _load_gimmie_bar(topics)
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie.py”, line 41, in _load_gimmie_bar
    gimmie_bar = GimmieBarDock(topics, gravity, autohide_anchors=autohide, swapbar=swapbar)
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie_bar.py”, line 20, in __init__
    self.layout(edge_gravity, self.edge_window, swapbar)
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie_bar.py”, line 91, in layout
    running_list = self.make_running_list(edge_gravity, topic)
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie_bar.py”, line 45, in make_running_list
    running = TopicRunningList(running_source, edge_gravity)
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie_gui.py”, line 273, in __init__
    self._reload(source)
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie_gui.py”, line 326, in _reload
    self.add_item(i, target_height)
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie_gui.py”, line 294, in add_item
    running = RunningItemTile(i, target_height, self.gravity)
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie_gui.py”, line 73, in __init__
    self._reload(item)
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie_gui.py”, line 125, in _reload
    self.icons = self._load_icons(item, self.target_height)
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie_gui.py”, line 80, in _load_icons
    icon = item.get_icon(target_height)
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie_file.py”, line 90, in get_icon
    self.get_mimetype() or “”,
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie_file.py”, line 143, in get_mimetype
    return self.ensure_file_info().mime_type
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie_file.py”, line 56, in ensure_file_info
    self.vfs_info = gnomevfs.get_file_info(vfs_uri)
    NotFoundError: Datei nicht gefunden

  16. Zerthis’s avatar

    It is because you installed it in /usr/local/lib instead of /usr/lib.

    So if you copied my line in the terminal you are editing the wrong file.

    For you it has to be

    (as root)

    nano /usr/local/lib/python2.4/site-packages/gimmie/gimmie_file.py

    But if you have the same file also in /usr/lib i guess you messed up the installation somewhere. (double installed it probably with a different prefix)

  17. timelady’s avatar

    @ Zerthis

    sorry mate, edited right file, its in /usr/lib.

    same issue with search AND clicking on gmail (thx for library tip). with gmail, a window pops up asking for gmail details – if i click in it t type, same issues as before. bug buddy freezes, i have to kill it, so i have no error message to paste.

  18. peder’s avatar

    Zerthis: THANK you very much. Sorry for my gabbiness. It works :)
    timelady: that’s exactly what i experience.
    Too bad :(

  19. Richard’s avatar

    This is freakin’ awesome, can’t wait to give it a good workout :) .

  20. orph’s avatar

    peder, Zerthis, Sindre, scottjl, vitae: The crash related to the NotFoundError is fixed in SVN. Please try it out and let me know if it fixes your problem. I’ll probably make a new release in a bit that includes this fix.

  21. Zerthis’s avatar

    Just checked out SVN (r268) and the NotFoundError of gnomevfs doesn’t not occurs here anymore.

    But, I still got this little one:
    zerthis@box-one:~$ gimmie
    Traceback (most recent call last):
    File “/usr/bin/gimmie”, line 50, in ?
    import gimmie.gimmie
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie.py”, line 13, in ?
    from gimmie_applications import ApplicationsTopic
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie_applications.py”, line 9, in ?
    import gnomedesktop
    ImportError: No module named gnomedesktop

    Then it launches bug-buddy.

    I can fix it by symlinking it to the module named gnomedesktop of the deskbar-applet:
    sudo ln -s /usr/lib/python2.4/site-packages/deskbar/gnomedesktop /usr/lib/python2.4/site-packages/gimmie/gnomedesktop

    Maybe I’m missing something? Compiling doesn’t give me errors and it goes to fast to track warnings :P

    Anyway, thanks for fixing stuff so fast ;)

  22. Zerthis’s avatar

    Sorry, I just woke up. Doesn’t not sounds silly…

  23. timelady’s avatar

    wow, after doing the comment out, i rebooted laptop. then i get another instance of gimmie floating around bottom panel – icons go missing from notification area (network-manager and power manager, respectively), if i kill the unwanted instance. it is, btw the first loaded instance. the second instance of gimmie loads properly in top toolbar.

    so, remove the comments. now i am back to error messages, but at least not everything else going haywire. and one happy little gimmie up top. no gmail,no search, it makes bug buddy freeze, but hey, its a work in progress:)

  24. Zerthis’s avatar

    Wat happened was normal.

    1. Gimmie is the dock floating around your bottom panel. Gimmie is designed to replace your panels, so it also takes over the notification area.

    2. Gimmie also contains the applet. The instance in the top toolbar. This makes you able to run it more like a menu instead of a full replacement for the normal panels.

    They are the basically the same application, the difference is that you have to run 1 by yourself (by executing /usr/bin/gimmie) and to run 2 you only have to add it to the panel.

  25. needcoffee’s avatar

    Great work! Had some trouble to get that run, but now it works pretty good. The trick with copying the server file and than symlink make it work (sudo ln -s /usr/lib/python2.4/site-packages/deskbar/gnomedesktop /usr/local/lib/python2.4/site-packages/gimmie/gnomedesktop for me / default install directory).

  26. timelady’s avatar

    Ok, is there a way to make it ONLY the top panel? I don’t want it down the bottom too, unless it can be asmall flat panel, like the default, not the large space it was taking.

    Interestingly, it only has the bottom instance if i comment out the section recommended above.

  27. orph’s avatar

    timelady: The Gimmie standalone (non-panel applet) version has probably added itself to your Gnome session so that it automatically starts up when you log in. You can remove it by running gnome-session-properties and removing it from the Current Session tab.

  28. timelady’s avatar

    @orph
    thanks mate:) that seems to have worked. interestingly, when i recmmented in the sections recommended to comment out, the bottom panel would crash on startup anyway. but it was lurking in services still.

  29. peder’s avatar

    Can someone give me a manual on how to install gimmie from svn?

  30. orph’s avatar

    peder:
    ./autogen.sh
    ./configure –prefix=/usr
    make
    sudo make install

  31. carl’s avatar

    Proceeding with the install…

    Does the people part work with gossib?

    Thanks for the great work :D

  32. Jesse Hallett’s avatar

    peder:
    If, like me, you’ve been having any trouble checking out the Gimmie source from svn in the first place, here is how to do it.

    svn co http://svn.gnome.org/svn/gimmie/trunk gimmie-svn

  33. jrh’s avatar

    First of all nice work, I’ve been following gimmie development and I’m quite impressed of what it has become :-)

    but I must say I’m with Greg here (comment above), as in previous versions of gimmie, section-titles on the bottom / icons on top was a much better approach IMHO, less space used so more space for window programs..

    any way to change it back to icons top (and hiding) and section-titles on the bottom?

    later,

  34. dhave’s avatar

    I’ve managed to compile and install gimmie, but I can’t launch it. I also tried gimmie-svn. Do I need to have a fully functioning gnome installation, or is it adequate just to install the literal dependencies that building gimmie requires?

    When I try to launch gimmie (or gimmie-svn) as a user, I get this message:
    ==========
    Traceback (most recent call last):
    File “/usr/bin/gimmie”, line 57, in ?
    import gimmie.gimmie
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie.py”, line 15, in ?
    from gimmie_people import PeopleTopic
    File “/usr/lib/python2.4/site-packages/gimmie/gimmie_people.py”, line 8, in ?
    import dbus
    ImportError: No module named dbus

    sh: bug-buddy: command not found
    ===========

    When I try to launch gimmie as root, I don’t get an obvious error message, but nothing happens.

    Any ideas? Thanks.

  35. dstiner’s avatar

    dhave, I’m guessing that you need to install the package “dbus”, gimmie uses it to communicate with other apps. Good luck getting it to work outside of gnome.

    And sorry to bother you, this is an awesome little applet, even now. But when I run Gimmie with Beryl as my window manager, it crashes when clicking on icons every once in awhile with this traceback:

    Traceback (most recent call last):
    File “/usr/local/lib/python2.4/site-packages/gimmie/gimmie_gui.py”, line 237, in do_raise
    x, y = self.widget.window.get_origin()
    AttributeError: ‘NoneType’ object has no attribute ‘get_origin’

    Thanks for giving up your time to make this awsome little app!

  36. bobo’s avatar

    if you get the error of the gnomedesktop module, you can solve by typing:

    sudo ln -s /usr/lib/python2.4/site-packages/deskbar/gnomedesktop /usr/local/lib/python2.4/site-packages/gimmie/gnomedesktop

    zertis forgot the “local” path….

    bye
    bobo

  37. MadJo’s avatar

    For some reason whenever I start up my GNOME install, it keeps loading Gimmie as both the applet bar, as well as the lower panel.

    Is there a way to stop it from doing that? Because with loading that panel, it’ll stop the normal ‘notification area’ from working. (and then generate a crash report, that has to do with the notification area)

    I’ve already tried removing it from the ’sessions’ settings, but that still doesn’t keep it from starting up.

    I’m running Ubuntu Feisty. And I installed it using ‘checkinstall’.

  38. MadJo’s avatar

    Ok, I solved that little snag (above this comment), by renaming /usr/bin/gimmie to /usr/bin/gimmie2.

    But now I hit upon another. When apt-get is busy installing/upgrading software, Gimmie keeps crashing.

    Is there some Bugzilla where we can report gimmie bugs?

  39. hypnotoad’s avatar

    Gimmie is great!

    thanks for adding the preferences dialog in 0.2.4 -> i got rid of the way to big text and only use the icons.
    Although I like it very much, some problems occur:

    -with gimmie 0.2.0, it found my recently used documents, but none of my tomboy notes -> now it’s the other way round which is much worse. I don’t get any results for my recent documents!

    -I use fspot, but the button for “F-Spot Photos” is disabled (grey text)

    - I also don’t see my recenty used applications or places

    I think the problem is, that I use xfce and not gnome (gimmie is integrated in my panel via the xfapplet for xfce): is there any way to configure one or two scripts to get gimmie working correctly within xfce?

    thanks again,

    hypnotoad

· 1 · 2

Comments are now closed.