Message: previous - next
Month: December 2011

Unexpected kreadconfig/kwriteconfig messages

From: Darrell Anderson <humanreadable@...>
Date: Mon, 19 Dec 2011 20:23:51 -0800 (PST)
I have a testing account I use often. That account gets used in my real machines and virtual machines. For many years I have used a left-handed mouse (mouse buttons reversed). Because the virtual machine passes the mouse buttons transparently, I wrote a snippet for that user's .bashrc file to test the mouse button configuration and swap the mouse buttons in kcminputrc as necessary. That way I can use a left-handed mouse regardless of which environment the account gets used.

To test my mouse buttons I run the following in that user's .bashrc:

kreadconfig --file $PROFILE_HOME/share/config/kcminputrc --group Mouse --key MouseButtonMapping

Simple enough.

Today I booted my PII machine that has a partition for Trinity 3.5.13. I login from the command line, which means X is not yet running. When I logged in with that testing account I received the following message:

NVIDIA OpenGL Driver requires CPUs with SSE to run.
The current CPU does not support SSE.

Superficially, I saw this message because originally I had cloned a testing partition from another hard drive and that partition had the proprietary Nvidia drivers installed. The PII machine does not support those drivers. Hence the messages.

The real mystery is what is kreadconfig and kwriteconfig doing that indirectly causes those messages? I suspect a linking problem, which ldconfig resolved after I removed the Nvidia packages. Nonetheless, why are those two commands querying X libraries when X is not running? Is this a feature or a bug? :)