Category Archives: IT & Tech

Interesting stuff from the world of bits, bytes and hardware.

Fixing the broken OSD on a T41 / Karmic

Thanks to the Ubuntu forums, I’ve finally managed to fix the broken osd / notification system in 9.10 on a t41 thinkpad (the bug affects all radeon based devices, I believe) by adding the line

Option "RenderAccel" "off"
to /etc/X11/xorg.conf

However I had to create xorg.conf first, check the Ubuntu forums for more information (search for “karmic no xorg.conf”), for example. It was also suggested to limit / set the AGPSize to “32”, but sadly this did not solve my problem.

On the upside, “Stellarium” runs again, on the downside, it’s now slow as molasses, but that’s still better than a segfault in my book. Why the developers broke something in karmic that worked without a hitch in jaunty and earlier is beyond me, however.

Yet another Look at Google Chrome on Linux

A couple of weeks ago, I first started using Chrome in a serious manner, now that extensions were finally available. While back then things were still a bit sketchy, esp. in the “Adblock Plus” alike department, AdThwart has come a long way and seems to have been updated daily since then.

It now supports on-the-fly filter creation, adblock plus blocklists (with full syntax support) and also the unnerving “flashing” of ads while they are being removed is now gone.

So together with the plugins “bettergmail”, “proxyswitchy” and a flash killer of sorts, google chrome has now become my primary browser for daily use on Linux (primarily Mint 8, but also Ubuntu Lucid Alpha 1). Memory footprint is lower than Firefox’es (can be an issue on a 1gb laptop), it’s way faster both in HTML and Javascript processing and hasn’t crashed on me in any serious way ever since I started using it. Also, the flash plugin somehow performs better than in Firefox.

Theme support also has come a long way, with one-click installs right from Chrome’s theme library, and there are some real beauties out there.

If I didn’t have any concerns about google’s ever-growing influence and the slow, but steady erosion of their once high-held company credo “don’t be evil”, I’d easily give it a 10 rating, but with this in mind I’ll stick with an 8.5 out of ten for now.

Keep up the good work!

Linux Mint 8 Helena: How to fix mintupdate

A while ago, mintupdate stopped working for me, claiming it was unable to grant execute permissions to the non-admin user. Investigating a bit further, I found that my regular user “hoover” had gone missing (for whatever reason) from the “admin” group; this can be fixed by re-adding your regular user to this group.

Simply open a shell and type

sudo usermod -G admin <your_username>

and mintupdate should work again.

Google Chrome comes of age, on Linux

The recent google chrome beta release caught my interest because it seems that extensions are now enabled (one had to jump through burning hoops to enable them in earlier beta builds; ok, ’twas only a command line switch, but still …;-))

I installed the latest beta from the Debian beta channel, and after installing a couple of extensions, I find chrome now offers a much better browsing experience than previous Linux builds. In order of usefulness, I installed

  • adthwart (simple adblocker for chrome with more features on the way)
  • gmail checker
  • rss notifier
  • gpdf (converts pdf links in docs to point to google docs and its conversion tool)
  • Wave notifier (ok, not all that useful, but it’s still nice to have it available)

Using these extensions (available from here), I’m ready to give Chrome another try as my primary browser for a while. The speed sure is 2nd to none (esp. in the JavaScript department), and even Flash based movie playback works better than in my standard Ubuntu Firefox setup.

Extracting the contents (files) from a Debian package

Today I was forced to manually extract the contents of a debian package which could not be installed the “normal” way using dpkg due to broken dependencies.

Afer some googling, I found the following command line on Vijay’s blog:

dpkg-deb -x {deb-package name} /var/tmp

which extacts the files from “deb-package-name” to a dir of my choosing to /var/tmp.

From there, I could install them by tar pipe (after checking the directory contents first of course, as to not overwrite anything important using

cd /var/tmp/dir; tar -cvpf - . | tar -C / -xpf -

I hope this may help someone stuck in the same hole in the future. Thanks to Vijay for the original posting!

Django Python Web Framework revisited: Wow, just wow!

A while ago, I played around with Django and liked it so much I created a new admin interface for rF Rank (a simracing ranking site) to ease the task of adding and editing new tracks and cars for rFactor.

Yesterday I finally got around to listen to the FLOSS weekly podcast episode featuring the Django guys, and decided to try a current subversion build of their web framework. To put it mildly, I was blown away. Working through the tutorial took all of 30 minutes, and there’s so many new features in the automated admin site that Django creates as in interface I think it’s high time to give this great project a really long, hard look.

Ironically I’m typing this in a php-based blogging system, who knows, I may develop my own Django based site in a while once I’ve hit the limits with WordPress 8-P

After all, if it’s good enough for Google, it’s good enough for us, right?

Installing Virtualbox Guest additions on a headless server

After updating virtualbox to version 3.1 today, I faced the problem of having to update the guest additions that come with the new version on a headless xp guest. Here’s the command line to attach the guest iso to the xp guest instance:

VBoxManage modifyvm rfactor --dvd /usr/share/virtualbox/VBoxGuestAdditions.iso

Make sure to use the correct path to the vboxguest iso file (this example is from CentOS 5.x).

Hope you find it useful, thanks to Sasquatch from the virtualbox forums for the help!

Linux Mint’s “OEM Install”

linuxmint.t

If you’ve been wondering what’s behind Linux Mint 8’s fabulous OEM install, here’s the deal: Mint won’t boot into a desktop from the live cd, but straight into the installation routine.

Installation itself works as usual, however a default user called “oem” is created which you can later rename to your liking be editing & replacing “oem” in the following files:

/etc/passwd
/etc/shadow
/etc/gshadow
/etc/group

Summary: “OEM installation” is a quick, painless way to install Linux Mint 8 without having the live environment (GNOME and friends) taking up precious RAM that could otherwise serve as i/o buffer cache, speeding up disk / stick /cdrom access, generally speeding up the installation process.

Karmic ate my dual monitor setup, and how to fix this

I recently upgraded from Linux Mint 7 (based on ubuntu 9.04) to Mint 8 (based on 9.10), losing my dual monitor setup in the process. I have the gnome panel set on the large screen (DVI1), with the small 15″ VGA-connected monitor displaying a status page to its right.

In order to get the panel to display on the DVI display again (karmic put it on the 15″ vga one), I found the following command after a bit of googling:

xrandr --output DVI1 --mode 1680x1050 --output DVI1 --primary --left-of VGA1 --output VGA1 --mode 1024x768

The “–primary” option seems to have been the key to get karmic to recognize the bigger monitor again.