32 Bit Software in 64-Bit Debian-Based Distribution (e.g. Ubuntu)
Canon Printer Tips
Microsoft Office 2003 with Wine
http://www.wine-reviews.net/microsoft/running-ms-office-2003-under-linux-with-wine-0952.html
Backup with Rsync
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
Arora - A Webkit Browser
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!
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?
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
Also check out this interview with the founder.