Boost Gnome Performance by tweaking /etc/hosts

From The Linux Mint Wiki

Jump to: navigation, search

Problem

Opening a gnome terminal can take 5-10 seconds on a system that's been running for a while (and with another gnome terminal already open).

Solution

Checking /etc/hosts, you can see something like this:

    127.0.0.1 localhost
    127.0.1.1 inspiron

... add your hostname to the first line, like this:

    127.0.0.1 localhost inspiron
    127.0.1.1 inspiron

(Replace "inspiron" with your hostname of course)

You should notice a crazy performance boost.

Reasons

This is a fix for the new system that was started back in edgy where the hostname was split off to 127.0.1.1, the problem is that some applications still look for the host name @ 127.0.0.1, so to keep those applications happy and running smoothly you simply need to add the host name where those applications expect it to be.

Links

Personal tools