Git has this thing about trailing white spaces in source files, for good reasons. Somehow it looks like there isn’t a widely spread utility for cleaning up a lot of files in one go. On the other hand, there are plenty of them out there, but none met my needs. So I wrote yet another [...]
Intro This is a general description of how to create a custom LiveCD/LiveDVD. It should have been simple: Take an existing LiveCD, make some slight modifications, and then create a new LiveCD with these modifications built in. A specific case is detailed here. As it turns out, this is all but simple. The automatic tools [...]
Yet another thing that should have been so simple, but required hacking. Using (Beta) Xemacs 21.5.29, it didn’t have a menu item for pretty printing. Nor was there a clear way to connect with CUPS. First thing first, make sure to have a nice popup for printing. If not for any other reason, it gives [...]
Short summary Kernel 2.6.35.4 kernel on x86_64 doesn’t seem to handle large memory allocations well. In particular, Running malloc() with Gigabyte chunks can cause a kernel oops Quickly allocating all memory will make the system hang (but not oops) If anyone has an idea why this is, some helpful clues or whatever, please comment below. [...]
On Thunderbird 3.0.7, this little extra file turned the folder names with new mail red and bold: (the “chrome” directory needs to be created) $ cat ~/.thunderbird/sdf2k45i.default/chrome/userChrome.css @namespace url(“http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul”); /* set default namespace to XUL */ /* Setting the color of folders containing new messages to red */ treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true) { font-weight: bold; color: red [...]
This should have been obvious: Have a “new mail” icon in the system tray when new mail is fetched by Thunderbird on a FC12 Linux machine. I ended up writing my own script. My starting point was the “Gnome Integration” add-on. Not that I liked that it forced me to have another notification popup on [...]
Using Fedora Core 12, I wanted some control over my wobbling windows, and in particular which corner is the hot spot for displaying all open windows. The first thing I needed to find out, is the name of the toolkit doing this: So it’s Compiz. First, install the Compiz Configuration Setting Manager # yum install [...]
Looking at my system log (kernel 2.6.35.4), this is a common thing: Apr 24 12:04:49 kernel: radeon 0000:01:00.0: ffff8802d0aa1a00 reserve failed for wait Apr 24 12:04:49 kernel: radeon 0000:01:00.0: ffff8802d0aa1a00 reserve failed for wait Apr 24 12:04:51 kernel: radeon 0000:01:00.0: ffff8802d0aa1a00 reserve failed for wait Apr 24 12:04:51 kernel: radeon 0000:01:00.0: ffff8802d0aa1a00 reserve failed for [...]
This is yet another suggestion on what to do if the Firefox doesn’t play sound (with flash videos in particular) but all other applications do (mplayer, for example). The video in Firefox runs smoothly, but no sound at all. This is a popular subject on the web, it turns out. My platform: Fedora Core 12, [...]
I’m sure there’s a saner way to do this than the Perl script below, but jotting it down was so easy, that it wasn’t worth looking for another tool to do it. The idea is the simplest ever: Grab the list of processes 10 times a second or so, and write a line to standard [...]