April2010
Rotate and change the font size of a GTK Label object
Although the PyGTK Reference Manual is extremely helpful in figuring out how to use gtk objects, there’s not a whole lot of information about setting properties on gtk.Label objects readily available. Some hard-to-find yet simple tasks are setting the font size of a label and rotating the text. Pango is your friend, so don’t forget to include him.
Ubuntu 10.04 LTS Lucid Lynx is here
If you’ve been thinking about trying out Ubuntu for a server, now would be a good time. If you’re accustomed to living inside the limited world of Windows, perhaps Ubuntu Server Edition would be your best bet for getting your feet wet with a real OS. The LTS releases are supported for a longer duration and there’s training and consulting readily available to support your needs as an organization.
Connect pygtk data stores to gtk.treeviews
This is a pygtk treeview setup for attaching models to several similar views that will have the same look and feel such as font family, color, size, etc. Now in your constructor, you can attach the models like this: (i’m using gtkbuilder to create some of the basic stuff but I make my own data stores)
Eve Online – Useful links for Surviving in Tyrannis
Where other games fall short after a few weeks or months, Eve’s developers, CCP, continue to astonish with their continuously ground breaking game design. Eve is inching toward the decade mark with a solid player base, both young and old – and has recently won top honors as the #1 MMORPG for 2010. Here’s a mix of beginner tips, strategic guides, calculators, and useful information for a few specific aspects of the game.
Generate python code from Glade XML files
Why can’t I find a code generator that works? Tepache is a code sketcher for python that uses pygtk and glade, but it is broken and it looks like it hasn’t been updated since July 2005 anyway. Gladex was broken out of the box. Autocode does not like my glade and the documentation is limited.
Recursive Tripwire – File Checker Hash Generator
You can use this to check to see if anyone has modified, updated, upgraded, added, or removed any files on your system. After you’ve configured a system the way you want it, dump hash files for all the important directories, /etc, /bin, /usr/local, etc., or just dump the whole thing. Move the output to another system. Now if you want to check to see if something has changed, you can hash the file(s) in question and grep for the hash.
Get X11 to forward in Gnome on Fedora 12 or 13
If you need to forward X the old school unencrypted way, you need to add one line to gdm’s custom.conf file and restart the desktop. Without this, the old “xhost +” won’t do a thing because the out of the box Xorg configuration includes the nolisten tcp flag.