See the project web page.
- Download xfce-hkmon.cpp and compile it (you only need gcc or clang installed):
g++ -std=c++0x -O3 -lrt xfce-hkmon.cpp -o xfce-hkmon
- Place the executable somewhere (e.g. /usr/local/bin)
- Add a XFCE Generic Monitor Applet (comes with most distros) with these settings: no label, 1 second period, Bitstream Vera Sans Mono font (recommended) and the following command:
/usr/local/bin/xfce-hkmon NET CPU TEMP IO RAM