个人工具

UbuntuHelp:HowtoConky140

来自Ubuntu中文

跳转至: 导航, 搜索

Howto Install Conky 1.4.0 from source

Conky is a very nice system monitor and it works better for me than gdesklets. This my second ever compile, and it was extremely easy, thanks to the nice notifications by its developer.

First things first

cd
cp .conkyrc conkyrcbackup
sudo apt-get update
sudo apt-get remove conky
sudo apt-get install linux-headers-`uname -r` checkinstall build-essential libdbus-1-dev libdbus-glib-1-dev libxext-dev

Download Source

Go to http://conky.sourceforge.net/ and download conky-1.4.0.tar.gz to your Desktop

Now compile and install

cd
mkdir temp
cp /path/to/conky-1.4.0.tar.gz ./
tar -xvf conky-1.4.0.tar.gz
cd conky-1.4.0
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-xft --enable-seti --enable-double-buffer --enable-own-window --enable-proc-uptime --enable-mpd --enable-mldonkey --enable-x11 --enable-portmon --enable-xmms --enable-bmp --enable-audacious --enable-infopipe
make
sudo checkinstall

Notes

  • cp .conkyrc conkyrcbackup will work if you use conky before.
  • sudo apt-get remove conky was necessary for checkinstall to work
  • I used /home/user/temp as a temporary folder. You can delete it afterwords.
  • If you never used conky, you may want to search the forums on how to set up your .conkyrc configuration file. This compilation does not support bmpx (I don't know what it is) because I couldn't find "bmpx" in the package manager (it was a dependency for enabling bmpx, predictably).
  • Let me know in this thread if you prefer me to include descriptions of the commands I used.
  • Some relevant forum threads:

http://www.ubuntuforums.org/search.php?searchid=4111292 will search conky in titles in the forum. http://www.ubuntuforums.org/showthread.php?t=110535 which has screenshots and sample configuration files that you can study and use. http://www.ubuntuforums.org/showthread.php?t=125084 and scroll towards the middle of this very nice Blackbox HowTo

Uninstall

Launch synaptic, search for conky, and remove it.

Discuss this Wiki Page

at http://ubuntuforums.org/showthread.php?t=139262&highlight=conky