Kartik Mistry writes:
 > forwarded 636221 Jean-Francois Dockes <j...@dockes.org>
 > thanks
 > 
 > On Wed, Aug 3, 2011 at 8:21 PM, Jean-Francois Dockes <j...@dockes.org> wrote:
 > > Just for the record, and not to leave this on a wrong understanding. Recoll
 > > is designed to look for xdg-open in the PATH and only use its own copy as a
 > > last resort, and in general, this is what it does. I don't know why this
 > > doesn't work for you, this is either a recoll bug (which I would like to
 > > fix), or a misconfiguration issue.
 > 
 > Have we looked into this in recent version of recoll?

I looked at the code in 1.13, 1.14, 1.15, 1.16 and this was fixed in recoll
1.14.

My apologies, I had not noticed that this bug report was about 1.13 at the
time, always thinking about the latest. I can definitely confirm it by
looking at the code.

I think that modifying the code for such an old version is not a good
idea. I have two possible workarounds which will work as long as xdg-utils
is installed.  I guess that adding a depend on xdg-utils would be for free
as it is most probably installed with any desktop.

- Either remove /usr/share/recoll/filters/xdg-open after install

- Or patch the sampleconf/mimeview file (which get
  installed to /usr/local/share/recoll/examples). Change xdg-open to
  /usr/bin/xdg-open :

--- a/src/sampleconf/mimeview   Mon Oct 10 10:23:41 2011 +0200
+++ b/src/sampleconf/mimeview   Fri Nov 11 09:11:53 2011 +0100
@@ -6,7 +6,7 @@
 
 [view]
 # Pseudo entry used if the 'use desktop' preference is set in the GUI
-application/x-all = xdg-open %f
+application/x-all = /usr/bin/xdg-open %f
 
 application/x-kword = kword %f
 application/x-abiword = abiword %f


Cheers,

jf



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to