KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   


- Content .- Fans  .- Knowledge Base  . 



KDE Logging/Monitoring

Score 82%



Link:  Link
Minimum required   KDE 3.3.x
Downloads:  8834
Submitted:  May 27 2005
Updated:  Oct 10 2005


KTemperature is an application to monitor the system temperature. I was motivated to develop this utility because I could not find a simple system tray resident application for monitoring the system temperature using the ACPI interface.

The application obtains the system temperature from the file /proc/acpi/thermal_zone/THRM/temperature .

I have been using Linux and Open Source for quite sometime and this is my first contribution. I hope this will lead to
many more contributions from me.

SuSE 9.2 rpm for the i686 platform is available for download.
The available rpm also works for SuSE 9.3.
The rpm available for download can be installed on SuSE 10.0 as well.


Version 1.1
Added check for the presence of /proc/acpi/thermal_zone/THRM/temperature file. If the file is not present the temperature will be displayed as NA.

Version 1.2
Corrected typo.
Visual representation of the "hotness" of the system.
The system maximum temperature can be provided as an input. The system tray icon will change redness depending on the ratio of provided maximum temperature to the current temperature.

Version 1.3
Configurable temperature monitoring interface, can be anything as long as the temperature can be obtained by doing a read operation on the file.
Stored configuration. The configuration is stored in $HOME/.ktemperatue and read on startup.
Increased sensitivity of redness to temperature changes.

Version 1.4
Auto adjusting text font. The color of the text adjusts to a compliment of the background color, This ensures that the text is clearly visible irrespective of the redness of the systray icon.
More prominent text. The text is bold faced and the font of the text is bigger.

Version 1.5
Changes of parameters (polling interval and max, temperature) take instantaneous effect without having to restart the application.
Boundary values cases of redness, the calculation of redness difference between the background and the foreground has been modified to ensure a minimum difference.
Text alignment, the temperature text will be aligned in the middle both vertically and horizontally.

Version 1.6
Auto loading of the neccessary ACPI thermal module and its dependencies if, required. The root password is checked prior to loading the modules.
Detection of two variants of the thermal interface, namely
/proc/acpi/thermal_zone/THRM and

Version 1.7
The ACPI thermal interface was being detected by searching the /proc/modules file. However, that approach will lead to an irritating request for root password in cases where the module in compiled into the kernel. The thermal interface detection has been modified to take care of the above case.

Version 1.8
Added Pause, Restart and Update options in the right click menu for more control of polling.
Cleaned the auto detection of ACPI thermal interface. The first file in the thermal_zone directory(other than .. and .)is taken as the temperature file.
Fixed the width of the main window to be always greater than the width of widest child window.

Version 1.9
Changed the implementation of 'redness' from RGB space to HSV space for greater sensitivity.
The background color changes from green at minimum temperature to red at maximum temperature.
The text is always constant and will have a clear contrast all temperatures.
Replace memcpy with strcpy in monitor interface selection.
Interface(s) selected in the drop down list will be honoured when the Set button is clicked after the selection.
Used grid layout for the main widget.

Version 1.9-1
Created archive to include version information.
Added keyboard shortcuts to right click menu options.
Added caption to root password dialog.

I would like to acknowledge the suggestions that I have received. The changes have been made taking into account these suggestions.

(Source for KTemperature 1.9-1)
(i686 rpm for SuSE 9.2, 9.3 and SuSE 10.0)
Send to a friend
Other  Apps  from avasaralak
Report inappropriate content

goto page: prev   1  2  3  4 


 compile error...

 by kaigoth on: Jun 28 2005
Score 50%

getting the following errors...

ktemperaturewidget.cpp:57: error: `system' undeclared (first use this function)
ktemperaturewidget.cpp:57: error: (Each undeclared identifier is reported only
once for each function it appears in.)
ktemperaturewidget.cpp:74: error: `getenv' undeclared (first use this function)
ktemperaturewidget.cpp: In member function `void
ktemperaturewidget.cpp:163: error: `atoi' undeclared (first use this function)

Reply to this


 Re: compile error...

 by fozerator on: Aug 14 2005
Score 50%

You should add the following line (after the include declarations) in the ./src/ktemperaturewidget.cpp file:

#include <stdlib.h>

Then try to compile once again....

Good luck,

James Kassemi

Reply to this


 root acces needed

 by suckerpvn on: Jun 29 2005
Score 50%

Is there a way to prevent your app from asking the root pw? I really hate user input, even though I don't reboot often. I first thought that by adding modprobe to /etc/sudoers it would stop asking, but it didn't. How can I let the app stop asking, or can you implement functionality so that it does not need to ask? I don't really know how the program itself works, and I guess more people would like this feature so I'll give you the pleasure to start coding! :-)

PS. The program is great though, the best I found! I wanted this functionality after my pc locked when the CPU got overheated on a hot summer day while playing Enemy Territory. :-D

Reply to this


 Re: root acces neede

 by avasaralak on: Jun 29 2005
Score 50%

The utility is asking for the root password to load the ACPI thermal module since it has detected that the monitoring interface is not present.
If you can ensure that the ACPI thermal module is loaded by the time utility runs or if you compile it into the kernel then the root password will not be asked.
In the next version I will try to make changes so that the root password will not be asked if not required.

Reply to this


 Re: Re: root acces neede

 by suckerpvn on: Jun 30 2005
Score 50%

Thanks, that does solve my problem. Is seems that I needed to append 'thermal' to the file /etc/moprobe.preload .

Reply to this


 more confirarable

 by RND on: Jul 2 2005
Score 50%

we need the option to select which background colour and font the tray icon will use.

Suse 9.3 Pro/KDE 3.4/gcc 3.3.5/kernel 2.6.11
Reply to this


 Re: more confirarabl

 by avasaralak on: Jul 2 2005
Score 50%

The background color changes depending on the temperature. As far the font and size of the temperature, I will try to make them configurable.

Reply to this


 Message box

 by cyb on: Jul 16 2005
Score 50%

Is there a way to have a popup when a critical temperature is reached ? If not, it would be nice.

Reply to this


 Re: Message box

 by avasaralak on: Jul 18 2005
Score 50%

Currently, there is no alarm indication when the maximum temperature is reached.
I did not add an alarm since, I was not sure whether it would be a good idea to force more work (and increase temperature further) when the system is at its maximum temperature.

Reply to this



 by yggdrasil on: Sep 13 2005
Score 50%

This is exactly what I needed! Well done! Thanks!

This line is not blank.
Reply to this


 Great, but ...

 by sunfreak on: Oct 10 2005
Score 50%

I've got an error message with ktemperature 1.9.1-0 and the trayicon in is missing (shows "NA"):
~> ktemperature
libpng error: Not a PNG file

I'm running SuSE 9.3 with KDE 3.4.2 Level "b".

Any halp?

Reply to this


 Re: Great, but ...

 by avasaralak on: Oct 10 2005
Score 50%

I am not sure why the libpng error is logged. It could be because the included .png files are not proper. However, the error does not effect the performane of the application.
As far as the NA is concerned, do you have the acpi thermal module loaded ? If it is loaded check if there is a /proc/acpi/thermal_zone/TH*M/temperature and if there is an entry, right click on the system tray select restore and configure the monitoring interface.
I hope this helps.

Reply to this


 Re: Re: Great, but ...

 by sunfreak on: Oct 10 2005
Score 50%

I changed the reference file to the temperatur file in THRC dir:

# ls /proc/acpi/thermal_zone/THR*
. .. cooling_mode polling_frequency state temperature trip_points

. .. cooling_mode polling_frequency state temperature trip_points

Now the display of the temp sensor works fine.


Reply to this

goto page: prev   1  2  3  4 

Add commentBack

How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

 Who we are
More about us
Frequently Asked Questions
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Sponsor us
Report Abuse

Copyright 2003-2016 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.