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 disable Amazon search results in the Unity dash?

share|improve this question
13  
Why does Ubuntu contain such commercial spam anyway? –  Erik Allik Feb 27 at 0:11
    
Do you have any better ideas for how they can make money out of Ubuntu? –  Damon Smith Jul 1 at 5:17
    
@Damon Smith : They don't have to! It's open source. –  empedokles Jul 28 at 14:27
2  
They do have to, Canonical pay developers to do work. Perhaps you're thinking of Debian? –  Damon Smith Jul 29 at 4:36

10 Answers 10

up vote 173 down vote accepted

Click on the Ubuntu button, search for "Privacy" and then turn off "Include online results" :

enter image description here

You can also remove it entirely by clicking on this button, then the orange "Available on the Ubuntu Software Center" button and selecting uninstall:

Remove via the software center

or via the command line

sudo apt-get remove unity-lens-shopping

You then need to log out and back in.

Another option would be to move the lens entirely out of the home dash and make it a standalone lens:

share|improve this answer
    
please make sure that u mention that this doesn't work for the latest version of ubuntu source webupd8.org/2013/10/how-to-disable-amazon-shopping.html –  dhanvi 22 hours ago

If you don't want online shopping results in your dash but there are times when you want to search the Internet from your queries (for example, while using the Askubuntu scope to the help lens), you may not wish to disable the "Include online search results" item. In that case you may wish to remove particular sources.

For Ubuntu 13.04 and Earlier

Home Lens

For the new dash home lens (default) queries that are forwarded through Canonical to Amazon uninstall unity-lens-shoppingInstall unity-lens-shopping.

Either click on the bag icons above and click the Remove button on the right in the Software Center window that appears, or use an alternative of the following command line after bringing up a terminal with Alt+Ctrl+T.

sudo apt-get remove unity-lens-shopping

Or, launch Ubuntu Software Center, click Installed, expand Themes & Tweak, and scroll to the its end. You'll see Shopping lens for unity there (along with a lot of complaints).

Video Lens

For the already existing video lens lookup you can choose the source of searches by using the "Filter Results" item on the top right, and then selecting the sources you want by using the Sources drop down. Alternatively you can uninstall unity-scope-video-remoteInstall unity-scope-video-remote.

Either click on the bag icons above and click the Remove button on the right in the Software Center window that appears, or use the following command line after bringing up a terminal with Alt+Ctrl+T.

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

Music Lens

As in existing releases, online shopping for music in 12.10 can also go to the Ubuntu One Music Store. To remove that feature click on the bag button for unity-scope-musicstoresInstall unity-scope-musicstores and click on the Remove button on the right in the Ubuntu Software Center window that appears.

or enter the following command in a terminal:

sudo apt-get remove unity-scope-musicstores

For Ubuntu 13.10 and Later

(From http://www.webupd8.org/2013/10/how-to-disable-amazon-shopping.html)

Go to the Dash by Pressing the Super-A key combination. For PC hardware the Super key may be the one that has the somewhat familiar computer company logo on it.

Click on "Filter" on the upper right of the dash, and then on "Type" right below. Then click on Dash Plugins to display them.

By clicking on the plugins of interest on the left you can get a summary of each plugin, including the Amazon one. You can disable or enable them individually with the button that appears below the summary.

For enhanced privacy the source for this answer suggests the following list for consideration.

"Amazon, Ebay, Music Store, Popular Tracks Online, Skimlinks, Ubuntu One Music Search and Ubuntu Shop."

I would add the Ubuntu One Music Store, and Remote Videos as well.

There may be other plugins you don't care for as well, particularly since there are now a great number of scopes and many may forward your interests to sites you haven't vetted.

unity-lens-applicationsInstall unity-lens-applications must be installed for this approach to work.

Usually when you bring up the dash you start with the Home lens. You can adjust what is searched by altering the Filter settings on the upper right of the dash before you starting type your search term.

share|improve this answer
    
I've removed all of these pacakges using apt-get under 13.10 but search still gives me music store suggestions after reboot. –  Erik Allik Feb 28 at 17:49
1  
@ErikAllik, Thanks for bringing attention to the change in 13.10 Ubuntu. I've updated the answer for 13.10 and later. –  John S Gruber Mar 11 at 21:33

This has changed from previous versions where all you had to do was

sudo apt-get remove unity-lens-shopping

However that does not work with 13.10 (and presumably later versions when they are released).

Ubuntu 13.10 does not have the shopping lens any more but now has Smart Scopes instead.

To disable a dash plug-in, From the dash select filter results then "Dash plugins"

enter image description here

To disable a plugin, click on it and then click the "Disable" button. You can re-enable it later if you want.


You can also disable all these plugins from the command line with

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']"

Source here:How To Disable Amazon / Shopping Suggestions And Other Unity Scopes In Ubuntu 13.10


This stops the scope running but does not remove it from the dash

If you want to do this first unlock it from the launcher by right clicking it and selecting "unlock from launcher".

You will still be able to search for it in the dash but you can remove it from there too.

You need to run nautilus as root to do this See my answer to this question Why is gksu no longer installed by default in 13.04? for instructions on installing gksu or a workaround to run GUI apps as root.

You can now run the file manager with gksudo nautilus

Naviigate to /usr/share/applications find the file with the amazon logo and delete it.

Finally reboot and its gone for good.

share|improve this answer
    
So i can't remove Amazon app icon from dash ? I mean this icon link –  Okzei Oct 22 '13 at 19:05
    
Yes you can get rid of the icon too I've edited my post to explain how. –  Warren Hill Oct 22 '13 at 19:48
3  
The icon belongs to the package unity-webapps-common, which you can verify with 'dpkg -S /usr/share/applications/ubuntu-amazon-default.desktop'. Then uninstall that package rather than just removing the file. (sudo apt-get remove unity-webapps-common) –  Michael Kanis Jan 18 at 13:43
    
doesn't seem to have any effect on my Ubuntu 13.10. Patryk's answer contains some extra stuff though—these seem to have done the job. –  Erik Allik Feb 28 at 18:09

With Privacy Indicator you can quickly enable or disable online results:

Screenshot of Privacy Indicator

share|improve this answer
    
Tested, works in 14.04 –  That Brazilian Guy Jun 10 at 17:08

In addition to the other answers, you can also redirect the queries to another location by changing the URL it uses for the product search:

sudo -s
echo 'OFFERS_URI="https://localhost:0/"' >> /etc/environment

And then restart your session.

share|improve this answer

I am not sure about the implications of this solutions but after removing shopping lens from Ubuntu 13.10 and higher (presumably)

sudo apt-get remove -y unity-lens-shopping

and disabling the scopes

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']"

as well as disabling remote search (this way your searches won't be sent to some remote location)

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

you can also manually remove the link from dash ( please comment if this is the correct way or there is a better way of doing this )

sudo rm /usr/share/applications/ubuntu-amazon-default.desktop
share|improve this answer

IF you want to have a Ubuntu LiveCD without Amazon stuff there is a remastering script: http://www.helplinux.ru/wiki/en:kb:make-ubuntu-safe

share|improve this answer
    
Update: if you want to have a Ubuntu LiveCD with disabled online search results by default there is a new remastering script for this: helplinux.ru/wiki/en:kb:make-ubuntu-privacy-friendly –  giner Jan 12 at 1:43

This command lists all the scope files that can be disabled:

find /usr/share/unity/scopes/ -name \*.scope -printf "'%P',"|sed -es':/:-:g' -e's/,$//'

There are some scope files missing in the above command like 'code-manpages.scope', 'grapics-openclipart.scope', 'video-remote.scope', 'video-local.scope', 'help-yelp.scope', 'reference-zotero.scope'

share|improve this answer

In 14.04 LTS, I was able to uninstall the Amazon application by:

  1. opening Dash
  2. searching for "Amazon"
  3. right clicking the Amazon application icon
  4. selecting "Delete" from the application's description
share|improve this answer

All you need to do is open the GUI of your home folder, go to system and search amazon. You will then see all the amazon files on the computer. They will all have a lock icon on them, so to delete them you must go into your terminal enter sudo su, then enter you password. This makes you Root which will allow you to delete these files. From there you right click each amazon file find the directory they are located in. in terminal once root do cd (copy and paster the directory of the file's you want to delete) once you enter that directory do rm (that file). all the information to do this is in the GUI when you right click each file.

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.