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.

How can I change this setting from a Bash script?

System Settings ▸ Privacy ▸ Search Results ▸ When searching in the Dash: Include online search results

My plan is to enable it only on certain network connections.

share|improve this question

1 Answer 1

up vote 14 down vote accepted

You can use dconf-editor to change this setting. It's under:

com -> canonical -> unity -> lenses  

and is called remote-content-search. As far as I know there are only two options none and all. When set to all the slider is set to "On" in system settings and when it is set to none the slider is at the "Off" position.

You can change this via the terminal using gsettings.

gsettings set com.canonical.Unity.Lenses remote-content-search all  

Will turn it on while:

gsettings set com.canonical.Unity.Lenses remote-content-search none

will set it to "Off".

Gsettings comes by default in Ubuntu and you can install dconf with:

sudo apt-get install dconf-tools  

You don't need dconf to use gsettings.

share|improve this answer
This option is no longer available as far as I can see. The lenses-options in dconf-editor are in desktop and they include "display available apps" and "display recent apps". However the dash has a setting "Filter results" in each of its panels (applications, documents, music and video), where you can specify where the informations comes from. In the Privacy-menu there is also no longer the section about search results.I very much dislike how things are turning out with Ubuntu and if it wasn't for the couple of huge applications that are maintained only for Ubuntu,I would have left if already. –  rbaleksandar Jan 6 '14 at 11:56
@rbaleksandar It's all still there for me... What version of Ubuntu are you running? –  Seth Jan 7 '14 at 19:30
12.04 LTS Maybe they have added this in a future release. My bad if this is true. :) –  rbaleksandar Jan 8 '14 at 20:24
@rbaleksandar According to all my research the online search results weren't introduced until 12.10. So you don't even have this feature yet ;) –  Seth Jan 8 '14 at 20:46
Are you sure? ;) Have you looked at the packages for 12.04? Because when I open Synaptic, I can see the following: unity-lense-askubuntu 1.0, unity-scope-musicstore 5.12.0, unity-lens-wikipedia 0.1, unity-scope-video-remote 0.3.5 etc. Since I disabled this online-thing a long time ago, it is no longer an issue. However I do remember getting music-results from online shops (never bothered to look which ones but it is OK to assume it was the Ubuntu One Music Store) in a third row at the bottom of the music-dash-section. That and the fact I have a bunch of online options in "Filter results". –  rbaleksandar Jan 10 '14 at 3:42

Your Answer


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.