git clone http://danamlund/git/sensors-lxpanel-plugin/.git
Log | Files | Refs | README | LICENSE

README (4053B)


      1 PACKAGE INFORMATION
      2 ===================
      3 
      4 A lxpanel plugin to monitor hardware sensors through lm-sensors.
      5 
      6 
      7 DEPENDENCIES
      8 ============
      9 
     10 This package uses several other packages with different names
     11 depending on distribution.
     12 
     13 For Ubuntu 20.04:
     14   pkg-config
     15   libglib2.0-dev
     16   libgtk2.0-dev
     17   libsensors4-dev
     18   libmenu-cache1-dev
     19 
     20 For Fedora 16:
     21   lm_sensors-devel
     22   gtk2-devel
     23 
     24 
     25 INSTALLATION
     26 ============
     27 
     28 To install this package run on a fresh ubuntu 20.04 system:
     29   sudo apt install gcc make libglib2.0-dev libgtk2.0-dev libsensors4-dev lm-sensors
     30   make
     31   sudo make install
     32 
     33 
     34 To install this package run on a fresh ubuntu 11.04 system:
     35   sudo apt-get install build-essential lxde
     36   sudo apt-get install libglib2.0-dev libgtk2.0-dev libmenu-cache1-dev 
     37   sudo apt-get install libsensors4-dev
     38   make
     39   sudo make install
     40 
     41 To install this package run on a fresh ubuntu 14.04 system:
     42   sudo apt-get install libglib2.0-dev libgtk2.0-dev libmenu-cache1-dev 
     43   sudo apt-get install libsensors4-dev
     44   make
     45   sudo make install
     46 
     47 To install in Arch Linux
     48   Available PKGBUILD in the AUR:
     49     https://aur.archlinux.org/packages/sensors-lxpanel-plugin
     50 
     51 On debian (and possible other systems) the package 'lxpanel-dev' is
     52 also needed: 
     53   sudo apt-get install lxpanel-dev
     54 
     55 Make sure you have run 'sudo sensors-detect' or otherwise configured
     56 lm-sensors. You can test your lm-sensors configuration by running
     57 'sensors'.
     58 
     59 
     60 USAGE
     61 =====
     62 
     63 Once installed, follow these steps to add the plugin:
     64   Restart lxpanel (log out/in or run lxpanelctl restart)
     65   Right-click panel
     66   Select "Add / Remove Panel Items"
     67   Press "Add"
     68   Select and add "lm-sensors Monitor"
     69   Right-click plugin to change settings
     70 
     71 To monitor multiple sensors, add multiple sensors plugins.
     72 
     73 
     74 AUTHOR INFORMATION
     75 ==================
     76 
     77 Author: Dan Amlund Thomsen
     78 Email: dan@danamlund.dk
     79 Website: http://danamlund.dk/sensors_lxpanel_plugin
     80 
     81 
     82 CHANGELOG
     83 =========
     84 
     85 1.0 (2012-03-12)
     86   Initial release
     87 
     88 1.1 (2013-03-06) 
     89   Widget size is kept as the maximum seen to avoid jiggling other
     90   plugins. Widget size can be reset by entering the configuration.
     91 
     92 1.2 (2013-03-10)
     93   Text is now aligned to the right in the x-coordinate and in the
     94   center on the y-coordinate. The text is now customizable using html
     95   markup.
     96 
     97 1.3 (2013-04-08)
     98   Added the gpl2 license COPYING file to the repository.
     99 
    100 1.4 (2013-05-29) 
    101   The default delay of 1 second can now be changed (to a minimum of 10
    102   ms). Also, easy Arch Linux installation instructions added by
    103   graysky2.
    104 
    105 1.5 (2014-05-24) 
    106   (1) Fixed compilation problems on Ubuntu 14.04 by properly depending
    107   on glib. 
    108   (2) on Removed dependency on lxpanel-dev package (because it is not
    109   available on Ubuntu 14.04), the required lxpanel/plugin.h is now
    110   packaged along side. 
    111   (3) Improved installation script by trying all sorts of methods to
    112   locate lxpanel/plugins (try 'pkg-control lxpanel', search for
    113   deskno.so (a built-in plugin) in various common lib folders).
    114 
    115 1.6 (2014-05-24)
    116   'make DESTDIR=/tmp/stage install' is now supported to prepend
    117   "/tmp/stage" to where it would otherwise install the plugin.
    118   'make LXPANEL_PLUGINS_DIR=/usr/lib/lxpanel/plugins install' installs
    119   the plugin (copied sensors.co) into '/usr/lib/lxpanel/plugins'.
    120   Version 1.4 handled DESTDIR like LXPANEL_PLUGINS_DIR is handled
    121   now. DESTDIR now follows the standard (from
    122   https://www.gnu.org/prep/standards/html_node/DESTDIR.html ).
    123   My thanks to https://github.com/rikardfalkeborn for these fixes.
    124 
    125 1.7 (2014-05-24)
    126   Fixed problem with installation not working on systems where
    127   'pkg-control --variable=libdir lxpanel' returns something. I'm not
    128   sure what this returns exactly so we search for a builtin-plugin in
    129   what is returned. From the autotools of the lxpanel example plugin
    130   it looks like it returns e.g. '/usr/lib/lxpanel', but on a Arch
    131   linux system it returns '/usr/lib/'.
    132 
    133 1.8 (2020-05-26)
    134   Add parameter that lets you override how sensor numbers are
    135   formattet. For example if you set it to "%.0lf%s", then temperatures
    136   wont have any decimals.