By default, the online search Unity on my Ubuntu 14.04 is google.com. This is not very useful for me. How can I change this to google.de or google.co.uk?
I found no way to do so in system settings. Is there another way?
By default, the online search Unity on my Ubuntu 14.04 is google.com. This is not very useful for me. How can I change this to google.de or google.co.uk?
I found no way to do so in system settings. Is there another way?
Modifying your hosts file will allow you to override the DNS for a domain, on that particular machine.
ping google.com to find the IP address it's resolving to
ping google.de or google.co.uk to find the IP address it's resolving to
make note of these.
edit /etc/hosts with your favorite editor
Your hosts file will need to have two entries added that will contain the IP address you want the site to resolve to and the address.
for instance where xx.xxx.xxx.xxx is the ip address of google.de or google.co.uk:
xx.xxx.xxx.xxx google.com
xx.xxx.xxx.xxx www.google.com
This should do the trick. You can undo this redirection by simply removing the lines you added.
source: http://www.rackspace.com/knowledge_center/article/how-do-i-modify-my-hosts-file