Skip to content

milahu/xfce4-hardware-monitor-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

26.11.14: Now accepted/moved into XFCE4 panel-plugins! http://git.xfce.org/panel-plugins/xfce4-hardware-monitor-plugin/


Hardware Monitor
----------------

Hardware Monitor is a monitor plugin for the XFCE4 panel (originally
the GNOME panel). It supports a variety of monitoring capabilities
(CPU usage, network throughput etc.) and different kinds of viewers
(curves, bars, columns, text, flames).

It is licensed under the GNU GPL v3 or later.


Breaking changes
----------------

1.4.6 upgrade: See NEWS/Changelog.


Requirements
------------

You need a modern XFCE4 desktop (i.e. at least XFCE 4.4 I think) with
the related libraries and the C++ wrappers for GTK+ and the Gnome
canvas library - gtkmm, libglademm and libgnomecanvasmm.
These can be fetched from http://www.gtkmm.org, or are alternatively
probably available as packages from your distributor.

Also, to compile the program you need the development files for the
XFCE4 panel, the XFCE4 user interface library libgtop. The following
are the correct packages on Debian Testing as of 7.11.13:

libglademm-2.4-dev libgnomecanvasmm-2.6-dev libgtkmm-2.4-dev libgtop2-dev
libxfce4ui-1-dev xfce4-panel-dev

If you have libsensors from the lm-sensors package installed at
compile time, the configure script will detect it and add support for
monitoring temperatures and fan speeds (if the library is not found,
the relevant UI is hidden).

libgnomecanvas (which libgnomecanvasmm binds) has a stupid memory leak
in its paint routine, which I have reported:

My bug: OmegaPhil/hardware-monitor-applet#5
Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753621
GNOME bug: https://bugzilla.gnome.org/show_bug.cgi?id=729717

In both cases the bug has been ignored. Running the plugin for days will
gradually cause the RSS to increase without limit - for Debian users I
have produced fixed i386 and amd64 Debian archives -
https://github.com/OmegaPhil/libgnomecanvas/tree/pkg


Compiling from source
---------------------

Note that when you compile from source, the file
hardware-monitor.desktop must end up a place where the panel can find
it. Else you will not be able to find the plugin in the right-click
panel menu. This place is usually /usr/share/xfce4/panel/plugins/. If you
run configure with 

  ./configure --prefix=/usr

and install the plugin, it will work.

To set up the build environment for the usual ./configure && make &&
make install, run the provided autogen.sh script first - autoconf, libtool
and intltool need to be installed for this script to work.


Debian archives
---------------

See http://git.xfce.org/panel-plugins/xfce4-hardware-monitor-plugin/tree/?h=omegaphil/pkg


Bugs and feature requests
-------------------------

Please report at https://bugzilla.xfce.org/describecomponents.cgi?product=Xfce4-hardware-monitor-plugin