Conky supports NVIDIA cards using their proprietary driver:
Quote:
nvidia threshold temp ambient gpufreq memfreq imagequality
Nvidia graficcard support for the XNVCtrl library. Each option can be shortened to the least significant part. Temperatures are printed as float, all other values as integer.
threshold The thresholdtemperature at which the gpu slows down
temp Gives the gpu current temperature
ambient Gives current air temperature near GPU case
gpufreq Gives the current gpu frequency
memfreq Gives the current mem frequency
imagequality Which imagequality should be chosen by OpenGL applications
|
But understandably, it isn't compiled with this feature in Fedora.
So we need to rebuild the rpm package with this feature enabled.
http://wiki.centos.org/HowTos/RebuildSRPM is a guide for rebuilding rpm's.
First thing we must do is prepare the building environment.
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment talks about it. Just read that and skip the parts that are for Red Hat.
AFAIK, basically we need to have the development tools and the ~/rpmbuild directory set up.
The former we get with '# yum install @development-tools' but that will install a lot of stuff that we wouldn't need (some big, like valgrind). So I think we can go with just the mandatory packages for that group, which are:
autoconf automake binutils bison flex gcc gcc-c++ gdb gettext libtool make pkgconfig redhat-rpm-config rpm-build strace.
That should cover most needs for building from source.
Now to rebuilding Conky.
First download the source rpm (can be wherever you prefer it to be in your home directory, I suppose):
Code:
$ yumdownloader --source conky
Then 'install' it to ~/rpmbuild (here with the current conky version):
Code:
$ rpm -i conky-1.8.1-5.fc17.src.rpm
Then we need to change its spec file to enable the NVIDIA support.
Open ~/rpmbuild/SPECS/conky.spec and change
for
Now before rebuilding it we must have its build dependencies (here's the ONLY part done as root):
Code:
# yum-builddep conky
# yum install libXNVCtrl-devel
Now rebuild the Conky package:
Code:
$ cd ~/rpmbuild/SPECS
$ rpmbuild -ba conky.spec
That's it. You'll find the Conky package in ~/rpmbuild/RPMS/<arch>/. Just install it and enjoy.
For convenience, the 32-bit rpm I built for me can be grabbed at
http://dl.dropbox.com/u/64670113/con....fc17.i686.rpm *
* Note: for this package to work you must have libXNVCtrl.i686 installed.