Living with Lucid: Set/change host name graphically

There is no way to rename your PC through a GUI with the default packages in Ubuntu 9.04 and newer.  This is because of a shift to NetworkManager.  NetworkManager is great for joining networks.  It mostly replaces functionality in Ubuntu 8.04’s gnome-system-tools.  This package is still installed by default, but a good portion of it was split off to the gnome-network-admin package.  It can interfere with NetworkManager, but it’s also how you change your hostname using a GUI.

So, if you need to change your computer name and are uncomfortable editing /etc/hostname and /etc/hosts, do the following:

  1. Open terminal
  2. run: sudo apt-get install gnome-network-admin
  3. run “Network” under the System -> Administration
  4. Unlock, change your hostname

I filed a bug suggesting that this should be fixed and that gnome-network-admin should be installed by default, it was closed because, as I mentioned, it duplicates some functionality in NetworkManager.

Advertisements
%d bloggers like this: