Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Autor Micah Lee https://micahflee.com/
- # Traductor: Fraterneo http://fraterneo.blogspot.com
- # Averiguar cual version estas usando acualmente
- V=`/usr/bin/lsb_release -rs`
- # Los problemas de privacidad empezaron desde la 12.10, para versiones anteriores no haremos cambios
- if [ $V \< 12.10 ]; then
- echo "Buenas noticias! Tu version de Ubuntu no invade tu privacidad."
- else
- # Apagar el "Remote Search", por lo que las busquedas en Dash no se envian por Internet
- gsettings set com.canonical.Unity.Lenses remote-content-search none
- # Si estas ejecutan una version mas temprana que la 13.10, desinstalamos unity-lens-shopping
- if [ $V \< 13.10 ]; then
- sudo apt-get remove -y unity-lens-shopping
- # Si estas usando una version anterior, deshabilitamos los 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;
- # Bloqueamos conexiones a los serivodres de publicidad de Ubuntu, solo por si acaso
- 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 "Todo listo. Disfruta tu privacidad."
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement