Skip to content

Instantly share code, notes, and snippets.

@h3xxx
Last active December 27, 2015 18:39
Show Gist options
  • Save h3xxx/7371310 to your computer and use it in GitHub Desktop.
Save h3xxx/7371310 to your computer and use it in GitHub Desktop.
uninstall Ubuntu Lenses shopping script from https://fixubuntu.com/
gsettings set com.canonical.Unity.Lenses remote-content-search none;
if [ `cat /etc/lsb-release | grep DISTRIB_RELEASE | cut -d"=" -f2` \< '13.10' ]; then sudo apt-get remove -y unity-lens-shopping; else 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']"; fi;
sudo sh -c 'echo "127.0.0.1 productsearch.ubuntu.com" >> /etc/hosts';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment