<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.xfce.org/extern.php?action=feed&amp;tid=7164&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Xfce Forums / Sending dbus message to Thunar]]></title>
		<link>http://forum.xfce.org/viewtopic.php?id=7164</link>
		<description><![CDATA[The most recent posts in Sending dbus message to Thunar.]]></description>
		<lastBuildDate>Tue, 03 Jul 2012 21:56:27 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Sending dbus message to Thunar]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=26866#p26866</link>
			<description><![CDATA[<p>PLEASE PLEASE HELP</p>]]></description>
			<author><![CDATA[dummy@example.com (bitches_brew)]]></author>
			<pubDate>Tue, 03 Jul 2012 21:56:27 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=26866#p26866</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending dbus message to Thunar]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=26731#p26731</link>
			<description><![CDATA[<p>hello</p><p>I am also intrested in this topic.<br />I use mc (midnight commander) as my main file manager. It have one disadvantage: copying files is in the same thread/window. When I copy/move bigger files, my file manager is frozen...</p><p>I would love to have a script that calls thunar via dbus to copy/move/delete files...</p>]]></description>
			<author><![CDATA[dummy@example.com (bitches_brew)]]></author>
			<pubDate>Sun, 17 Jun 2012 15:33:57 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=26731#p26731</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending dbus message to Thunar]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=26599#p26599</link>
			<description><![CDATA[<p>I know it seems silly.</p><p>On GNOME installation I use udisk and gvfs. <br />On my XFCE instalation I tried a little experiment to go without these with a static desktop of mine</p><p>E.g I created my own desktop files<br />$ ls Desktop/*.desktop<br />CD-ROM.desktop&#160; Computer.desktop&#160; Floppy.desktop&#160; Trash.desktop&#160; USB.desktop</p><p>For my trash I implemented a simplified function, perhaps even a buggy one,<br />#!/bin/sh<br />if [ -n &quot;$1&quot; ]; then <br />&#160; &#160; &#160; &#160; for f in &quot;$@&quot;; do<br />&#160; &#160; &#160; &#160; echo $f<br />&#160; &#160; &#160; &#160; if [ &quot;$(stat -c%m &quot;$f&quot;)&quot; = &quot;$(stat -c%m ~/)&quot; ]; then<br />&#160; &#160; &#160; &#160; &#160; echo same file system, moving to trash<br />&#160; &#160; &#160; &#160; &#160; mv &quot;$f&quot; ~/.trash/ <br />&#160; &#160; &#160; &#160; &#160; [ -e ~/Desktop/.tmp ] || \<br />&#160; &#160; &#160; &#160; &#160; &#160; sed s/Icon=xfce-trash_empty/Icon=xfce-trash_full/ \<br />&#160; &#160; &#160; &#160; &#160; &#160; ~/Desktop/Trash.desktop &gt; ~/Desktop/.tmp<br />&#160; &#160; &#160; &#160; else<br />&#160; &#160; &#160; &#160; &#160; echo different file system, removing in place<br />&#160; &#160; &#160; &#160; &#160; rm -r &quot;$f&quot;<br />&#160; &#160; &#160; &#160; fi<br />&#160; &#160; &#160; &#160; done<br />&#160; &#160; &#160; &#160; [ -e ~/Desktop/.tmp ] &amp;&amp; mv ~/Desktop/.tmp ~/Desktop/Trash.desktop<br />else thunar ~/.trash<br />fi</p><p>Instead of using mv and rm in the above shell script, I thought it would be nice to call back thunar possibly using dbus messages.</p>]]></description>
			<author><![CDATA[dummy@example.com (tcat)]]></author>
			<pubDate>Fri, 08 Jun 2012 17:20:14 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=26599#p26599</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sending dbus message to Thunar]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=26445#p26445</link>
			<description><![CDATA[<p>But why would you want to use thunar for this and not cp, rm and mv?</p>]]></description>
			<author><![CDATA[dummy@example.com (demosthenese)]]></author>
			<pubDate>Tue, 29 May 2012 10:04:14 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=26445#p26445</guid>
		</item>
		<item>
			<title><![CDATA[Sending dbus message to Thunar]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=26425#p26425</link>
			<description><![CDATA[<p>Dear All,</p><p>Is it possible to send a dbus message&#160; to Thunar?<br />I mean if a user can send a message such as copy, delete, move file from a shell script.</p><p>E.g.</p><p>$ dbus-send dbus-send \<br />&#160; &#160; --dest=org.xfce.Thunar \<br />&#160; &#160; &#160;/my/file/name \<br />&#160; &#160; &#160;org.xfce.FileManager.delete<br />....</p><p>If so, where do I find the docs on the supported interface?</p><p>Many thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (tcat)]]></author>
			<pubDate>Sun, 27 May 2012 17:02:24 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=26425#p26425</guid>
		</item>
	</channel>
</rss>
