change computer name

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

change computer name

Postby rmcellig on Tue Feb 12, 2013 5:57 pm

When I was installing the new Mint 14 KDE, I forgot to change the computer name to something I wanted. Now that KDE is installed, how can I change the computer name to something else? Do I sudo nano etc/hostname ( I think that is where it is located), or is there another way?
Take care,

Randy
www.mcran.com - my web site
www.chuo.fm - My radio show every Sunday from noon-2pm or 89.1 fM
rmcellig
Level 4
Level 4
 
Posts: 222
Joined: Sat May 28, 2011 11:47 am

Linux Mint is funded by ads and donations.
 

Re: change computer name

Postby bjornmu on Tue Feb 12, 2013 6:10 pm

Yes, /etc/hostname is the file that contains the name. You may also need to change it in /etc/hosts .
User avatar
bjornmu
Level 3
Level 3
 
Posts: 160
Joined: Wed Dec 19, 2012 2:50 am
Location: Trondheim, Norway

Re: change computer name

Postby xenopeek on Tue Feb 12, 2013 6:12 pm

There may be a GUI way to do that, but I don't know it :wink: Update your computer name in both /etc/hostname and /etc/hosts (replace each occurrence of your current computer name with the new one). Dolphin is handy here; go to /etc and right-click these files and from the context menu select Root Actions > Open as Text. Kate will open and you can now edit the files as needed.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 15272
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands


Return to Newbie Questions

Who is online

Users browsing this forum: all41, Bing [Bot], gary.zw and 34 guests