Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed Ubuntu on an old PC to try and learn it and become familiar so I can switch away from Windows, although most probably not entirely. I've put my machine on a network and would like to change its name. Someone in a reply to this same question by another forum member suggested the following:

If you want a GUI assisted process install Ubuntu-Tweak. Among other uses of this app is the ability to change computer name through tab "Computer-Details" -> "Hostname"

I have downloaded and installed the latest version of Ubuntu-Tweak, however I do not see a tab named as suggested above. What am I doing wrong? What am I missing?

The reason I started on a new question is that this reply was over 4 years old or thereabouts.

Thank you for your answers and consideration.

share|improve this question
    
I don't think Ubuntu Tweak still supports that feature. You can however look at these questions for other ways to change the hostname: askubuntu.com/questions/9540/how-do-i-change-the-computer-name and askubuntu.com/questions/87665/… –  Parto Mar 18 at 9:49
    
I have never used Ubuntu Tweak, so I cannot directly answer that question, but I can tell you the old-fashioned way to change your computer name: simply hit Ctrl+ALT+T and in the terminal that appears, enter the command sudo hostname NEWCOMPUTERNAME. –  Malte Skoruppa Mar 18 at 9:50

1 Answer 1

Change hostname on this way

sudo gedit /etc/hostname

And change name

You should also edit /etc/hosts and change the line

127.0.1.1     your-old-hostname
share|improve this answer
    
It looks like, indeed, that feature is no longer supported in Ubuntu-Tweak or else I'm really dumb. I have seen the other answers on how to do it from a terminal prompt. I was just trying to make an easy transition from Windows to Ubuntu :-) Many thanks to all who answered! –  Ned Mar 18 at 10:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.