Results 1 to 4 of 4

Thread: unity: rottentomatoes scope to put inside "videos" lens

  1. #1
    Join Date
    Jun 2011
    Beans
    10
    Distro
    Ubuntu 14.04 Trusty Tahr

    unity: rottentomatoes scope to put inside "videos" lens

    Hello all,

    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:
    Code:
    BUS_NAME = "net.launchpad.scope.videos.rottentomatoes"
    
    class Daemon:
    
        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
            self.scope.connect("search-changed", self.on_search_changed)
            svg_dir = "/usr/share/icons/unity-icon-theme/places/svg/"
            self.scope.export()
            print "babar"
    
        def on_search_changed (self, scope, search, search_type, *_):
            ....
            ....
    2. In /usr/share/dbus-1/services/unity-scope-rottentomatoes.service
    Code:
    [D-BUS Service]
    Name=net.launchpad.scope.videos.rottentomatoes
    Exec=/usr/lib/unity-scope-rottentomatoes/unity-scope-rottentomatoes
    3. Deleted /usr/share/unity/lenses/utilities/rottentomatoes.scope

    4. Added /usr/share/unity/lenses/video/rottentomatoes.scope:
    Code:
    [Scope]
    DBusName=net.launchpad.scope.videos.rottentomatoes
    DBusPath=/net/launchpad/scope/videos/rottentomatoes
    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)
    What's missing??
    Last edited by PhartSmellah; October 30th, 2012 at 05:51 PM.

  2. #2
    Join Date
    Jun 2011
    Beans
    10
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: unity: rottentomatoes scope to put inside "videos" lens

    bump...
    really? no one?

  3. #3
    Join Date
    Jun 2011
    Beans
    10
    Distro
    Ubuntu 14.04 Trusty Tahr

    Angry Re: unity: rottentomatoes scope to put inside "videos" lens

    bump

  4. #4
    Join Date
    Jun 2011
    Beans
    10
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: unity: rottentomatoes scope to put inside "videos" lens

    Bump

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •