Well, I was just trying to help you use vim, and I don't really know the answer to your problem (I don't use gnome), but I believe jackopa suggested adding this line:
Code:
00.00.00.00 mycomputer
where '00.00.00.00' is your ip address, and 'mycomputer' is your hostname. I get the impression however, that you have not set your hostname yet. I would do so using the hostname command ie:
Code:
hostname mycomputer
Then edit your /etc/hosts file so it looks like:
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain mycomputer
This may do the trick for you, else, follow jackopa's advice.