I'm using Ubuntu 12.10 64-bit with Unity.
I've recently installed a few lenses, on top of the ones that ship with the distro. I also installed the rottentomatoes scope (unity-scope-torrentomatoes) from scope-packagers.
Thing is - rottentomatoes shows its query results in the main (global) lens, and I want it to reside in the "videos" lens. I belive this is because there was an update to the videos lens from 11.10 to 12.10, and rottentomatoes scope has yet to be updated.
I've done the following:
1. In /usr/lib/unity-scope-rottentomatoes/unity-scope-rottentomatoes:
2. In /usr/share/dbus-1/services/unity-scope-rottentomatoes.service
BUS_NAME = "net.launchpad.scope.videos.rottentomatoes"
def __init__ (self):
# The path for the Lens *must* also match the one in our .lens file
self.scope = Unity.Scope.new ("/net/launchpad/scope/videos/rottentomatoes")
self.scope.search_in_global = False
svg_dir = "/usr/share/icons/unity-icon-theme/places/svg/"
def on_search_changed (self, scope, search, search_type, *_):
3. Deleted /usr/share/unity/lenses/utilities/rottentomatoes.scope
4. Added /usr/share/unity/lenses/video/rottentomatoes.scope:
And it still doesn't show up in "videos" lens...
What's more annoying - it still shows up in the global search!! (even though I disable search_in_global)