-
 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    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (6) .- Knowledge Base  . 

Simple CPU Sensor

   1.1  

Plasmoid Script

Score 68%
alexoleshkevichalexoleshkev ich
aliashkevich .com
Simple CPU Sensor
zoom


Simple CPU Sensor
zoom


Minimum required   KDE 4.x
Downloads:  1559
Submitted:  Nov 22 2010
Updated:  May 13 2014

Description:

The most AWESOME CPU sensor for KDE 4! For real people who likes simplicity!

Just shows temperature value without annoying decorations and animations. That's it.

FEATURES:
* Supports configurable overheat alerts.
* Designed to be embedded into panels.
* provides basic configuration:

- font size and styles
- overheat level and color
- normal color
- C or F units scale
- some other pretty neat things.

INSTALLATION:
- use KDE's "Get new hot stuff" to install.

MANUAL INSTALLATION:
- unpack downloaded archive.
- run ./install.sh
- select newly installed plasmoid from plasma widgets.


GITHUB: https://github.com/alex-oleshkevich/simple-cpu-sensor


PLEASE DO NOT REPORT ISSUES AND REQUESTS HERE. USE GITHUB PAGE FOR THAT!




Changelog:

1.1:
+ plasmoid now autodetects temperature sensor, as result:
+ added support of AMD processors

1.0:
+ migrated from Python to QML
+ added possibility to hide units sign (C or F) from being displayed
+ added "bold" and "italic" font styles
+ updated default styles

0.5.2:
+ added support for AMD FX processors (thanks to icewind1991)

0.5:
+ fixed issue when plasmoid was not able to get temperature on several hardware
+ added temperature units support (hello, America)
+ added support of Intel Core i5 M480

0.4:
+ added font settings (family and size)
+ thermal source changed to sysfs instead of deprecated procfs
- removed support of lm-sensors

0.3: Added configuration options via interface:
-- color
-- overheat color
-- check interval
-- selection of grabbing method

0.2: Temperature source changed to sensors in order to provide compatibility between different machines (so u need to have the lm-sensors package installed. The old method is still exists and commented out.

0.1: Initial release






LicenseGPL
Source(simple-cpu-sensor.zip)
Donate
Send to a friend
Subscribe
Other  Artwork  from alexoleshkevich
Report inappropriate content



goto page: prev   1  2  3 

-

 a suggestion

 
 by gosom on: Mar 18 2012
 
Score 50%

Thanks for the widget!

In main.py in the function updateLabel you use:
sensor = commands.getoutput("sensors | grep temp1");

In case sensors are not installed variable sensor would be a string like "command not found",
so when you try to :
t = int(float(sensor)) would raise a ValueError exception.

The problem is that a user in the widget justs sees script initialization failed and has no clue that sensors are missing.

So i suggest to do:
try:
t = int(float(sensor))
except ValueError:
error_msg = 'Unable to get cpu temperature using sensors command, is sensors installed?'

and in the end where you check

to_show = t
if (t > self.overheat_level):
self.color = self.overheat_color
elif ( t == -1):
self.color = self.overheat_color
to_show = error_msg

self.label.setText('<font color="' + self.color + '"><b>' + str(to_show) + '&deg; C</b></font>')

So the widget tells the user what is the error.

Probably you can do it with better code but just keep the idea :)


Reply to this

-

 GPU temp addition?

 
 by LoneWolf53 on: Mar 14 2013
 
Score 50%

Any chance of adding the ability to monitor the GPU temperature to this app?
Love it's simplicity and there's nothing like it for GPU in KDE that I've noticed.


Reply to this

-
.

 Re: GPU temp addition?

 
 by alexoleshkevich on: May 6 2014
 
Score 50%
alexoleshkevichalexoleshkev ich
aliashkevich .com

If you provide me a way how to get a temperature for GPU, then a new widget will appear on this site.


Reply to this

-
.

 [MOD] two values and auto finder

 
 by warrob on: Apr 21 2013
 
Score 50%

Hi,

I modified your nice widget (a small change in main.py). Now it automatically finds the device and shows both motherboard and cpu temperatures aside:
https://dl.dropboxusercontent.com/u/10405722/my-simple-cpu-sensor.zip.plasmoid

feel free to use it or to merge it with your for a new version.


Roberto


Reply to this

goto page: prev   1  2  3 

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.

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.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.