git clone https://@opensourceprojects.eu/git/p/recoll1/code recoll1-code



File Date Author Commit
debian 2013-11-25 Jean-Francois Dockes Jean-Francois Dockes [29efa8] none
COPYING 2013-11-06 Jean-Francois Dockes Jean-Francois Dockes [72a5f2] Recoll Lens becomes a Scope for Ubuntu 13.10
MANIFEST.in 2013-11-06 Jean-Francois Dockes Jean-Francois Dockes [72a5f2] Recoll Lens becomes a Scope for Ubuntu 13.10
README 2013-11-07 Jean-Francois Dockes Jean-Francois Dockes [9b172b] query: fix bug with computation of date query: ...
__init__.py 2013-11-07 Jean-Francois Dockes Jean-Francois Dockes [97f85d] recoll scope checkpoint
excludefile 2013-11-10 Jean-Francois Dockes Jean-Francois Dockes [e5e3c9] unity scope packaging
mkdist.sh 2013-11-11 Jean-Francois Dockes Jean-Francois Dockes [a1f58f] ubuntu packaging changes
recoll.scope 2013-11-07 Jean-Francois Dockes Jean-Francois Dockes [9cbd7f] unity smart scope begins to work standalone
scratch.txt 2013-11-06 Jean-Francois Dockes Jean-Francois Dockes [72a5f2] Recoll Lens becomes a Scope for Ubuntu 13.10
service-recoll.svg 2013-11-07 Jean-Francois Dockes Jean-Francois Dockes [97f85d] recoll scope checkpoint
setup.py 2013-11-07 Jean-Francois Dockes Jean-Francois Dockes [9cbd7f] unity smart scope begins to work standalone
unity-scope-recoll.application.in 2013-11-06 Jean-Francois Dockes Jean-Francois Dockes [72a5f2] Recoll Lens becomes a Scope for Ubuntu 13.10
unity-scope-recoll.desktop 2013-11-06 Jean-Francois Dockes Jean-Francois Dockes [72a5f2] Recoll Lens becomes a Scope for Ubuntu 13.10
unity-scope-recoll.png 2013-11-06 Jean-Francois Dockes Jean-Francois Dockes [72a5f2] Recoll Lens becomes a Scope for Ubuntu 13.10
unity-scope-recoll.service 2013-11-06 Jean-Francois Dockes Jean-Francois Dockes [72a5f2] Recoll Lens becomes a Scope for Ubuntu 13.10
unity_recoll_daemon.py 2013-11-20 Jean-Francois Dockes Jean-Francois Dockes [7ae659] Unity Scope: allow adjusting the max results co...

Read Me

Sample Unity scope Daemon written in Python
-------------------------------------------

Dependencies
------------

gir1.2-unity-5.0
gir1.2-dee-1.0
recoll

Trying out the scope
--------------------

You can install the scope like this:

  python setup.py install --prefix=/usr

Then run the daemon with:

  ./unity_recoll_daemon.py

And from another terminal restart Unity like this:

  setsid unity

[the setsid ^^ is a small trick to detach the unity process from the terminal
 so you can close it if you want. A bit like 'unity &' just better ;-) ]

Past this step you can freely Control-C the scope daemon to stop it,
do some changes, and restart it. No need to restart Unity, it will find
the newly started daemon automatically.

Getting rid of the scope
------------------------

Just remove the gdrive.scope file. For example, by issuing:

  sudo rm /usr/share/unity/scopes/files/recoll.scope

With that done, restart Unity once again with 'setsid unity' and all should
be back to normal.