a/unity_recoll_daemon.py b/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
      os.system("nautilus '%s'" % str(result.uri))
259
      os.system("xdg-open '%s'" % str(result.uri))
260
      return Unity.ActivationResponse(handled=Unity.HandledType.HIDE_DASH,
260
      return Unity.ActivationResponse(handled=Unity.HandledType.HIDE_DASH,
261
                                      goto_uri=None)
261
                                      goto_uri=None)
262
    else:
262
    else:
263
      uri = result.uri
263
      uri = result.uri
264
      # Pass all uri without fragments to the desktop handler
264
      # Pass all uri without fragments to the desktop handler