Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 13427  / 1 Year ago, sat, february 11, 2023, 4:10:14

I have a brand new 13.10 install and I want all this shopping spyware nonsense gone. Searching for "Ubuntu shopping spyware nonsense" led me to apt-get remove unity-lens-shopping but I don't actually see a unity-lens-shopping package. How do I remove shopping searches in 13.10?



Update: Is there any way to distinguish the scopes that search remote servers (Ebay, Amazon, AskUbuntu) from the ones that search my local computer? Or do I have to go through them all?


More From » unity-dash

 Answers
1

It turns out that Fix Ubuntu has the solution:



#!/bin/bash

# Figure out the version of Ubuntu that you're running
V=`/usr/bin/lsb_release -rs`;

# The privacy problems started with 12.10, so earlier versions should do nothing
if [ $V < 12.10 ]; then
echo "Good news! Your version of Ubuntu doesn't invade your privacy.";
else
# Turn off "Remote Search", so search terms in Dash don't get sent to the internet
gsettings set com.canonical.Unity.Lenses 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
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;

# Block connections to Ubuntu's ad server, just in case
if ! grep -q productsearch.ubuntu.com /etc/hosts; then
echo -e "
127.0.0.1 productsearch.ubuntu.com" | sudo tee -a /etc/hosts >/dev/null;
fi;

echo "All done. Enjoy your privacy.";
fi


For 13.10, that's 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']"; and edit /etc/hosts to redirect requests for productsearch.ubuntu.com to 127.0.0.1 (localhost)


[#28727] Monday, February 13, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bathtusain

Total Points: 380
Total Questions: 124
Total Answers: 111

Location: Trinidad and Tobago
Member since Sat, Apr 9, 2022
2 Years ago
bathtusain questions
Sun, Jul 17, 22, 03:13, 2 Years ago
Sun, Oct 3, 21, 00:24, 3 Years ago
Sat, Apr 22, 23, 00:24, 1 Year ago
Fri, Jul 22, 22, 12:01, 2 Years ago
Sun, Jun 27, 21, 02:31, 3 Years ago
;