For 12.04
You can use dconf-editor
to rearrange the search results in Unity dash home.
Install dconf-editor by clicking on this big button:
![Install via the software center](https://hostmar.co/software-banner)
Or by running this command in a terminal:
sudo apt-get install dconf-tools
Then navigate to com
→ canonical
→ Unity
→ Dash
and change the setting for home-lens-ordering
to ['files.lens', 'applications.lens', 'music.lens']
.
![Dconf-tools](https://i.stack.imgur.com/NPLeX.png)
If you would like to get back to the default setting, you can hit the Set to Default button on the lower right corner.
This is what you get once you adjust the setting as above:
![Pretty Unity dash images](https://i.stack.imgur.com/Nv8tv.png)
Alternatively, if you don't like to hunt with your mouse, you can run this command in a terminal:
gsettings set com.canonical.Unity.Dash home-lens-ordering "['files.lens', 'applications.lens', 'music.lens']"
It will order the results in the way you prefer.
To reset the setting, you run this command:
gsettings reset com.canonical.Unity.Dash home-lens-ordering
First of all note that it's not just Amazon. It's a shopping lens, which can be used for numerous backend stores, of which Amazon is one.
The Amazon affiliate referral happens if you've arrived at the Amazon property via a 'tagged' link. Both links clicked via the dash which go to Amazon sites, and the shortcut in the launcher will add the tag. The tag adds a cookie which lasts for 24 hours. If you buy anything during that period, Canonical will get some affiliate revenue.
Personally I've just "pinned" a tab in my browser (i.e. opened whenever I open the browser) which goes to http://www.amazon.co.uk/?tag=u1webapp-uk-21 (which is right for the UK, but will differ for other territories) which ensures the cookie is always there for me. So even if I don't follow links via the dash or use the launcher, I still give revenue to Canonical (my employer ;) ).
I also do this on 12.04 where I don't have the shopping lens installed.
Best Answer
Ubuntu 17.10 (and then 18.04) has brought a few changes (for prior versions, see one of the other answers). There are no longer any Amazon/web search results when you search in the Dash, but the Amazon icon remains in the launcher by default. It is part of the ubuntu-web-launchers package, which can be removed with:
At the time of this writing, Amazon appears to be the only thing in the package, so it should be fine to remove. Keep in mind that this might not be the case in the future, so it might be safer to just remove Amazon if you might want to keep other web launchers. Take a look at the list of files in the package and get rid of the Amazon ones: