Archive for November, 2004

OpenOffice still won’t print with CUPS

Monday, November 15th, 2004

Some time ago OpenOffice in Debian Testing stopped working with CUPS. I reported the bug, and it was fixed, but for some reason the fix was rolled back, so now I’m back at using a “Generic Printer” for my output, without all CUPS options.

Linux 2.6.7 on an Asus L8400C

Monday, November 15th, 2004

I have installed the same Linux 2.6.7 kernel I use on my Asus M2N on my old Asus L8400C, and the result was much the same. It runs ok, but it only boots when the kernel is given the nolapic option.

The only negative thing is that the computer no longer powers down completely when turned off. It just prints “Power down” and sits there in a tight loop, and you have to turn off the power by keep the on/off button down for several seconds. It is a bit of a turn off ๐Ÿ™‚

UPDATE (07 december 2004):
I’m not quite sure what happened, but poweroff now works, but the system restarts when I close the lid. There is some wakeup mechanism involved, which is weird, because the system is really powered down.

Transparent cursors in XFree86

Monday, November 15th, 2004

My laptop used to have these fancy semi-transparent cursors, but my harddisk died and after a reinstall they were gone – just like that.

It took me a while to figure out how to do it. The cursor theme is called “whiteglass”, and it can be enabled in two ways. The easiest is to set the environment variable

XCURSOR_THEME=whiteglass

before starting the X server.

The other option is to change the file /etc/X11/cursors/core.theme to read:

[Icon Theme]
Inherits=whiteglass

Before the change it will say “core” instead of “whiteglass”.

Some people find the cursor too hard to find on the display when it is white and semi-transparent — and sometimes they’re right — and for them there is the theme “redglass” with red semi-transparent cursors. I find it a bit too intrusive, visually.

Resampling audio data

Thursday, November 4th, 2004

I’ve never done much with audio data, so when I had to write some audio files to cd, and they weren’t sampled at the right rate, I had a problem. Fortunately, I found sox:

sox input.wav -r 44100 output.wav resample

did the job.

And I tought it was going to be difficult ๐Ÿ™‚