Blig

May 24, 2009

Testing your app in a different language

Filed under: Uncategorized — by suasol @ 2:34 pm

I’m ashamed to say that I don’t know much about translating apps, even after writing an app with  over 30 translations. When you’re part of the gnome project, they just appear by magic and I have had my head somewhat in the sand since when trying to test I invariably got:

% LANG=otherlang.utf8 ./myprog
(process:20007): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

A little googling led to various command line invocations of locale-gen & suggestions of hand editing config fies by people who didn’t understand it all either.

So I’m glad to say that all thats needed (in ubuntu 9.04 anyway) is really to check a few boxes in

System->Administration->Language Preferences->Install/Remove Languages
Advertisements

May 10, 2009

Hide files in nautilus by glob pattern

Filed under: Uncategorized — by suasol @ 11:13 am

Bye-bye *.pyc

http://bugzilla.gnome.org/show_bug.cgi?id=311010#c10

February 1, 2009

Checkinstall – wonderful

Filed under: Uncategorized — by suasol @ 11:37 am

As a developer you often end up installing random extra software because your distro hasn’t caught up yet. And despite best efforts end up with cruft from old installs.

Enter checkinstall. Instead of “make install” run “checkinstall” and it will make a binary package (deb,rpm,etc) of the files which would have been installed. Now they show up in the package manager and are easily uninstallable. Wonderful.

January 5, 2009

HDD Suspension. Brilliant.

Filed under: Uncategorized — by suasol @ 8:21 pm
Tags:

There was an annoying low level hum coming from my case. I recently upgraded to a fanless motherboard, fanless graphics card and thought the old el-cheapo case fans were the culprit. I replaced them which helped somewhat but nowhere near as much as I’d hoped.

Enter this mod: http://www.silentpcreview.com/forums/viewtopic.php?t=8240

Simple, cheap and extremely effective. Not a common combination! You’ll need roughly 60cm per drive. Less than a pint of beer for a whole raid10 array!

July 23, 2008

Winsplit revolution for Linux

Filed under: Uncategorized — by suasol @ 5:21 pm
Tags: , ,

Grid, the tiling plugin for compiz fusion has been updated. It now interacts much better with the builtin maximize function.

July 4, 2008

A List Of People Who Need To Stop Writing Software

Filed under: Uncategorized — by suasol @ 10:15 am

Printer Manufacturers

A Printer driver is a folder with one “.ini” file, and a couple of “.dll”s and that’s it. It is not a 50 MB download. It is not an IE Toolbar, and Side Pane. It is not half-baked photo software. It is not a splash screen when your computer starts. It is not a tray icon.

Brilliant. More at http://camendesign.com/?200806291149

Blog at WordPress.com.