iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
Do you want to change the device name of your Ubuntu computer but have no idea how? You should read through this detailed guide, as it features multiple ways to accomplish that.
Option 1: Change Your Device Name Through System Settings
The most common way to change the device name in Ubuntu is through the system settings in the graphical user interface (GUI). To accomplish that, carefully observe the subsequent procedures and screenshot images below.
- Left-click the Show Applications button on the Ubuntu dock. Next, type “settings” in the search field, then select the Settings icon from the search result.


- When the Settings open, click About among the menus on the left pane.

- On the About page, select Device Name.

- Now, input a preferred device name for your Ubuntu computer in the input field on the Rename Device dialogue box that appears. Finally, click the green Rename button at the top of the dialogue box.

Option 2: Change Your Device Name via Terminal
You can literally perform almost any task on your Ubuntu computer through the terminal. Thus, it’s no surprise we can also change the device name in Ubuntu via the terminal.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →To be precise, you can execute this task using the hostnamectl command. The following procedures demonstrate how to achieve that.
Popular on Amazon
- Full Sized Keyboard: The US QWERTY keyboard features a tilt angle for the great typing position, which provides you with a comfortable and accurate typing experience, prevents wrist fatigue. Quiet clicks allow you to focus on your work or play without disturbing others
- Stable 2.4G Wireless Connection: Plug and play without any drivers. Advanced 2.4GHz wireless technology provides a powerful and reliable connection up to 33 ft with virtually no delays or dropouts, even in the busiest wireless environments. Note: The USB dongle is stored in the compartment next to the keyboard battery slot, and can be found by opening the keyboard battery cover
- Auto Sleep & Power Saving: The keyboard features automatic sleep function, when you stop using it for more than 15 minutes, it will go into sleep mode to save power and you can click any button to activate it, the battery life up to 6 months. The external keyboard is powered by 1 AAA battery (Batteries Not Included)
- Wide Compatibility: Easy to use, simply plug the USB receiver into the USB port and start working. This wireless keyboard compatible with Windows 11, 10, 8, 7, Vista, XP, Chrome OS, Linux and Mac OS. Works well with desktop, computer, PC, laptop, Chromebook, notebook and more. Perfect for office & home work, business travel. Enjoy your wireless freedom and keep your desk clean and tidy
- Multimedia Shortcuts: The full-sized cordless keyboard with numeric keypad features 12 multimedia hotkeys for instant access to your media player, E-mail, Internet, volume, play/pause, mute, computer and favorites, so you can easily check out your favorite sites. Ideal for office work and entertainment, it saves you time and makes work and life easier. Note: the 12 shortcuts are not fully compatible with the Mac system
- Right-click any free area on your Ubuntu desktop and select Open in Terminal from the options that appear. Alternatively, use the Ctrl + Alt + T shortcut to launch the terminal in Ubuntu.

- When the terminal opens, input the command below to change the device name of your Ubuntu computer. However, replace “newname” with a new name of your choice.
hostnamectl set-hostname newname
For example, if I want to change my Ubuntu computer’s device name to “itechguides” below is what the command should look like.
hostnamectl set-hostname itechguides

Frequently Asked Questions
Yes, it is totally safe to change the device name of your Ubuntu computer. However, ensure you follow the proper procedures and make sure to use an appropriate name.
Also popular on Amazon
- All-day Comfort: This USB keyboard creates a comfortable and familiar typing experience thanks to the deep-profile keys and standard full-size layout with all F-keys, number pad and arrow keys
- Built to Last: The spill-proof (2) design and durable print characters keep you on track for years to come despite any on-the-job mishaps; it’s a reliable partner for your desk at home, or at work
- Long-lasting Battery Life: A 24-month battery life (4) means you can go for 2 years without the hassle of changing batteries of your wireless full-size keyboard
- Simply plug the USB receiver into a USB port on your desktop, laptop or netbook computer and start using the keyboard right away without any software installation
- Simply Wireless: Forget about drop-outs and delays thanks to a strong, reliable wireless connection with up to 33 ft range (5); K270 is compatible with Windows 7, 8, 10 or later
You can change the device name of your Ubuntu computer via the GUI using the system settings. To do that, follow the steps below.
a) Left-click the Show Applications button on the Ubuntu dock.
b) Next, type “settings” in the search field, then select the Settings icon from the search result.
c) When the Settings open, click About among the menus on the left pane.
d) On the About page, select Device Name.
e) Now, input a preferred name for your Ubuntu computer in the input field on the Rename Device dialogue box that appears.
f) Finally, click the green Rename button at the top of the dialogue box.
No, it won’t. Changing the name of your Ubuntu computer shouldn’t have any impact on other settings.
Also popular on Amazon
- Media-Friendly: The K400 Plus wireless touch TV keyboard gives you integrated, comfortable control of your PC-to-TV entertainment, eliminating the clutter of a separate keyboard and mouse
- Plug-and-Play: Simply plug the Unifying receiver into a USB port and the wireless touchpad keyboard is ready to go; adjust controls using the Logitech Options Software to save preferred settings
- Power-Packed: Built with laid-back control in mind, this wireless TV keyboard has a reliable and long battery life of up to 18 months (2), including an on/off button to help it go even longer
- Wireless Freedom: Designed for seamless comfort and control, this HTPC keyboard boasts a range of up to 33 ft (1) wireless connectivity, with quiet keys and a large touchpad for easy navigation
- Broad Compatibility: Designed for use with Windows 7, Windows 8, Windows 10 and later, Android 7 or later, and Chrome OS
Ubuntu is a Linux distribution that was developed by Mark Shuttleworth and released on 8 July 2005. Furthermore, this operating system is based on Debian and features free and open-source software.
Ubuntu was officially released in three editions – server, desktop, and core. Moreover, all of the Ubuntu editions can run as a standalone computer or as a virtual machine.
Yes, you can change the name of your Ubuntu system via the terminal. To do that, follow the subsequent steps.
a) Use the Ctrl + Alt + T keyboard shortcut to launch the terminal in Ubuntu.
b) When the terminal opens, execute the “hostnamectl set-hostname newname” command. However, replace “newname” with a new name for your Ubuntu system before running the command.
Also popular on Amazon
- Reliable Plug and Play: The USB receiver provides a reliable wireless connection up to 33 ft (1), so you can forget about drop-outs and delays and you can take it wherever you use your computer
- Type in Comfort: The design of this keyboard creates a comfortable typing experience thanks to the low-profile, quiet keys and standard layout with full-size F-keys, number pad, and arrow keys
- Durable and Resilient: This full-size wireless keyboard features a spill-resistant design (2), durable keys and sturdy tilt legs with adjustable height
- Long Battery Life: MK270 combo features a 36-month keyboard and 12-month mouse battery life (3), along with on/off switches allowing you to go months without the hassle of changing batteries
- Easy to Use: This wireless keyboard and mouse combo features 8 multimedia hotkeys for instant access to the Internet, email, play/pause, and volume so you can easily check out your favorite sites
Conclusion
Changing the device name can add a personal touch to your Ubuntu computer, making it more memorable. Moreover, it makes it easier for your computer to be identified on a network.
Recommended Free Tools
Gladly, this guide provided two easy and straightforward methods to modify the device name in Ubuntu. To be specific, we discussed how to carry out this task through the system settings in the Ubuntu GUI.
Also popular on Amazon
- ✅ INSTANT CONNECTIVITY. Plug in the USB receiver and you can use the KLIM Chroma wireless keyboard instantly, from up to 30 feet away. There is no need to install any drivers!
- ✅ LONG-LASTING BATTERY. There's no need to buy batteries anymore! The gaming keyboard comes with premium-quality built in rechargeable batteries. You will spend lesser money while helping the environment.
- ✅ RGB BACKLIGHTING. Bring your desk to life! Choose static or breathing mode, or turn off the lights completely if you prefer. Note: colors are not customizable.
- ✅ IMPROVE YOUR TYPING SPEED. The membrane keys have a short travel distance, allowing for quick and easy typing.
- ✅ SPILL-RESISTANT & DURABLE. Engineered to handle everyday accidents. One of the only spill-resistant keyboards available at this price point.
This guide also taught us how to modify the name of an Ubuntu computer by using the hostnamectl command in the terminal. Thus, with the procedures included in this guide, changing the device name of your Ubuntu computer shouldn’t be a problem.
Hopefully, you found this guide interesting and helpful. If you did, click on “Yes” beside the “Was this page helpful” question below.
You may also express your thoughts and opinions by using the “Leave a Reply” form at the bottom of this page.
Finally, visit our Linux how-to page to find other helpful Linux guides.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

