PyCompMon & PyTempMon

PyCompMon is a temperature and battery monitor for the KDE system tray written in Python using the KDE and QT Python bindings that reads ACPI data about processor temperature and battery capacity.

*** NOTE: There is a bug in this that will write to ~/.xsession-errors about a variable being called before it’s used or something odd like that. If you use this and figure out why, let me know, otherwise it’s not going to destroy anything. ***

tipscreen1.png


PyTempMon is a temperature monitor for the KDE system tray written in Python using the KDE and QT Python bindings that reads ACPI data about processor temperature.

tipscreen-full.jpg


These programs are released under the GPL and are based off of PyWireless written by S.Çağlar Onur.

Requires:

  • KDE
  • Python
  • PyQT
  • PyKDE

The program comes in a .tar.gz and includes a makefile for installation. There is also a .deb for K/X/Ubuntu, since that was my distro of choice, that was made using checkinstall.

General Installation:

tar -xvzf PyXXXXMon.tar.gz
cd ./PyXXXXMon
su -c "make install"

Deb File Installation:

sudo dpkg -i pyXXXXmon_0.9-1_i386.deb

Where XXXX is either “Temp” or “Comp”.

Files:

PyCompMon.tar.gz
pycompmon_0.9-1_i386.de

PyTempMon.tar.gz
pytempmon_0.9-1_i386.de

  1. dennis
    August 23, 2008 at 13:56 | #1

    Concerning a post I found from you (I think) about reading Fortran into C++ from 2007.

    Have you read of the fortran to C++ header file from CERN? It is described at

    http://www-zeus.desy.de/~burow/cfortran/

    and available at

    http://www-zeus.desy.de/~burow/cfortran/cfortran.h

    Writen by Burkhard Burow, it apparently is part of the CERN effot to move Physics Analysis Workstation (written in Fortran) to ROOT (written in C++).

    I tried to use it and then discovered the Fortran code I had didnt compile with g77, so of course it wouldnt work in C/C++.

    I assume that for Fortran to Python you are aware of

    http://cens.ioc.ee/projects/f2py2e/

    Same thing here, if the Fortran code wont compile this wouldnt help me.

  2. August 26, 2008 at 6:29 | #2

    Thanks for the info. The reason my Fortran codes don’t compile on my Mac is due to the compiler installation, somehow it’s not finding the right libraries to link to; all of my Fortran codes have compiled in Linux.

  1. No trackbacks yet.