Ubuntu – assign custom keyboard shortcuts to custom (non-default) unity lenses

lensesshortcut-keysunity

I installed the recoller lense ( http://www.webupd8.org/2012/03/recoll-lens-full-text-search-unity-lens.html ) and now finally have fulltext search in dash.

File lense is opened with super+F, music with super+M and so on. Can (and how can ) I assing such a shortuct to this new lense?

Best Answer

It appears that lens package is installing using a pre-existing shortcut, a, why I don't know. (a bug should be filed, at least for 12.04

To check & edit, make sure you use something not in use, here I used l

sudo -H gedit /usr/share/unity/lenses/recoll/recoll.lens

change Shortcut=a to a letter of your choice

Noting again that this is what I found on 12.04