<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6488&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Conky.conf problem]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6488</link>
		<description><![CDATA[The most recent posts in [SOLVED] Conky.conf problem.]]></description>
		<lastBuildDate>Tue, 12 Mar 2024 10:51:50 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Conky.conf problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48877#p48877</link>
			<description><![CDATA[<p>senHello:</p><div class="quotebox"><cite>alexkemp wrote:</cite><blockquote><div><p>... set sudo to execute certain commands ...</p></div></blockquote></div><p>Indeed.</p><p>But I was wanting to avoid adding to my overpopulated <span class="bbc">sudoers.d</span> directory and thought that maybe there was a way to get that done within <span class="bbc">conky</span> for cases like this.</p><p>Guess that will have to do. 8^)<br />I&#039;ll test it and see how it goes.</p><p><span class="bbu">Edit:</span> that did it - works as advertised.</p><p>Thank you very much for your input.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 12 Mar 2024 10:51:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48877#p48877</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Conky.conf problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48876#p48876</link>
			<description><![CDATA[<p>It is possible to set <span class="bbc">sudo</span> to execute certain commands (which would normally require a password) without a password. That will meet your use-case. See the following as extra help:</p><p><a href="https://linuxhandbook.com/sudo-without-password/" rel="nofollow">https://linuxhandbook.com/sudo-without-password/</a></p>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Tue, 12 Mar 2024 10:29:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48876#p48876</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Conky.conf problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=48872#p48872</link>
			<description><![CDATA[<p>Hello:</p><p>After much procrastinating, I finally set about cleaning up my <span class="bbc">conky.conf</span> file.<br />This year&#039;s has been a very hot summer and the fans in the box many times ran at high speeds.<br />I need to know what is going on inside temperature wise.&#160; </p><p>The on-board <span class="bbc">w83627ehf</span> chip is not activated and loading the module gives bogus/unreliable readings.<br />The only way I can get a reasonably approximate in-box temperature reading are from the pair of SCSI cards I have inside, their readings should be good enough to get an idea of internal temperatures.</p><p>So, to that effect, I need to run these lines in <span class="bbc">conky</span>:</p><div class="codebox"><pre><code>Case 0: +${exec sensors drivetemp-scsi-5-0 | grep &#039;temp1&#039; | cut -c 30-39} C</code></pre></div><div class="codebox"><pre><code>Case 1: +${exec sensors drivetemp-scsi-3-0 | grep &#039;temp1&#039; | cut -c 30-39} C}</code></pre></div><p>The problem I have is that <span class="bbc">sensors</span> can only be run as root so it is not working from <span class="bbc">conky</span>.</p><div class="codebox"><pre><code>~$ sensors drivetemp-scsi-5-0 | grep &#039;temp1&#039; | cut -c 30-39
Error: File /etc/sensors.d/sun_u24.conf: Permission denied
sensors_init: General parse error
~$</code></pre></div><div class="codebox"><pre><code>~$ sudo sensors drivetemp-scsi-5-0 | grep &#039;temp1&#039; | cut -c 30-39
[sudo] password for groucho: 
  +34.0 C 
~$ </code></pre></div><p>Everything else works properly.</p><p>Any pointers will be appreciated.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Mon, 11 Mar 2024 23:52:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=48872#p48872</guid>
		</item>
	</channel>
</rss>
