I would like to change my "Device name" as shown in the settings panel. How do I do this?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Open a terminal and issue the command
gksu gedit /etc/hosts
Then change the line
Then also open the file
/etc/hostname with command
gksu gedit /etc/hostname and change the hostname there to reflect the new name.
Then reboot the computer, to see the changes
Since there are plenty of ways to get something done here is one more:
While in your root directory:
cd /etc sudo vi hostname
Type in your admin password, press Enter.
i to 'insert' and change existing device name to the desired device name.
Press Esc and type
:wq!, press Enter.
Restart the system for the change to take affect.