21/04/2010

Sooo PC now!

Nobody really likes renaming their blog. However, together with such venerable institutions as the most famous s***m whale in fiction, we are victims of the Great Online Bowdlerisation Initiative - as witnessed on the openSuSE forums (asterisks in the blog URL, yay!)
Some lame excuses for the old name:
  • Really, that blog name was totally inconnuous in German!
  • Did we mention our outstanding women's quota?
  • We are still allowed to abuse our computers, right? (Yes, Tisiphone, talking about you, you ugly brainwashed crackpot…)
  • People googling "bitches in latex" are in for a very educational evening
  • Can't we be a bit naughty now and then?
So, Eumenides it is. The Kindly Ones. Bloody old euphemism, which hopefully won't get bowdlerised into the page-not-found-nirvana. We illustrate our newfound virtue with a picture including three semi-naked women with snakes in their hair.

And no, potter wasps are Eumeninae. With an n.

19/04/2010

Digikam and the Marble symbol lookup error

(double posting this on the opensuse forums)
With KDE 4.4, digikam > 0.10 for quite some time crashed on startup with something like this:
digikam: symbol lookup error: digikam: undefined symbol: _ZN6Marble12MarbleWidget16staticMetaObjectE

The Marble symbol lookup error seems to be vendor related: upgrading to the KDE 4.4 Marble version requires a vendor change from openSuSE to obs://build.opensuse.org/KDE in YaST. Usually this ought to be done automatically by the dependency checker during an update to KDE 4.4 as it happens with a lot of other KDE 4.4 packages, but apparently this dependency is not registered. Find marble and marble-data in YaST, go to the Versions tab and select the 4.4 version.
With digikam 1.2, this got me at least as far as the splash screen before it crashed ("Trying to open ksycoca..." on konsole).
Digikam finally worked after downgrading to version 1.1 (from software.opensuse.org search). Well, sort of: it crashes on quitting…

14/04/2010

Notes on replacing Tisiphone's hard disk

Yet another faulty hard disk…
  1. Restoring the home partition from a gz-compressed image with the aid of an Ubuntu live CD: uncompressing the image directly onto the target partition took ages, especially as the amount of uncompressed data is the actual partition size and not what's on it.
    It was considerably faster to uncompress the image in place (even regarding the bottlenecks of booting from CD and the USB connection to the external drive), mounting it and just copying the contents. (see daWuzzz's contributions on gzipped images and image mounting)
  2. Just a reminder: only copy the bare necessities using a live system. USB data throughput was about four times slower compared to copying with a system on disk.
  3. Importing users from a previous installation, using the copied home partition: This is a bit tricky, as the installer DVD actually needs an existing installation to read from. Inelegant solution: first do a dummy install setting up fresh users with the same properties (easiest way in a single-user environment), then format the home partition and copy your user data, and finally install the OS again, this time importing the user from the dummy setup using your previous home directory. Alternatively, restore both your old root and home partitions before the fresh install and import the users from there (cumbersome if you had a lot of data on the root partition).
    Other variants I tried but ran into problems with: create a new user and use the old home (KWallet password fail); formatting and rewriting the home partition after the system install (ate my GRUB)
  4. Opensuse 11.2 still reports a failure on the network connection during install despite obviously being able to download release notes
    .

18/03/2010

Importing UNIX users into webmin

After getting CUPS to accept my username and password, I moved on to the last root-only web interface standing, i.e. webmin.
Webmin's import feature is pretty sophisticated, as you can specify permissions for subsets of modules and users via the concept of webmin groups.
This implies that you first have to create such a group before you can import UNIX users.
Groups can be defined in the  Webmin->Webmin Users module, I called mine "admins" and gave the members every permission available.
I then converted my UNIX user to webmin, checking the box "Use same password as unix user in the future" and assigned the admins group.
Apart from the "create group first" point, pretty intuitive.

17/03/2010

How to stop CUPS from asking for the root password

CUPS has a quite restrictive allow/deny policy. Cancelling jobs requires the owner or root (OK, makes sense), for starting and stopping printers you also need root privileges. My root password is befittingly cumbersome, so I looked for some kind of CUPS sudo.
The file to look for is /etc/cups/cupsd.conf, which can be conveniently edited from the CUPS web interface's (localhost:631) Administration tab.

12/03/2010

NY = outer space

...at least according to wetter.com, providing data for the LCD Weather plasma applet. And yes, space is actually warmer.

25/02/2010

I love disper!

...and, if you use a laptop with nVidia graphics and want to extend/clone your screen output to an external monitor or projector, you will, too.
Disper is a python-based command line app and can be downloaded from here. I don't think there are any prerequisites except the nVidia packages and basic Python, and potentially xrandr. Install with make /sudo make install.
The beauty of disper is that it automatically and quite intelligently fits your screen resolution and panning to the detected displays.

10/02/2010

State of Pymorph Address

Friends, Romans, countrymen, lend me your ears:
Ahem.

Actually, I was just looking for a quick 'n dirty Python morphology library to do a kind of string length image analysis and pymorph looked promising. Sadly, a major overhaul seems to be going on there right now, so while the actual code I ended up with is nice, short and robust, getting there was quite a pain.
Pymorph's old (<= 0.8) version has some very helpful demonstration pages, which have to be adapted for the new version (0.92 - and I found nothing but win32 packages for 0.8). Some hints are given on the developer's page, but quite a lot one has to figure out for oneself - mostly formatting issues.