compiling gnome sensors-applet with nVidia support

Gnome sensors-applet is aimed at showing hardware temperatures into a pretty deskbar applet.

Current stable version available in source flavor is 1.8.2 whereas the one shipped with Ubuntu gutsy 7.10 is only 1.7.12, several changes have occurred between these two versions, most notably:
- support for new sensors
- new tango icons

Furthermore the version available from Ubuntu repositories does not support nVidia thermal sensors.

Sebastian (comment #6) has provided a precompiled package here: http://www.wains.be/pub/sensors-applet_2.2.1-1_i386.deb Thanks!

Here is a quick how-to for quickly building an updated package of this applet with nVidia thermal sensors support:

(commands in bold)

1) download latest sources from http://sensors-applet.sourceforge.net/index.php?content=source

2) unpack them via tar xzf sensors-applet*.tar.gz

3) install some required extra packages and their dependencies via apt: sudo apt-get install libgnome2-dev libpanelappletmm-2.6-dev libgtk2.0-dev mesa-common-dev build-essential checkinstall

4) download latest nvidia-settings sources form here ftp://download.nvidia.com/XFree86/nvidia-settings/ or via apt apt-get source nvidia-settings

5) build the libNVCtrl library
cd nvidia-settings*/src/libXNVCtrl
xmkmf

make clean
make

6) install libNVCtrl and related headers
sudo cp *.h /usr/local/include/
sudo cp *.a /usr/local/lib

7) enter sensors-applet folder cd sensors-applet*
run ./configure --prefix=/usr --with-nvidia

8 ) now, if you just want to install them run make and then sudo make install

whereas if you want to build a deb package run sudo checkinstall and follow the step by step instructions.

9) after having installed the applet you have to rightclick on the deskbar and choose add to panel then select sensors applet. Finally you have to configure the sensors by rightclicking on the applet icon and selecting properties.

enjoy a thermal monitoring station on your computer!!

PS: average high warning values are:

for Hard Disk drives ~55°C
for CPU ~85°C
for nVidia GPU ~110°C

Related posts:

  1. Compiling conky from sources
  2. enable nVidia CoolBits (frequency tuner)
  3. Install nvidia-glx-180 drivers in Ubuntu Karmic 9.10
  4. nVidia PowerMizer powersaving/cooling in Linux (updated)
  5. how to checkout cvs svn hg repositories
  6. nVidia GeForce8 powersaving features
  7. compiling a new kernel: 1) the easiest way
| Print This Post Print This Post | Email This Post Email This Post
RSS 2.0 | Trackback | Comment

15 Responses to “compiling gnome sensors-applet with nVidia support”

  1. [...] b) GPU (scheda grafica) sensors applet supporta di default il rilevamento della temperatura per i chipset nVidia, tuttavia è nnecessario compilarlo affinché tale supporto sia abilitato (non è così infatti nel pacchetto fornito nei repository ufficiali di Ubuntu) Io ho impacchettato l’ultima versione del programma con il supporto per le GPU che puoi scaricare da qui. Tuttavia non garantisco che funzioni effettivamente sul tuo sistema. Forse faresti meglio a copilarlo tu stesso. (ho scritto how-to su come fare qui) [...]

  2. [...] I have packaged the latest version with gpu support which you can download from here. However I do not guarantee that it will actually work also on your system. You’d rather compile it by yourself. (I posted an how-to here) [...]

  3. Prakash says:

    As of 3 June 2010 ,Debian Squeeze’s version of sensors-applet(GNOME Sensors Applet 2.2.5) fails to show Nvidia card temperature.I’ve to recompile with “DEB_BUILD_OPTIONS=”–enable-gui –with-nvidia” to enable GPU temperature Support for Nvidia.
    Detailed steps on how to rebuild a debian package is here:
    http://www.cyberciti.biz/faq/rebuilding-ubuntu-debian-linux-binary-package/comment-page-1/#comment-47622

Leave a Reply

XHTML: You can use these tags: b, cite, code, em, i, q cite="", strike, strong.