A little optimization tip for Ubuntu.
21 March 2007 – 10:25 pmI know most of you should already know about this, but for some its new, like me.
This also will work on other Distros
Changing /etc/hosts
Just by doing this small change, the Xorg will be more responsive, making the applications start faster.
For the example the hostname will be ubulaptop.
To see your hostname do this in the Terminal:
$ hostname
hostname_of_the_machine
Access the file /etc/hosts to edit it:
sudo gedit /etc/hosts
The file will have the following:
(…)
127.0.0.1 localhost
127.0.1.1 ubulaptop
(…)
Change to:
(…)
127.0.0.1 localhost ubulaptop
127.0.1.1 ubulaptop
(…)
You can test this, by opening some applications before and after the change, and see the speed difference.
Found @ UbuntuForums
So, did it make a difference?
4 Responses to “A little optimization tip for Ubuntu.”
Wooooooooooow…
Thanks for the tip, dear Marco!
My Ubuntu is faster than a… hummm… rabbit!
By Sofia on 21 March 2007
Eu uso:
kmos@bash:~$ cat /etc/hosts
127.0.0.1 localhost kmos.homeip.net
E não noto diferença.. tenta lá por assim =)
By Marco Rodrigues on 21 March 2007
Funciona em OS X também!
Thanks.
By JP Antunes on 22 March 2007