Whenever you start searching for applications or files on your computer in Unity Dash, your claim will be automatically sent to a third party, such as Amazon, in addition, the third party will display relevant results (mainly advertisements) based on your search term ). If you do not like this feature, you can disable it if it is disturbing you.
For example, when I enter "Terminal" in Unity Dash, the "Terminal" application and other third-party stuff on the web will be displayed (I'm going crazy! I don't want this !).
As you can see above, Unity displays built-in Terminal applications, Reference Links, weather links, and other third-party recommendations, such as movies. This is annoying and looks bad on Unity Dash. At the same time, it shows too many search results and puzzles me.
If you do not need this function like me, enter the following command on your terminal:
- The wget-q-O-https://fixUbuntu.com/fixubuntu.sh | bash
The content of the above script is as follows:
- #! /Bin/bash
- GS = "/usr/bin/gsettings"
- CCUL = "com. canonical. Unity. lenses"
- # Figure out the version of Ubuntu that you're re running
- V = '/usr/bin/lsb_release-rs'
- # The privacy problems started with 12.10, so earlier versions shocould do nothing
- If awk "BEGIN {exit! ($ V <12.10 | $ V> = 14.10)} "; then
- Echo "Good news! This version of Ubuntu is not known to invade your privacy ."
- Else
- # Check Canonical schema is present. Take first match, ignoring case.
- SCHEMA = "'$ GS list-schemas | grep-I $ CCUL | head-1 '"
- If [-z "$ SCHEMA"]
- Then
- Printf "Error: cocould not find Canonical schema % s. \ n" "$ CCUL" 1> & 2
- Exit1
- Else
- CCUL = "$ SCHEMA"
- Fi
- # Turn off "Remote Search", so search terms in Dash don't get sent to the internet
- $ GS set $ CCUL remote-content-search none
- # If you're using earlier than 13.10, uninstall unity-lens-shopping
- If [$ V \< 13.10]; then
- Sudo apt-get remove-y unity-lens-shopping
- # If you're using a later version, disable remote scopes
- Else
- $ GS set $ CCUL disabled-scopes \
- "['More _ suggestions-amazon.scope ', 'more _ suggestions-u1ms.scope ',
- 'More _ suggestions-populartracks.scope ', 'music-musicstore. process ',
- 'More _ suggestions-ebay.scope ', 'more _ suggestions-ubuntushop.scope ',
- 'More _ suggestions-skimlinks.scope ']"
- Fi;
- # Block connections to Ubuntu's ad server, just in case
- If! Grep-q "127.0.0.1 productsearch.ubuntu.com"/etc/hosts; then
- Echo-e "\ n127.0.0.1 productsearch.ubuntu.com" | sudo tee-a/etc/hosts>/dev/null
- Fi
- Echo "All done. Enjoy your privacy ."
- Fi
Again, I enter the Unity dash terminal. Now Unity only displays terminal applications, rather than useless garbage. Now Unity Dash looks good.
All done, so that those messy things will never come back.
Cheers ~!
Update: This method only applies to Unity desktop. If you use other methods such as GNOME, LXDE, or Xfce, you do not need to do this. At the same time, this online search function will not be included in Ubuntu 14.10 and the coming version.
Download, install, and configure Ubuntu 14.04
Ubuntu 14.04 system:
Ubuntu 14.04 text tutorial on hard drive installation in Windows 7