Home page of this blog

Saturday, March 7, 2009

Lenny and Gnome System Monitor

Debian Lenny :) Default gnome-system-monitor in debian lenny did not display the number of processor cores properly due to a gtop bug. I downloaded libgtop source code from ubuntu jaunty http://packages.ubuntu.com/jaunty/libgtop2-7 and built it for debian lenny using dpkg-buildpackage and after installing the compiled gtop packages, gnome-system-monitor displays the cores of my core i7 processor properly. Here goes the screenshot

Thursday, March 5, 2009

Mitter with not so big Add button

I modified mitter code to bring the Add button look in sync with text box, modified mitterlib/ui/ui_pygtk.py and the code snippet below of function create_update_box(self): ... update_button = gtk.Button(stock=gtk.STOCK_ADD) update_button.connect('clicked', self.update_status) filler1 = gtk.Label() filler_box = gtk.VBox(True, 0) filler_box.pack_start(filler1) filler_box.pack_start(update_button) update_box = gtk.HBox(False, 0) update_box.pack_start(text_area, expand=True, fill=True, padding=0) update_box.pack_start(filler_box, expand=False, fill=False, padding=0)