I like to use the watermark screenlet to monitor my hardware so I installed
Screenlets and all the necessary dependencies. All the watermark screenlets are
working except the python script for cpu speed.
When I log in I get an error message in the screenlet.
error message for watermark cpu speed after login
intel Q6600 @ 2400
GHzgawk:/^cpu MHz/
{print "
gawk: ^
unterminated string
I re-enter the python script and it loads the correct values.
The default script I have to reload is:
Is there another way to write the script so it loads automatically?
I entered the hash mark in the code box because I didn't want to blow up the internet.
Screenlets and all the necessary dependencies. All the watermark screenlets are
working except the python script for cpu speed.
When I log in I get an error message in the screenlet.
error message for watermark cpu speed after login
intel Q6600 @ 2400
GHzgawk:/^cpu MHz/
{print "
gawk: ^
unterminated string
I re-enter the python script and it loads the correct values.
The default script I have to reload is:
Code:
#cat /proc/cpuinfo|gawk -F: -- '/^cpu MHz/{ print "\n" int($2) " MHz"; }'|tr -s '\n\n' '\n'
I entered the hash mark in the code box because I didn't want to blow up the internet.
Comment