From https://fixubuntu.com/
This is totally a copy of the link above, all credit goes to fixubuntu.com, I’m merely putting it here for my own keepings. This is applicable for ubuntu 13.04+
Copy and Paste in Terminal
gsettings set com.canonical.Unity.Lenses remote-content-search none; if [ `cat /etc/lsb-release | grep DISTRIB_RELEASE | cut -d”=” -f2` \> /etc/hosts’;
What it does:
settings set com.canonical.Unity.Lenses remote-content-search none |
Turns off “Remote Search”, so search terms in Dash don’t get sent to the internet |
gsettings set com.canonical.Unity.Lenses disabled-scopes "['more_suggestions-amazon.scope', 'more_suggestions-u1ms.scope', 'more_suggestions-populartracks.scope', 'music-musicstore.scope', 'more_suggestions-ebay.scope', 'more_suggestions-ubuntushop.scope', 'more_suggestions-skimlinks.scope']" |
Turns off other remote Dash scopes, just in case (for Ubuntu 13.10 and newer) |
sudo apt-get remove -y unity-lens-shopping |
Uninstalls Amazon ads built-in to Ubuntu (for Ubuntu 13.04 and older) |
sudo sh -c 'echo "127.0.0.1 productsearch.ubuntu.com" >> /etc/hosts' |
Blocks connections to Ubuntu’s ad server, just in case |