New release 1.3.3:

edited reading temperature device
  rename
This commit is contained in:
arcan1s 2013-05-29 04:05:43 +04:00
parent 63a6ef5217
commit e66e8c476b
9 changed files with 11 additions and 8 deletions

7
README
View File

@ -26,8 +26,11 @@ For edited output you must open Settings window and setup output format in lines
Label order will changed if you change slider position. HTML tags in label work normally. Label order will changed if you change slider position. HTML tags in label work normally.
Attention: you don't may set to show $cpu in swap label for example. $cpu will work only in cpu label. Attention: you don't may set to show $cpu in swap label for example. $cpu will work only in cpu label.
Attention: gpu, gputemp and hddtemp labels require extsysmon dataengine!
Dependencies: Dependencies:
extsysmon
kdebindings-python2 kdebindings-python2
extsysmon (for GPU, GPU temp and HDD temp labels)
lm_sensors (for definition temperature device)
net-tools (for definition network device)

3
install_ext-sysmon.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
plasmapkg -t dataengine -i ext-sysmon-1.0.zip

View File

@ -1,3 +0,0 @@
#!/bin/sh
plasmapkg -t dataengine -i extsysmon-1.0.zip

View File

@ -85,8 +85,8 @@ class pyTextWidget(plasmascript.Applet):
commandOut = commands.getoutput("grep -c '^processor' /proc/cpuinfo") commandOut = commands.getoutput("grep -c '^processor' /proc/cpuinfo")
self.numCores = int(commandOut) self.numCores = int(commandOut)
# setup temperature device # setup temperature device
commandOut = commands.getoutput("sensors | grep Physical -B2") commandOut = commands.getoutput("sensors | grep adapter -B1 -A1 | grep °C -B2")
self.tempdev = "lmsensors/"+commandOut.split("\n")[0]+"/"+'_'.join(commandOut.split("\n")[2].split(":")[0].split()) self.tempdev = "lmsensors/" + commandOut.split("\n")[0] + "/" + '_'.join(commandOut.split("\n")[2].split(":")[0].split())
# create dictionaries # create dictionaries
self.dict_orders = {'6':'bat', '1':'cpu', '7':'cpuclock', '9':'gpu', 'a':'gputemp', self.dict_orders = {'6':'bat', '1':'cpu', '7':'cpuclock', '9':'gpu', 'a':'gputemp',

View File

@ -12,7 +12,7 @@ X-Plasma-RequiredExtensions=FileDialog,LaunchApp,LocalIO
X-KDE-PluginInfo-Author=Evgeniy Alexeev aka arcanis X-KDE-PluginInfo-Author=Evgeniy Alexeev aka arcanis
X-KDE-PluginInfo-Email=esalexeev@gmail.com X-KDE-PluginInfo-Email=esalexeev@gmail.com
X-KDE-PluginInfo-Name=py-text-monitor X-KDE-PluginInfo-Name=py-text-monitor
X-KDE-PluginInfo-Version=1.3.2b X-KDE-PluginInfo-Version=1.3.3
X-KDE-PluginInfo-Website=http://kde-look.org/ X-KDE-PluginInfo-Website=http://kde-look.org/
X-KDE-PluginInfo-Category=System Information X-KDE-PluginInfo-Category=System Information
X-KDE-PluginInfo-Depends= X-KDE-PluginInfo-Depends=