<?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: Gnome: 2 questions that go unanswered</title>
	<atom:link href="http://therning.org/magnus/archives/795/feed" rel="self" type="application/rss+xml" />
	<link>http://therning.org/magnus/archives/795</link>
	<description>Incoherent mumblings</description>
	<lastBuildDate>Wed, 08 Aug 2012 00:21:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Quentin Moser</title>
		<link>http://therning.org/magnus/archives/795/comment-page-1#comment-194194</link>
		<dc:creator>Quentin Moser</dc:creator>
		<pubDate>Sat, 28 Nov 2009 12:21:04 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=795#comment-194194</guid>
		<description><![CDATA[&lt;p&gt;For your first question, would something like this work?&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;#!/bin/sh

su -c &#039;DISPLAY=:0 [mycommand]&#039; [myuser]
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;There&#039;s probably also an obscure way of finding &quot;The user currently logged on :0&quot; to make it cleaner, but I honestly have no idea.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>For your first question, would something like this work?</p>

<pre><code>#!/bin/sh

su -c 'DISPLAY=:0 [mycommand]' [myuser]
</code></pre>

<p>There&#8217;s probably also an obscure way of finding &#8220;The user currently logged on :0&#8243; to make it cleaner, but I honestly have no idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lilac</title>
		<link>http://therning.org/magnus/archives/795/comment-page-1#comment-194171</link>
		<dc:creator>lilac</dc:creator>
		<pubDate>Fri, 27 Nov 2009 18:39:51 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=795#comment-194171</guid>
		<description><![CDATA[&lt;p&gt;1: NM runs a DBUS service, which broadcasts an event when the network comes up. You should be able to write a program which runs at desktop startup, listens for that event, and does whatever you want when it happens. See:&lt;/p&gt;

&lt;p&gt;http://people.redhat.com/dcbw/NetworkManager/NetworkManager%20DBUS%20API.txt&lt;/p&gt;

&lt;p&gt;I think the DeviceNowActive signal is the one you want.&lt;/p&gt;
]]></description>
		<content:encoded><![CDATA[<p>1: NM runs a DBUS service, which broadcasts an event when the network comes up. You should be able to write a program which runs at desktop startup, listens for that event, and does whatever you want when it happens. See:</p>

<p><a href="http://people.redhat.com/dcbw/NetworkManager/NetworkManager%20DBUS%20API.txt" rel="nofollow">http://people.redhat.com/dcbw/NetworkManager/NetworkManager%20DBUS%20API.txt</a></p>

<p>I think the DeviceNowActive signal is the one you want.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
