<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=3108&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / yad without dbus? [SOLVED]]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=3108</link>
		<description><![CDATA[The most recent posts in yad without dbus? [SOLVED].]]></description>
		<lastBuildDate>Wed, 16 Oct 2019 19:52:32 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: yad without dbus? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18244#p18244</link>
			<description><![CDATA[<p>yad developer&#039;s workaround (see <a href="https://github.com/v1cont/yad/issues/58)" rel="nofollow">https://github.com/v1cont/yad/issues/58)</a>:</p><div class="codebox"><pre><code>NO_AT_BRIDGE=1 yad &lt;arguments&gt;</code></pre></div><p>I don&#039;t understand why it works, but it does. I need to educate myself further.</p><p>I also found this much simpler alternative to yad, which does everything I need:<br /><a href="https://github.com/jonhoo/mktrayicon" rel="nofollow">https://github.com/jonhoo/mktrayicon</a></p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Wed, 16 Oct 2019 19:52:32 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18244#p18244</guid>
		</item>
		<item>
			<title><![CDATA[Re: yad without dbus? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18240#p18240</link>
			<description><![CDATA[<p>Thank you for that, fsmithred.</p><p>I can confirm that if I remove the executable bit from dbus-launch and dbus-daemon, yad is still able to create the notification icon. However, if dbus-launch and dbus-daemon are executable, dbus is consistently launched each time yad creates an icon. This is very strange.</p><p>I&#039;ll ask yad&#039;s developer and will keep exploring. I&#039;ll take a look at some PPIDs to exclude the possibility that some other utility/daemon is starting dbus when yad is detected.</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Tue, 15 Oct 2019 17:44:46 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18240#p18240</guid>
		</item>
		<item>
			<title><![CDATA[Re: yad without dbus? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18239#p18239</link>
			<description><![CDATA[<div class="quotebox"><cite>GNUser wrote:</cite><blockquote><div><p>@fsmithred - On your no-dbus system, are you able to create a system tray icon using yad? What happens when you run <span class="bbc">$ yad --notification --image=dialog-ok --text=&quot;testing&quot; &amp;</span>?</p></div></blockquote></div><p>I get a notification icon in lxpanel. I can&#039;t tell what it is - maybe a bell - it&#039;s light on lighter background. If I use dialog-warning, then I get the warning icon, which is easy to recognize. It just works. I don&#039;t know why. The only new process that shows up is the yad command. Using this iso: <a href="https://get.refracta.org/files/experimental/refracta10-nodbus_amd64-2019-04-16.iso" rel="nofollow">https://get.refracta.org/files/experime … -04-16.iso</a></p><p>UPDATE: If I run the same command on my ascii/xfce with dbus, I get the icon in the systray and no additional instances of dbus in ps output. If I run strace on that command, the string &#039;dbus&#039; does not appear in the output.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 15 Oct 2019 17:24:02 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18239#p18239</guid>
		</item>
		<item>
			<title><![CDATA[Re: yad without dbus? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18238#p18238</link>
			<description><![CDATA[<p>While trying to solve this issue, I discovered this little gem:</p><p><a href="https://github.com/jonhoo/mktrayicon" rel="nofollow">https://github.com/jonhoo/mktrayicon</a></p><p>You can compile it with this command:</p><div class="codebox"><pre><code>gcc `pkg-config --cflags gtk+-3.0` mktrayicon.c -lX11 -o mktrayicon `pkg-config --libs gtk+-3.0`</code></pre></div><p>If, like me, you want to use custom icons instead of stock icons, just change the two instances of <span class="bbc">gtk_status_icon_set_from_icon_name</span> in mktrayicon.c to <span class="bbc">gtk_status_icon_set_from_file</span> before you compile it.</p><p>P.S. I&#039;m still interested in solving this issue--learning how to create systray icons with <span class="bbc">yad</span> without dbus being started.</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Tue, 15 Oct 2019 16:55:21 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18238#p18238</guid>
		</item>
		<item>
			<title><![CDATA[Re: yad without dbus? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18237#p18237</link>
			<description><![CDATA[<p>@fsmithred - On your no-dbus system, are you able to create a system tray icon using yad? What happens when you run <span class="bbc">$ yad --notification --image=dialog-ok --text=&quot;testing&quot; &amp;</span>?</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Tue, 15 Oct 2019 14:45:25 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18237#p18237</guid>
		</item>
		<item>
			<title><![CDATA[Re: yad without dbus? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18236#p18236</link>
			<description><![CDATA[<p>I use fluxbox, which does not require dbus. However, I do have dbus installed because I sometimes use Thunderbird and Filezilla, which require it.</p><p>Notice how dbus is not running before yad, but rears its ugly head when yad creates a system tray icon:</p><div class="codebox"><pre><code>bruno@box:~$ pgrep -fa dbus
bruno@box:~$ yad --notification --image=dialog-ok --text=&quot;testing&quot; &amp;
bruno@box:~$ pgrep -fa dbus
8504 dbus-launch --autolaunch b67e35c57ed5e6cf8ef0f5b65da5d7b3 --binary-syntax --close-stderr
8505 /usr/local/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
8511 /usr/local/bin/dbus-daemon --config-file=/usr/local/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Tue, 15 Oct 2019 14:34:21 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18236#p18236</guid>
		</item>
		<item>
			<title><![CDATA[Re: yad without dbus? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18235#p18235</link>
			<description><![CDATA[<p>I have yad installed and working in a no-dbus system. (live iso)&#160; There are some dbus libs installed, but not dbus itself. Yad&#039;s deps don&#039;t include any dbus packages. What are you seeing?</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 15 Oct 2019 14:24:31 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18235#p18235</guid>
		</item>
		<item>
			<title><![CDATA[yad without dbus? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=18232#p18232</link>
			<description><![CDATA[<p>I&#039;ve noticed that <span class="bbc">yad</span> starts dbus. I&#039;m not happy about it because none of the other applications I use require dbus, and yad is very handy.</p><p>Is there a way to use yad without starting dbus? If not, are you aware of an alternative to yad? I basically only use it to create system tray icons with tooltips.</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Tue, 15 Oct 2019 12:29:25 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=18232#p18232</guid>
		</item>
	</channel>
</rss>
