Solution to error adding Sensors Applet

I’m running Fedora 7 with the proprietary Nvidia drivers. After an upgrade to the Sensors Applet, I found that I could no longer add it to my panel. It gave me this error:

The panel encountered a problem while loading “OAFIID:SensorsApplet”.

Little did I know that an awesome new feature had been added and broke the applet. This feature was temperature monitoring for Nvidia graphics cards! When I was trying to add the applet to the panel, the sensor applet attempted to find out my GPU temperature, but failed because of a missing package. By installing the “libXNVCTRL” package, I was able to give the sensors applet the API it wanted and get things working just fine.

For the record, I was able to get more detailed debugging information to solve this problem by trying to run the applet from the command line using the command “/usr/libexec/sensors-applet”. This returned:

/usr/libexec/sensors-applet: error while loading shared libraries: libXNVCtrl.so.0: cannot open shared object file: No such file or directory

That kind of error is usually a sign of a missing package, so I searched the repos, and found “libXNVCtrl”. My problem was solved. And here’s something I didn’t notice: the GNOME Sensors Applet site gives a “requirements” page, and lists “libXNVCtrl” as a requirement for Nvidia cards. I wish I checked that out sooner.

I am presently using version 1.8.1 of GNOME Sensors Applet.

Leave a Reply