Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Recently, I discovered that, Unity lenses can access Internet to fetch information. Such as Video lens. But I want to disable that feature, since It is no use to me.

Can I disable access to Internet by Unity Video lens? If yes, How?

share|improve this question

4 Answers 4

up vote 7 down vote accepted

I have found a solution recently, though not very glorious enough, but it works.

Disable the file responsible for accessing Internet:

  • First Open a terminal, go to "/usr/lib/unity-scope-video-remote" by the below command:

    cd /usr/lib/unity-scope-video-remote
    
  • Disable the "unity-scope-video-remote" file there by this command below:

    sudo mv unity-scope-video-remote unity-scope-video-remote.bak
    
  • Logout and Login again, to see that the video lens is unable to access the Internet.

If you want to re-enable the feature:

  • Just do the opposite of the above process, Go to "/usr/lib/unity-scope-video-remote" by the command:

    cd /usr/lib/unity-scope-video-remote
    
  • Re-enable the file by following command:

    sudo mv unity-scope-video-remote.bak unity-scope-video-remote
    
  • Logout and Login again, to see the effect

13.04 (64-bit)

  • In 13.04 the file is in a different directory. Using bash's brace expansion, the command is:

    sudo mv /usr/lib/x86_64-linux-gnu/unity-lens-video/unity-scope-video-remote{,.bak}
    
  • Re-enable the file by following command:

    sudo mv /usr/lib/x86_64-linux-gnu/unity-lens-video/unity-scope-video-remote{.bak,}
    
  • As an alternative to logging in and out just press Alt+F2 and type unity --replace

Will it disable the local video searching?

No, In this procedure, the local videos will always be visible. So, no worry !

share|improve this answer

How to deactivate the Online Videos scope

This is as simple as removing the unity-scope-video-remote package, whose only function is to provide online video "recommendations" (see below) and searches. Open the terminal with Ctrl-Alt-T, and type:

sudo apt-get --purge remove unity-scope-video-remote

Then logout once and log back in; online videos should be gone.

Right now, Online Videos/Recommendations has NO relation to you

  • Looking at the source code for this package shows that it eventually intends to use the Zeitgeist service database to come up with "recommendations"; Zeitgeist logs events, history, etc. and also enables the search-as-you-type in the dash feature. Here's a more detailed article.
  • But as of Ubuntu 12.04, this isn't functional and the "recommendations" have no relation to you, your activities or your habits; they are simply sent from the Ubuntu video search server, either alphabetically or randomly:

    def update_recommendations(self):
        """Query the server for 'recommendations'.
    In v0, that means simply do an empty search.
share|improve this answer

For 12.10

In 12.10, disabling online video results in Dash is made easier. Just search for Privacy in Dash and open this window.

Then turn off the option for Include online search results.

share|improve this answer
    
I still see requests going to videosearch.ubuntu.com ... every minute or so, even when I'm not using the Dash at all. –  nickf Oct 31 '12 at 22:58

I am running 13.04 and I realized that my CPU was running at 100% (it seems to me that this was new). The "top" command showed that it was the unity-scope-video-remote that was consuming all the CPU as shown by the screenshot...

I removed the package (as indicated here above), but I wonder why was this scope acting so, even more since the online search was disabled...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.