<?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=7769&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Xfce Forums / File associations and command line options and multiple selections]]></title>
		<link>http://forum.xfce.org/viewtopic.php?id=7769</link>
		<description><![CDATA[The most recent posts in File associations and command line options and multiple selections.]]></description>
		<lastBuildDate>Wed, 23 Jan 2013 19:24:54 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: File associations and command line options and multiple selections]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=28644#p28644</link>
			<description><![CDATA[<p>ok, now it&#039;s working again, but I can&#039;t figure out which solution fixed it, because I can&#039;t see which command line the &#039;imagej&#039; I&#039;m using right now is launching.&#160; I&#039;ve got 4 entries in the open with list titled &#039;imagej&#039; and I have no idea what is launching what.&#160; How do I delete the unwanted &#039;imagej&#039; entries, and how do I determine what command line the working entry is calling, so I can use the same solution for future apps?</p>]]></description>
			<author><![CDATA[dummy@example.com (Hatta)]]></author>
			<pubDate>Wed, 23 Jan 2013 19:24:54 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=28644#p28644</guid>
		</item>
		<item>
			<title><![CDATA[Re: File associations and command line options and multiple selections]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=28643#p28643</link>
			<description><![CDATA[<p>Also, my list of file associations is getting crowded with failed attempts to make this work.&#160; How do I delete associations?&#160; If I right click on them in the &quot;open with&quot; dialog, I see an option to &quot;remove launcher&quot; but it&#039;s greyed out.&#160; WTF?</p>]]></description>
			<author><![CDATA[dummy@example.com (Hatta)]]></author>
			<pubDate>Wed, 23 Jan 2013 19:18:13 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=28643#p28643</guid>
		</item>
		<item>
			<title><![CDATA[Re: File associations and command line options and multiple selections]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=28642#p28642</link>
			<description><![CDATA[<p>Crap, no it&#039;s not working as I thought it would.&#160; How do I make this work?&#160; I can&#039;t be the only person who wants to pass multiple files to one application from Thunar?&#160; Why doesn&#039;t this &quot;just work&quot;?</p>]]></description>
			<author><![CDATA[dummy@example.com (Hatta)]]></author>
			<pubDate>Wed, 23 Jan 2013 19:14:04 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=28642#p28642</guid>
		</item>
		<item>
			<title><![CDATA[Re: File associations and command line options and multiple selections]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=28641#p28641</link>
			<description><![CDATA[<p>Ah, I did it.&#160; Someone on IRC helped me find the .desktop file where I could edit the command line for ImageJ.&#160; &#160;Why aren&#039;t these files mentioned in XFCE&#039;s documentation?</p>]]></description>
			<author><![CDATA[dummy@example.com (Hatta)]]></author>
			<pubDate>Wed, 23 Jan 2013 18:47:21 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=28641#p28641</guid>
		</item>
		<item>
			<title><![CDATA[File associations and command line options and multiple selections]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=28640#p28640</link>
			<description><![CDATA[<p>I want to edit one of my file associations to add a command line.&#160; All I want to do is run &#039;imagej -o &lt;files&gt;&#039; instead of just &#039;imagej &lt;files&gt; when I select Open With ImageJ.&#160; Where is the file where this association is stored?&#160; If I can edit that and add &#039;-o&#039; to the command line everything will be awesome.</p><p>I tried using &quot;open with other application&quot; and creating a &quot;custom command&quot; that runs &#039;imagej -o&#039;.&#160; It created an association, but that association is underneath the &quot;open with other application&quot; menu.&#160; The problem there is that the &quot;open with other application&quot; menu is greyed out when I select multiple files.&#160; </p><p>The fundamental problem is that Thunar executes a new instance of ImageJ for each selection.&#160; The correct behavior is for it to pass all the files to the associated application on one command line.&#160; &#039;imagej file1.jpg file2.jpg file3.jpg&#039; etc.&#160; The -o option for imagej works around this, by starting a new instance of imagej, which locates the preexisting instance and sends the file to the prexisting instance.&#160; </p><p>Either getting the -o option into my file association, or configuring Thunar to correctly launch multiple files would solve my problem.</p>]]></description>
			<author><![CDATA[dummy@example.com (Hatta)]]></author>
			<pubDate>Wed, 23 Jan 2013 18:21:43 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=28640#p28640</guid>
		</item>
	</channel>
</rss>
