32 Bit Software in 64-Bit Debian-Based Distribution (e.g. Ubuntu)

There's a wonderful script named getlibs, that makes the annoying process of installation 32-bit libraries really comfortable.

Canon Printer Tips

Did you know there are original Linux driver from Canon? Now you know that, why not get the hacked and enhanced version.

Famous Flame Wars

Check out this summary of Famous Open Source Flame Wars.

Preacher of the Flying Spaghetti Monster

Here's a funny video about a FSM preacher.

Microsoft Office 2003 with Wine

Check out this howto install MS Office 2003 with regular Wine:
http://www.wine-reviews.net/microsoft/running-ms-office-2003-under-linux-with-wine-0952.html

Backup with Rsync

There's a nice article about backups with rsync at Linux.com.
I shall leave the explanations to it and just post my script as example here
DIRS="Documents Desktop"

cd ~
for i in $DIRS;
do
echo Syncing $i
rsync -av --progress -e ssh "$i" user@server:/path/to/dir
done

Disabling Touchpad on Demand

There's now an alternative to using the shared memory of the synaptic driver to enable and disable the touchpad:

xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Off" 8 1 (enable)
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Off" 8 0 (disable)

This should work out of the box in Ubuntu 8.10 (Intrepid). But it doesn't. At least not for me. But this works for me:

xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Off" 8 0
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Off" 8 1

Nice! :)

Workaround for Screen Flickering in Kubuntu 8.10

Okay, I've got a dirty hack for now to work around the flicker problem in Kubuntu 8.10. You can edit /usr/bin/startkde and comment out the line starting ksmserver (kwrapper4 ksmserver).

Then instead write

kwrapper4 krunner &
kwrapper4 plasma &
kwrapper4 kwin

There will be no session management, but also not flickering. I'll let you know when I find a better fix.

Update: Eventually I did find a much better fix. But it doesn't work for KDE 4.2 (yet).

Google's Lack of Response to Security Threats

Google criticized a security researcher for publishing information about a security vulnerability in the android platform. They had no reason and don't do anything to motivate researchers tells us the article at cnet.

Voting Machines Are Good - Homer Votes

Arora - A Webkit Browser

Today I accidentally stumbled about Arora, another simple webkit based browser. And I'm very pleased. It's quite fast, renders webpages without errors, is google-mail, etc. compatible, and has a basic interface that's very similar to Firefox(tm).

That's getting pretty close to a cross-plattform Safari in my opinion. In comparison to Chrome it lacks the faster javascript engine and the multi-threaded multi-process approach, which causes it to slow down a bit with many tabs open. A private browsing feature is included.

But I think it's lean, but a true alternative and I'm writing this blog post in it - without any issues. I've tested version 0.4 in Ubuntu 8.10.

Apt-Get Tipps

TuxArena put up a nice summary of some useful apt-get commands.

I have to correct them in one point: For dpkg -L to work, the package needs to be installed already.

I also have a few extra ones:

  • apt-cache search (search packages)
  • apt-cache show (show full package description)
  • apt-cache policy (show available package versions)
  • apt-cache depends (show package dependencies)
  • dpkg -P (remove package completely, that means also configuration etc.)
  • dpkg-reconfigure --priority=low (reconfigure package, show all options)

Free CrossOver - Today Only!

You can download full versions of CrossOver Linux and Mac for free from their webpage today!

Ubuntu 8.10 No-Go for Dual Head

Don't upgrade your Ubuntu to 8.10 if you want to use a dual head setup. There second screen will reguarly turn off for a second while there is an edid ddc scan shown in the Xorg.log. (The bug is not really fixed or fix not in main repository yet. Or I've found a different one. -> It's still not working!)

And the whole system will stutter during that time. That makes video playback very annoyingly slow and usage an external monitor impossible. I'll let you know when I find a fix.

Ubuntu Getting Slower

After upgrading to Ubuntu 8.10 (release candidate), I've recently noticed stuttering in video playback. That might very well also be related to my using the intel 2.5.0 xorg driver. But Phoronix now made a correct examination and found out Ubuntu is getting slower and slower since 7.04.

Complexity or just bad programming? Is it related to the kernels gettings worse and if so, is that related to the Ubuntu patches or the vanilla kernel? I'm curious for hopefully following explanations.

Mode Setting with IntelFB

Let me begin by stating that the intelfb driver is very old already. And there are issues. Mode setting with "non-CRT" devices usually fails:

intelfb: Non-CRT device is enabled ( LVDS port ). Disabling mode switching.
intelfb: Video mode must be programmed at boot time.

So you need to set the mode very counter-intuitively via the vga kernel commandline. To do that, you need to know the mode. Especially on 64-bit systems the only way to find it out is sudo hwinfo --vbe.

Now you can use a kernel command line like video=intelfb:mode=1280x800 vga=0x0362 and the system should boot with the chosen resolution. Even if you're using a laptop like I am.

This will not work with a kernel earlier than 2.6.28-rc1 from my experience, but maybe you're lucky. If nothing happens, try the newest kernel. And of course feel free to comment in any case. And I think this works only if the intelfb module is compiled-in, not if it's compiled as a module, as it usually is in distribution kernels.

Trouble Uninstalling a Package?

Sometimes you're trying to install or uninstall a package, but the process aborts, because the installation script fails. I think there was an option in apt-get or dpkg to override this behavior, but for now there's a very simple workaround that will usually help:

Insert a line "exit 0" into the script causing the error. (It then exits "without an error" right away.) At least in init scripts during deinstallation this should not cause too much damage. In my example, the packet tspc failed during upgrade from hardy to intrepid (release candidate).

There were a few packets that didn't upgrade cleanly, about 5 I think. But now everything works pretty well.

Encyclopedia of Life

A website mapping (or trying to) all life on our cosy little planet Earth. Why go to other planets to find life if you need not go father than your backyard? Out now: eol.org.

Also check out this interview with the founder.

Flash 10 in Ubuntu 64 Bit

There's a nice little script that does the entire installation automatically. Worked great for me. Make sure you check the contents of the script, it's not a lot. And when you run a script as super-user you should always do that. Then do sudo bash flash10_en.sh.

Automatic Monitor Brightness Control

Why isn't there a software that controls your monitor's brightness level automatically. E.g. if you have a webcam, you could use it to detect the current amount of light in the room. If you don't have a webcam, you could use the current time.