Overclock.net banner

1 - 5 of 5 Posts

·
Premium Member
Joined
·
1,425 Posts
Discussion Starter #1
I have been tooling around with my linux istall. Did some searching and found a config section to add current work unit progress to your conky.<br><br>
${font sans-serif:bold:size=8}${color FF9900}FOLDING AT HOME ${hr 2}${font sans-serif:normal:size=8}<br>
${color white}Work Unit Progress: ${execi 15 cat /var/lib/fahclient/log.txt | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'} %<br>
${execibar 15 cat /var/lib/fahclient/log.txt | tr '(' '\n' |tr ')' '\n' | grep -E "(%|percent)"|tail -n 1 | tr -d 'percent' | tr -d '%'}<br><br>
I tailored it for my tastes. It will work for anyone, just change colours, and place it where you want. Now if I figure out how to add PPD <img alt="thumb.gif" class="bbcode_smiley" src="http://files.overclock.net/images/smilies/thumb.gif"> I'll let you know.<br><br>
Here's how it looks<br><br><a class="H-lightbox-open" href="http://www.overclock.net/content/type/61/id/1438692/"><img alt="" class="lightbox-enabled" data-id="1438692" data-type="61" src="http://www.overclock.net/content/type/61/id/1438692/width/350/height/700/flags/LL" style="; width: 307px; height: 642px"></a><br><br>
I'm still trying to get my temps to display properly in it. any help would be cool
 
  • Rep+
Reactions: DizZz

·
Premium Member
Joined
·
6,520 Posts
this is awesome thank you. here is my temperature code. Hope this helps <img alt="thumb.gif" class="bbcode_smiley" src="http://files.overclock.net/images/smilies/thumb.gif"><br><div class="bbcode_code">
<div class="bbcode_code_head">Code:</div>
<pre>
<code>${color #00758D}Temperature ${hr 2}$color
Core 01: $alignr ${platform coretemp.0 temp 1}${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}C
Core 02: $alignr ${platform coretemp.0 temp 2}${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}C
Core 03: $alignr ${platform coretemp.0 temp 3}${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}C
Core 04: $alignr ${platform coretemp.0 temp 4}${iconv_start UTF-8 ISO_8859-1}° ${iconv_stop}C</code>
</pre></div>
 

·
Premium Member
Joined
·
1,425 Posts
Discussion Starter #3
Well string broke my config. Still not able to get it to work right. WTH
 

·
Premium Member
Joined
·
6,520 Posts
<div class="quote-container" data-huddler-embed="/t/1387678/ubuntu-code-to-add-work-unit-percent-to-conky-config/0_100#post_19886615" data-huddler-embed-placeholder="false"><span>Quote:</span>
<div class="quote-block">Originally Posted by <strong>Asustweaker</strong> <a href="/t/1387678/ubuntu-code-to-add-work-unit-percent-to-conky-config/0_100#post_19886615"><img alt="View Post" class="inlineimg" src="/img/forum/go_quote.gif"></a><br><br>
Well string broke my config. Still not able to get it to work right. WTH</div>
</div>
<br>
hmm what does it look like or what error are you getting?
 

·
Premium Member
Joined
·
1,425 Posts
Discussion Starter #5
After trying to get the fancontrol package to work, i get this output in sensors cli<br><br>
CPU Temperature: +429496729.1°C (high = +60.0°C, crit = +75.0°C)<br><br>
So now I'm a little confused.<br><br>
As for the error i get from adding your script, I get this.<br><br><div class="bbcode_code">
<div class="bbcode_code_head">Code:</div>
<pre>
<code>Conky: use_spacer should have an argument of left, right, or none. 'yes' seems to be some form of 'true', so defaulting to right.
Conky: /home/linux/.conkyrc: 35: no such configuration: 'border_margin'
Conky: can't open '/sys/bus/platform/devices/coretemp.0/temp1_input': No such file or directory
please check your device or remove this var from Conky
Conky: Error destroying thread
Conky: Error destroying thread
Conky: Error destroying thread
Conky: Error destroying thread
Conky: Error destroying thread
Conky: Error destroying thread
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:

imlib_context_free();

With the parameter:

context

being NULL. Please fix your program.
[email protected]:~$ </code>
</pre></div>
<br>
I've been using some program that gives me something similar to the applet we used to have. But would like to just see it in the "Conky"
 
1 - 5 of 5 Posts
Top