-
 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 (1) .- Knowledge Base  . 

Simple NVidia Info

   1.2.1  

Plasmoid Script

Score 65%
Simple NVidia Info
zoom


Minimum required   PyKDE/PyQt
Downloads:  693
Submitted:  Dec 27 2010
Updated:  May 8 2011

Description:

This is my first program in Python and I wrote this plasmoid because I did not want to install superkaramba for a NVidia temperature monitor.

This plasmoid is just a few \"nvidia-setting --bla-bla-bla | grep bla\". It displays card model, opengl and driver versions, video memory and cuda cores, and the current temperature.

It is a very simple plasmoid, it has no settings whatsoever and it updates the temperature reading every 10 seconds. All other text is red only once, at the startup.

I started to write this based on the code from this plasmoid: http://kde-look.org/content/show.php/Very+simple+CPU+temperature?content=121205 so thanks to the author.

My free time is limited, so I do not have any future plans for this, but if you have some ideas you can leave them here. Who knows? Maybe one day I will be a python programmer.

And one more thing, I know you can see the fan speed with nvidia-settings, but I have a fanless video card, so unless someone writes a patch to have an option to show/hide fan speed, I will not add it.




Changelog:

Version 1.2.1
- Fixed (hopefully) the last cases when the plasmoid shown no temperature

Version 1.2
- Fixed problem with plasmoid not loading after install on some machines. Please leave a comment if it still happens.
- Added a very basic icon.

Version 1.1.1
- I forgot to update the version number in the previous release so it had to be manually removed before update. Now it is updated and should install without problem if you have any of the previous versions already installed.

Version 1.1
- added "GPUCoreTemp" as main sensor for reading temperature
- the old "thermalsensor" property works as a fallback
- if nothing works "N/A" is printed to avoid users seeing error messages

Version 1.0
- initial release




LicenseGPL
(Simple-Nvidia-Info.plasmoid)
Donate
Send to a friend
Subscribe
Other  Artwork  from patkoscsaba
Report inappropriate content



goto page: prev   1  2 

-

 Cannot be installed - fixed

 
 by joth666 on: Jan 7 2011
 
Score 50%

Just wanted to let you know that the plasmoid now runs, which it didn't before.

Just out of curiosity...what was the problem?

I just got a C instead of the temperature though so I changed the code a little to make it work...

I used this in the temp-detection code instead of yours:

sensor=commands.getoutput("nvidia-settings -q [gpu:0]/GPUCoreTemp|grep gpu:0|awk -F'):' '{ print $2 }'");
sensor=sensor.replace(".",unichr(176).encode("latin-1"));
sensor+="C";

Of course, that takes it for granted that reading the GPUCoreTemp will always work.


Reply to this

-
.

 Re: Cannot be installed - fixed

 
 by patkoscsaba on: Jan 7 2011
 
Score 50%

Your solution is like mine, it is working for you but may not work for others. You base your logic on the fact that the GPUCoreTemp is available AND that the temperature is in the second column. I intentionally avoided using awk in my code specifically to not rely on the position of a string. As I commented yesterday, I know what the problem is for some who doesn't have temperature but I am pretty busy in these days and will probably release an update in weekend.

For those of you who don't want to wait, use "rfind" instead of "find" when you are searching for the end period (".").


Reply to this

-

 Possible looping in this plasmoid

 
 by mgolden on: Jan 3 2012
 
Score 50%

I just reported this bug:

https://bugs.kde.org/show_bug.cgi?id=290470

which I think is due to this plasmoid going into a loop.


Reply to this

-
.

 Re: Possible looping in this plasmoid

 
 by patkoscsaba on: Jan 3 2012
 
Score 50%

Can you give more details (I do not really understand the dump for the link you provided). The plasmoid is so simple that it only does a few grep and sed, nothing else. The only looping code is called by a QT::Timer class. If that is causing the problem, than QT Timer is the problem, or the python bindings...

self.timer = QtCore.QTimer();
self.timer.setInterval(10000);
self.timer.start(10000);
QtCore.QObject.connect(self.timer, QtCore.SIGNAL("timeout()"), self._updatelabel)


Reply to this

-

 Re: Re: Possible looping in this plasmoid

 
 by mgolden on: Jan 3 2012
 
Score 50%

I don't have any details beyond what I put in the original ticket. I can't really follow the traceback either, but you can see that when the process was pegged and I killed it this plamoid was in the traceback, so it is very likely that the loop was there. I think that's why they closed the ticket, and claimed that the bug was here.

Is it possible that the plasmoid somehow got detached from the timer and then looped immediately instead of after a delay?

Perhaps you can e-mail one of the plasma devs to get some help interpreting that trace.


Reply to this

-

 Re: Re: Possible looping in this plasmoid

 
 by mgolden on: Jan 3 2012
 
Score 50%

Another thought is that the loop might have happened when the plamoid was asked to redraw itself. It was covered up when akregator was running and was then uncovered.


Reply to this

-
.

 Re: Re: Re: Possible looping in this plasmoid

 
 by patkoscsaba on: Jan 3 2012
 
Score 50%

Auto-looping with timer detached:
- this is highly unlikely. As far as I understand the timer's working, if it crashes the plasmoid will stop refreshing. Since the timer is the only element that 'generates a loop' periodically, I can see no way to re-run the code outside of the timer.

About contacting plasma devs... Unless I will find out about other people reporting this bug also, I will not take further actions. This may very well be an isolated situation in your case. Plus, if you like this plasmoid, version 2, build on Ruby instead of Python is out, so I recommend using that.

I decided not to remove this one for those people which can not install ruby-plasma-engine for various reasons and prefer the python version.

Unless there is a reproducible (many times in many places) severe bug, I am not planning to further update this version of the plasmoid.


Reply to this

goto page: prev   1  2 

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.