open
nobody
None
2019-01-26
2019-01-09
Anonymous
No

I would love to use recoll from the GNOME Shell (pressing SUPER key to show the overlay for the native search of my linux OS). Is there any GNOME Shell Extension available - or hope of one being developed?

Discussion

  • medoc
    medoc
    2019-01-09

    Had a quick look and it appears that extensions are coded in Javascript, which I don't want to learn.

    I guess that it should not be too hard to have a bit of javascript execute the recollq command line search with appropriate options, and process the output for display (recollq is designed to allow this to be easy), but somebody else will have to do it :)

     
  • Sebastian
    Sebastian
    2019-01-11

    fair point. I dug through the whole extension stuff over the last days. I'll try to implement it myself :-)

     
  • medoc
    medoc
    2019-01-11

    If you need any help about recollq, or even changes to it, please don't hesitate to ask !
    You probably want to use the -F option to avoid any problem in parsing the output (it prints the values as base64 fields).
    Also, obviously, -n for slicing.
    This could be a very valuable extension !
    Why not Tracker by the way ?

     
  • medoc
    medoc
    2019-01-26

    I gave it a try, but it's not quite there yet :)

    There is an obvious typo in base64.js: search for faromCharCode (instead of fromCharCode).

    Also I think that you need to implement getSubsearchResultSet()
    As it is recoll does not appear to be always called with the final state of the user entry (e.g it's called with recol when the entry is recoll).

    I gave it a try, but it's too much for me to deal with javascript + the ever changing interface which means that it's difficult to find example code which is really consistent with the current state of the interface (I gave a try to the tracker search provider on github, with not much luck...).

     

Cancel   Add attachment