You're viewing a single post. I have much more to say! The main blog page is a good starting point.
Tuesday, February 14, 2006 ★ 12:19 ★ Categories Gnome, Programming
A few days ago I wrote a simple Python script to quickly select a (fontconfig) font name using a standard GTK+ font selection dialog. This is useful for browsing your font library (I have many fonts installed) or when changing configuration files that need font names.

The font name is copied to the clipboard and printed to stdout by default. Command line switches are provided to disable copying or printing.
Save the file into a directory that is in your $PATH and chmod +x it to use it. Of course you should have PyGTK installed, but this is the default on most distributions.
Download: gtk-select-font (Python script)
Update: I’ve also provided a simple color picker.
Random photo from Various pictures (June, 2005)
Wouter Bolsterlee, also known as uws, a postmodern geek living in the Netherlands. Read more about me…
Unless stated otherwise, all material on this site is available under a Creative Commons Share-Alike license.