a/src/desktop/unity-scope-recoll/unity_recoll_daemon.py b/src/desktop/unity-scope-recoll/unity_recoll_daemon.py
...
...
254
254
255
  def do_activate(self, result, metadata, id):
255
  def do_activate(self, result, metadata, id):
256
    print("RecollScope: do_activate. id [%s] uri [%s]" % (id, result.uri), 
256
    print("RecollScope: do_activate. id [%s] uri [%s]" % (id, result.uri), 
257
          file=sys.stderr)
257
          file=sys.stderr)
258
    if id == 'show':
258
    if id == 'show':
259
      filename = result.uri
259
      os.system("nautilus '%s'" % str(result.uri))
260
      dirname = os.path.dirname(filename)
261
      os.system("xdg-open '%s'" % str(dirname))
262
      return Unity.ActivationResponse(handled=Unity.HandledType.HIDE_DASH,
260
      return Unity.ActivationResponse(handled=Unity.HandledType.HIDE_DASH,
263
                                      goto_uri=None)
261
                                      goto_uri=None)
264
    else:
262
    else:
265
      uri = result.uri
263
      uri = result.uri
266
      # Pass all uri without fragments to the desktop handler
264
      # Pass all uri without fragments to the desktop handler