<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP, Mumbles (Growl), and DBus: Sweeet</title>
	<atom:link href="http://www.toosweettobesour.com/2009/02/13/php-mumbles-growl-and-dbus-sweeet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.toosweettobesour.com/2009/02/13/php-mumbles-growl-and-dbus-sweeet/</link>
	<description>Far Too Sweet To Be Sour</description>
	<lastBuildDate>Thu, 22 Dec 2011 08:44:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: tester</title>
		<link>http://www.toosweettobesour.com/2009/02/13/php-mumbles-growl-and-dbus-sweeet/comment-page-1/#comment-2444</link>
		<dc:creator>tester</dc:creator>
		<pubDate>Sat, 10 Sep 2011 02:12:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.toosweettobesour.com/?p=372#comment-2444</guid>
		<description>my problems is when I execute the script.

when I try to run it in shell (php Daniel-Dbus.php) it return either the error message:

PHP Fatal error:  Call to undefined function dbus_bus_get() in /var/www/Daniel-Dbus.php on line 7

and when I try to run it via a web browser it return either the error message:

Warning: dbus_bus_get(): failed to create dbus connection object [//bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed. ] in /var/www/Daniel-Dbus.php on line 7 Fatal error: Call to a member function send() on a non-object in /var/www/Daniel-Dbus.php on line 17</description>
		<content:encoded><![CDATA[<p>my problems is when I execute the script.</p>
<p>when I try to run it in shell (php Daniel-Dbus.php) it return either the error message:</p>
<p>PHP Fatal error:  Call to undefined function dbus_bus_get() in /var/www/Daniel-Dbus.php on line 7</p>
<p>and when I try to run it via a web browser it return either the error message:</p>
<p>Warning: dbus_bus_get(): failed to create dbus connection object [//bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed. ] in /var/www/Daniel-Dbus.php on line 7 Fatal error: Call to a member function send() on a non-object in /var/www/Daniel-Dbus.php on line 17</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diego</title>
		<link>http://www.toosweettobesour.com/2009/02/13/php-mumbles-growl-and-dbus-sweeet/comment-page-1/#comment-2440</link>
		<dc:creator>Diego</dc:creator>
		<pubDate>Mon, 15 Aug 2011 14:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.toosweettobesour.com/?p=372#comment-2440</guid>
		<description>Suckz</description>
		<content:encoded><![CDATA[<p>Suckz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Decker</title>
		<link>http://www.toosweettobesour.com/2009/02/13/php-mumbles-growl-and-dbus-sweeet/comment-page-1/#comment-2216</link>
		<dc:creator>Christian Decker</dc:creator>
		<pubDate>Wed, 30 Jun 2010 13:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.toosweettobesour.com/?p=372#comment-2216</guid>
		<description>I was wondering, since I found some tutorials online where you could hook up into a different session by finding the session id via SSH and then send commands into that session, would this work in a pure PHP version too?
The thing is that I try to remote control Rhythmbox and similar programs via a Web interface and obviously the Webserver runs as www-data and rhythmbox runs as my user.</description>
		<content:encoded><![CDATA[<p>I was wondering, since I found some tutorials online where you could hook up into a different session by finding the session id via SSH and then send commands into that session, would this work in a pure PHP version too?<br />
The thing is that I try to remote control Rhythmbox and similar programs via a Web interface and obviously the Webserver runs as www-data and rhythmbox runs as my user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: newsen</title>
		<link>http://www.toosweettobesour.com/2009/02/13/php-mumbles-growl-and-dbus-sweeet/comment-page-1/#comment-1906</link>
		<dc:creator>newsen</dc:creator>
		<pubDate>Wed, 23 Sep 2009 06:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.toosweettobesour.com/?p=372#comment-1906</guid>
		<description>Hi,
Thanks for the tutorial.I tried the same thing but in my error log i am getting &quot;Failed to auto launch D-Bus session :x11 initialisation failed.What could be the reason.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Thanks for the tutorial.I tried the same thing but in my error log i am getting &#8220;Failed to auto launch D-Bus session :x11 initialisation failed.What could be the reason.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Cousineau</title>
		<link>http://www.toosweettobesour.com/2009/02/13/php-mumbles-growl-and-dbus-sweeet/comment-page-1/#comment-600</link>
		<dc:creator>Daniel Cousineau</dc:creator>
		<pubDate>Tue, 17 Feb 2009 07:13:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.toosweettobesour.com/?p=372#comment-600</guid>
		<description>Thanks Woutc! I&#039;ll look more at the PHP DBus API but I didn&#039;t remember seeing anything that didn&#039;t expect a reply. I may just be blind.

And thanks for the correction, I&#039;ll update the post.</description>
		<content:encoded><![CDATA[<p>Thanks Woutc! I&#8217;ll look more at the PHP DBus API but I didn&#8217;t remember seeing anything that didn&#8217;t expect a reply. I may just be blind.</p>
<p>And thanks for the correction, I&#8217;ll update the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Woutc</title>
		<link>http://www.toosweettobesour.com/2009/02/13/php-mumbles-growl-and-dbus-sweeet/comment-page-1/#comment-599</link>
		<dc:creator>Woutc</dc:creator>
		<pubDate>Tue, 17 Feb 2009 07:11:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.toosweettobesour.com/?p=372#comment-599</guid>
		<description>Hello,

I am the specto developer and I just want to say that the purposes from mumbles and specto are different...specto is monitoring what happens outside your desktop, mumbles monitors what happens on your desktop (or in your network).

For the moment I am converting specto so it sends dbus signals and a specto plugin for mumbles is already finished. 

This means that mumbles will also be able to notify you from specto updates so we will have the ultimate notification system! (all mumbles plugins but also gmail, imap, pop3, rss, websites, processes, ports, greader, facebook,....).

About your error:
you use $dbus-&gt;sendWithReplyAndBlock($m, 10);
but you should use a method that does not expect a reply because mumbles does not send a reply.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I am the specto developer and I just want to say that the purposes from mumbles and specto are different&#8230;specto is monitoring what happens outside your desktop, mumbles monitors what happens on your desktop (or in your network).</p>
<p>For the moment I am converting specto so it sends dbus signals and a specto plugin for mumbles is already finished. </p>
<p>This means that mumbles will also be able to notify you from specto updates so we will have the ultimate notification system! (all mumbles plugins but also gmail, imap, pop3, rss, websites, processes, ports, greader, facebook,&#8230;.).</p>
<p>About your error:<br />
you use $dbus-&gt;sendWithReplyAndBlock($m, 10);<br />
but you should use a method that does not expect a reply because mumbles does not send a reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Cousineau</title>
		<link>http://www.toosweettobesour.com/2009/02/13/php-mumbles-growl-and-dbus-sweeet/comment-page-1/#comment-547</link>
		<dc:creator>Daniel Cousineau</dc:creator>
		<pubDate>Sat, 14 Feb 2009 18:52:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.toosweettobesour.com/?p=372#comment-547</guid>
		<description>Well, Windows doesn&#039;t use DBus natively and their tooltip notifications are a bit different. But if you were to write a system tray application that pops up Growl notifications and listens to DBus, this code would work transparently on Linux or Windows :P</description>
		<content:encoded><![CDATA[<p>Well, Windows doesn&#8217;t use DBus natively and their tooltip notifications are a bit different. But if you were to write a system tray application that pops up Growl notifications and listens to DBus, this code would work transparently on Linux or Windows :P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tower Of Power - PHP, Mumbles (Growl), and DBus: Sweeet</title>
		<link>http://www.toosweettobesour.com/2009/02/13/php-mumbles-growl-and-dbus-sweeet/comment-page-1/#comment-544</link>
		<dc:creator>Tower Of Power - PHP, Mumbles (Growl), and DBus: Sweeet</dc:creator>
		<pubDate>Sat, 14 Feb 2009 14:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.toosweettobesour.com/?p=372#comment-544</guid>
		<description>[...] Read the original: Tower Of Power - PHP, Mumbles (Growl), and DBus: Sweeet [...]</description>
		<content:encoded><![CDATA[<p>[...] Read the original: Tower Of Power &#8211; PHP, Mumbles (Growl), and DBus: Sweeet [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Kinder</title>
		<link>http://www.toosweettobesour.com/2009/02/13/php-mumbles-growl-and-dbus-sweeet/comment-page-1/#comment-523</link>
		<dc:creator>Adam Kinder</dc:creator>
		<pubDate>Fri, 13 Feb 2009 15:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.toosweettobesour.com/?p=372#comment-523</guid>
		<description>Very nice, good work.  I wonder if this could be engineered on the C side to work with Window&#039;s task bar notifications</description>
		<content:encoded><![CDATA[<p>Very nice, good work.  I wonder if this could be engineered on the C side to work with Window&#8217;s task bar notifications</p>
]]></content:encoded>
	</item>
</channel>
</rss>

