当我在 dash-home 中输入内容时,系统会搜索互联网并从那里显示选项。是否可以删除此功能?如果可以,如何删除?
答案1
为了禁用例如来自互联网的搜索,您可以使用以下代码:
V=`/usr/bin/lsb_release -rs`; if [ $V \< 12.10 ]; then echo "Good news! Your version of Ubuntu doesn't invade your privacy."; else gsettings set com.canonical.Unity.Lenses remote-content-search none; if [ $V \< 13.10 ]; then sudo apt-get remove -y unity-lens-shopping; 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; if ! grep -q 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
只需将代码复制到终端,按 Enter 并输入密码即可。此代码来自修复ubuntu将关闭“远程搜索”并阻止与 Ubuntu 广告服务器的连接。
答案2
转到系统设置>安全和隐私,然后单击“搜索”选项卡。在那里,您可以打开或关闭此功能。