13.10 - How to remove Amazon and Ubuntu One Music?

16
2014-04
  • Okzei
    1. Can I completely remove Amazon from Ubuntu?
    2. After I remove Ubuntu One I still have the Ubuntu One music app, how I can remove it too?

    I used these instructions, but the Ubuntu One Music icon is still in the dash.

  • Answers
  • Warren Hill

    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.

  • Patryk

    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
    
  • Phil Mann

    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'

  • user223628

    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.


  • Related Question

    How can I remove Amazon search results from the dash or disable the feature?
  • Jorge Castro

    How can I disable Amazon search results in the Unity dash?


  • Related Answers
  • Jorge Castro

    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:

  • John S Gruber

    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.

  • Kees Cook

    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.

  • Florian Diesch

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

    Screenshot of Privacy Indicator

  • Eric Carvalho

    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

  • giner

    Update: if you want to have a Ubuntu LiveCD with disabled online search results by default there is a new remastering script for this: http://www.helplinux.ru/wiki/en:kb:make-ubuntu-privacy-friendly