Warning: session_start(): open(/tmp/sess_0oq8v5l5752ufqvjvbi27ke187, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
Simple NVidia Info openDesktop.org
-
 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   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


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

Simple NVidia Info

   1.2.1  

Plasmoid Script

Score 65%
Simple NVidia Info
zoom


Downloads:  766
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  Content  from patkoscsaba
Report inappropriate content



goto page:  1  2 

-
.

 no temperature

 
 by janet on: Dec 27 2010
 
Score 63%

Alas the most important part, the temperature info, is not working here. I get a "Error parsing query". I have a GeForce 8400.


Want Debian Sid with spices? Get aptosid at aptosid.com - it simply works :)
Reply to this

-
.

 Re: no temperature

 
 by patkoscsaba on: Dec 27 2010
 
Score 50%

Hmm... can you give me the output of these 2 commands?
nvidia-settings -q all | grep -i temp
nvidia-settings -q all | grep -i therm


Reply to this

-

 Re: Re: no temperature

 
 by janet on: Dec 28 2010
 
Score 50%

nvidia-settings -q all | grep -i temp:

Attribute 'GPUCoreTemp' (panther:0.0): 61.
'GPUCoreTemp' is an integer attribute.
'GPUCoreTemp' is a read-only attribute.
'GPUCoreTemp' can use the following target types: X Screen, GPU.
Attribute 'GPUCoreTemp' (panther:0[gpu:0]): 61.
'GPUCoreTemp' is an integer attribute.
'GPUCoreTemp' is a read-only attribute.
'GPUCoreTemp' can use the following target types: X Screen, GPU.

nvidia-settings -q all | grep -i therm
gives not output.


Want Debian Sid with spices? Get aptosid at aptosid.com - it simply works :)
Reply to this

-
.

 Re: Re: Re: no temperature

 
 by patkoscsaba on: Jan 4 2011
 
Score 50%

Great, I know what the problem is now. Expect an update soon!


Reply to this

-
.

 Cannot be installed -error

 
 by cmost on: Dec 27 2010
 
Score 50%
cmostcmost
PCWorks, Inc.

Saved the file then tried to simply add it via the add widget from local file dialog. Throws up an error: installation of widget failed! Installed manually but then gives "script initialization error" upon adding to desktop. Running 64 Bit Sabayon Linux with KDE 4.5.4 here.


AMD Athlon 64 X4 9750 Quad-Core
8192 MB DDR2 RAM
nVidia GeForce 210 w 1024 MB DDR2
Sabayon (Gentoo) Linux w Kernel 2.6.36
Compiz-Fusion

Reply to this

-

 Re: Cannot be installed -error

 
 by joth666 on: Dec 28 2010
 
Score 50%

Same here, using 4.6 RC1 (which I thought might have been the problem first).


Reply to this

-
.

 Re: Cannot be installed -error

 
 by patkoscsaba on: Dec 28 2010
 
Score 50%

Do you have the Python KDE / QT packages installed? Other Python based plasmoids are working for you?


Reply to this

-

 Re: Re: Cannot be installed -error

 
 by joth666 on: Jan 2 2011
 
Score 50%

I for one have them installed, and at least two other python-based plasmoids work as intended.

One currency-converter and a facebook-notifier.


Reply to this

-
.

 Re: Re: Re: Cannot be installed -error

 
 by patkoscsaba on: Jan 4 2011
 
Score 50%

Do you get any errors when you install it from a console like this: plasmapkg -i ./Simple-NVidia-Info.asmoid or if you run it like this: plasmoidviewer Simple-NVidia-Info ??


Reply to this

-

 Re: Re: Re: Re: Cannot be installed -error

 
 by joth666 on: Jan 4 2011
 
Score 50%

No error when installing. Just a "Successfully installed /home/user/Simple-NVidia-info.plasmoid".

When using the plasmoidviewer, however, I get:

http://pastebin.com/AY7HKfsc


Reply to this

-
.

 Re: Re: Re: Re: Re: Cannot be installed -error

 
 by patkoscsaba on: Jan 4 2011
 
Score 50%

Hmm ... interesting, what does this show for you? I think this problem is solvable, but since it does not happen for me, I need a little bit more information:
nvidia-settings -q all | grep -i videoram


Reply to this

-

 Re: Re: Re: Re: Re: Re: Cannot be installed -error

 
 by joth666 on: Jan 4 2011
 
Score 50%

Attribute 'VideoRam' (Morgoth.site:0.0): 524288.
'VideoRam' is an integer attribute.
'VideoRam' is a read-only attribute.
'VideoRam' can use the following target types: X Screen, GPU.
Attribute 'VideoRam' (Morgoth.site:0[gpu:0]): 524288.
'VideoRam' is an integer attribute.
'VideoRam' is a read-only attribute.
'VideoRam' can use the following target types: X Screen, GPU.



-
.

 same, no Tº

 
 by miguelpino on: Dec 28 2010
 
Score 50%

same here, no temperature
this is an awesome plasmoid but the most important function is not working

"Error parsing query"


Reply to this

-
.

 Re: same, no Tº

 
 by patkoscsaba on: Dec 28 2010
 
Score 50%

Please someone give me the output of these 2 comments so I can troubleshoot the no temperature problem:
nvidia-settings -q all | grep -i temp
nvidia-settings -q all | grep -i therm

I am getting the temperature from the "thermalsesnor" property of nvidia-settings, maybe some version or card doesn't have this but it has "GPUTemp" property or something similar.

Since I have only one and my own video card to test on, all of you don't having the temperature please answer my request, otherwise I can't help you!


Reply to this

-
.

 Re: Re: same, no Tº

 
 by miguelpino on: Dec 29 2010
 
Score 50%

sure!
here's mine (the second command doesn't pop up with anything)


miguel@Kubuntu:~$ nvidia-settings -q all | grep -i temp
Attribute 'GPUCoreTemp' (Kubuntu:0.0): 56.
'GPUCoreTemp' is an integer attribute.
'GPUCoreTemp' is a read-only attribute.
'GPUCoreTemp' can use the following target
Attribute 'GPUCoreTemp' (Kubuntu:0[gpu:0]): 56.
'GPUCoreTemp' is an integer attribute.
'GPUCoreTemp' is a read-only attribute.
'GPUCoreTemp' can use the following target
miguel@Kubuntu:~$ nvidia-settings -q all | grep -i therm
miguel@Kubuntu:~$


Reply to this

-

 no temperature

 
 by anthon38 on: Dec 31 2010
 
Score 50%

Same problem as the others, 8600M GT, and same output for the commands you asked.
But here's a(n obvious) patch that works for me (tm)

def _updatelabel(self):
- sensor=commands.getoutput("nvidia-settings -q [thermalsensor:0]/ThermalSensorReading | grep thermalsensor");
- sensor=sensor[sensor.find("):")+2:sensor.find(".")+1];
+ sensor=commands.getoutput("nvidia-settings -q [gpu:0]/GPUCoreTemp | grep gpu:0");
+ sensor=sensor[sensor.find("):")+2:sensor.find(".")];
sensor=sensor.replace(".",unichr(176).encode("latin-1"));
sensor+="C";


Reply to this

-
.

 Re: no temperature

 
 by miguelpino on: Dec 31 2010
 
Score 50%

How can I apply it?


Reply to this

-
.

 Re: Re: no temperature

 
 by patkoscsaba on: Dec 31 2010
 
Score 50%

Did you install version 1.1? I modified it to read GPUCoreTemp as in the above patch plus added some fallback logic. Since I have both "GPUCoreTemp" and "thermalsensor" on my system I tested with both scenarios and it works.

Just to be sure, uninstall the plasmoid first with this command from a console:
plasmapkg -r Simple-NVidia-Info

Then simply install it again.


Reply to this

-
.

 Re: Re: Re: no temperature

 
 by miguelpino on: Dec 31 2010
 
Score 50%

It Works!
thakns for the correction!
really usseful plasmoid.

as suggestions, maybe in the futer you could implement graphical options, f.e. like font size

it would be nice to make the plasmoid even more subtle

good job!


Reply to this

-
.

 Re: Re: Re: Re: no temperature

 
 by patkoscsaba on: Jan 1 2011
 
Score 50%

I am happy it works :)

As I said in the description of the plasmoid, I do not have the time to make a settings window and options for this.

If there is someone keen to provide a patch I am happy to include it and release it, but I will not invest time into this.


Reply to this

-
.

 Re: Re: Re: Re: Re: no temperature

 
 by miguelpino on: Jan 1 2011
 
Score 50%

oh I se...
well its ok
but i have another issue, and maybe you have an idea...

I have to rezise the plasmoid so I could see all the info... no problem with that but, when I restart the pc, the size configuration doesn't save and everytime i must resize again

do you (or anybody) have an idea to how to solve this?

thanks!


Reply to this

-
.

 Re: Re: Re: Re: Re: Re: no temperature

 
 by patkoscsaba on: Jan 1 2011
 
Score 50%

Hmm ... sorry ... on my system (Mandriva 2010.2 64 bits, KDE 4.5.<something>) the text is smaller than the plasmoid initial size, but I still resized it to fit the width of the other plasmoids I have on the desktop, and it keeps it's size. Strange it does not for you.

Maybe someone else has an idea or somebody can direct me to a tutorial/document on how to fix this.



-

 Still errors on Sabayon...

 
 by cmost on: Jan 5 2011
 
Score 50%
cmostcmost
PCWorks, Inc.

Downloaded the plasmoid, then attempted to add it in the usual manner (from local file.) When I attempt to add the plasmoid I get this error:

"This object could not be created for the following reason:

Script initialization failed!"

I'm running Sabayon (Gentoo based) Linux 5.4 64 bit with KDE 4.5.4. Fairly stock.


AMD Athlon 64 X4 9750 Quad-Core
8192 MB DDR2 RAM
nVidia GeForce 210 w 1024 MB DDR2
Sabayon (Gentoo) Linux w Kernel 2.6.36
KDE Desktop Compilation
Compiz-Fusion

Reply to this

-
.

 Re: Still errors on Sabayon...

 
 by patkoscsaba on: Jan 5 2011
 
Score 50%

Please download the file, open a console, cd into the directory where you saved the file and try to install it from there with: plasmapkg -i ./Simple-NVidia-Info.asmoid

Usually console messages are more detailed and I may be able to fix/modify it to solve your problem, too.

BTW I am running on Mandriva 2010.2 64bits and also on KDE 4.5.4.


Reply to this

-

 No Temperature

 
 by dglent on: Jan 6 2011
 
Score 50%

I have Mandriva 2010.2 with kde 4.5.4
instead of the temperature i see a C

[dglent@localhost ~]$ nvidia-settings -q all | grep -i temp
Attribute 'GPUCoreTemp' (localhost.localdomain:0.0): 51.
'GPUCoreTemp' is an integer attribute.
'GPUCoreTemp' is a read-only attribute.
'GPUCoreTemp' can use the following target types: X Screen, GPU.
Attribute 'GPUCoreTemp' (localhost.localdomain:0[gpu:0]): 51.
'GPUCoreTemp' is an integer attribute.
'GPUCoreTemp' is a read-only attribute.
'GPUCoreTemp' can use the following target types: X Screen, GPU.
[dglent@localhost ~]$ nvidia-settings -q all | grep -i therm
Attributes queryable via localhost.localdomain:0[thermalsensor:0]:
Attribute 'ThermalSensorReading' (localhost.localdomain:0[thermalsensor:0]): 51.
The valid values for 'ThermalSensorReading' are in the range 0 - 127
'ThermalSensorReading' is a read-only attribute.
'ThermalSensorReading' can use the following target types: Thermal Sensor.
Attribute 'ThermalSensorProvider' (localhost.localdomain:0[thermalsensor:0]): 1.
'ThermalSensorProvider' is an integer attribute.
'ThermalSensorProvider' is a read-only attribute.
'ThermalSensorProvider' can use the following target types: Thermal Sensor.
Attribute 'ThermalSensorTarget' (localhost.localdomain:0[thermalsensor:0]): 1.
'ThermalSensorTarget' is an integer attribute.
'ThermalSensorTarget' is a read-only attribute.
'ThermalSensorTarget' can use the following target types: Thermal Sensor.
[dglent@localhost ~]$


Reply to this

-
.

 Re: No Temperature

 
 by patkoscsaba on: Jan 6 2011
 
Score 50%

OK, very helpful informations. I see the problem and I'll fix it in the coming days. Stay tuned :D


Reply to this

-

 Re: Re: No Temperature

 
 by dglent on: May 8 2011
 
Score 50%

After the last update 1.2.1 it works fine for me

Thanks :)


Reply to this

-
.

 Re: Re: Re: No Temperature

 
 by patkoscsaba on: May 8 2011
 
Score 50%

I'm happy I solved your problem. Sorry for the delay, I was very busy in these last months.


Reply to this

goto page:  1  2 

Add commentBack




-



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

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team