18/01/2009

Mplayerplug-in and Quicktime cause Firefox to segfault

I can't remember quite when the mplayerplug-in started to kill firefox when playing Quicktime movies (doesn't affect WMV, by the way). They haven't updated the plugin for ages, so I suspect either a firefox update, new Quicktime codecs or some general SuSE 11.1-ness. Setting full debug in /etc/mplayerplug-in.conf didn't help, as it crashed before generating a single line of debugging output.
Quick fix: switched to gecko-mediaplayer, which is also a mplayer front end, according to its YaST description still under heavy development, but seems to run stable enough for now.

It had to be just the right kind of Java…

More fun with JabRef and the AWT toolkit. Starting JabRef by java -jar JabRef-2.4.2.jar got me a string of errors and no GUI:
ERROR while starting or running JabRef:
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
The reason for this appears to be that openSuSE uses the non-proprietary OpenJDK Java runtime by default, while you need Sun's JRE for JabRef to work (available in the non-oss repo).
Check with java -version - if it says "OpenJDK" instead of "Java(TM)", you need to switch the packages in YaST or zypper.

17/01/2009

Insufficient CD/DVD drive permissions on openSuSE 11.1

One of those "I should have known..." posts. I just could not get my flu-addled brain to google the problem and, I am ashamed to confess, watched DVDs on Vista instead.
  • Audio CDs and video DVDs were displayed in Konqueror, but not played (and yes, I had all the codecs).
  • K3b warned me about not having a burner.
  • wodim --devices found nothing.
This has made the most-annoying-bug list on opensuse.org, and the developers keep bickering in the bugzilla comments. The most popular workaround seems to be to add your user to the disk group, which works, but poses an ugly security risk: disk members have raw access to all hard drives.
Pawel Stolowski on the bugzilla thread suggests changing the group ownership to cdrom for all optical drives in the udev rules:
  • add your user to the cdrom group in YaST->Users and Groups.
  • create (sudo) a file 99-my.rules in /etc/udev/rules.d/ containing this line:
    KERNEL=="sr*[0-9]", GROUP="cdrom", MODE="0660"
  • reboot
Worked for me. There seems to be an upcoming hal etc. patch by Danny Kukawa, which ought to sort out the problem. Oh, and other cynical bastards like me out there might derive some guilty amusement from the troll wars in the bug thread.

23/12/2008

openSuSE 11.1 - cool stuff and quirks

A small list of what we like and don't like about openSuSE 11.1:

22/12/2008

Kill and restart plasma

Though pretty slick and usable by now, KDE4 is not exactly stable all the time, especially plasma.
ToDo after a desktop crash (found here) - if you are lucky enough to still have a shell:
kbuildsycoca4
kquitapp plasma-desktop
kstart plasma-desktop (see comment by Casian, thanks!)
I added #!/bin/bash in front and copied the script to /usr/bin to have it at the ready. It's cleaner that just killall plasma-desktop & plasma-desktop, because the system configuration cache is rebuilt first and KDE handles quit and start.

For pre-KDE 4.3 users:
plasma is now plasma-desktop, so, in the code above change plasma-desktop to plasma.

19/12/2008

SuSE 11.0 to SuSE 11.1 and back again

This is a HowTo to update from 11.0 to 11.1 - theoretically. Actually, I'm back to 11.0 again on Tisiphone and pretty pissed off - I really like compiz and a working wireless card. Additionally, I have plenty of other things to do right now, and maybe I didn't spend as much time on this issue as it deserved ;-)
Update: It got better after the third try.
Important preliminaries:
If you do a virgin install it might be a good idea to remember what you had on the old system.
rpm -qa > allpackages.txt
Backup your system and home partitions as described here. DO IT! You will probably need it.

Hotkey problems after updating openSuSE 11.0

While I recently updated my openSuSE 11.0 on my Samsung P35, I was warned that something in the hotkey-subsystem had changed, blabla... Being the normal stupid user, I told myself "oh well, don't worry". But of course, my hotkeys were broken afterwards. To recover their functionality, simply install the package "hotkey-setup" via YaST, open a root console and cast the command:
/usr/sbin/rchotkey-setup start
Life can be so easy...

16/12/2008

Console CD burning

This was originally part of the last post, but I got stuck in an increasingly off-topic quagmire. I'm not a console zealot, but if some quick one-liner in a shell means I don't have to fire up a big GUI, I'm all for it. CD copying and ISO burning are prime candidates. You need wodim/cdrtools and cdrdao for this, which are probably installed by default as K3b depends on them. cdrtools users, replace wodim with cdrecord (see below).