This simple tutorial shows you how to change the hostname (also known as computer name) in Ubuntu 21.10 Impish Idri.
The computer name is a unique identifier given to each computer. It’s not a big deal for small home networks or single use home computers. It matters however in larger organizations where you need to be able to identify servers. The name is a single word with no spaces, it has only letters, numbers or a hyphen with up to 253 characters.
The default name was set during installing the Ubuntu system. You can however change it at anytime as you want. And here’s the universal way to do the trick in either Ubuntu desktop or server editions.
Change Computer Name / Hostname in Ubuntu 21.10
Change computer name until reboot:
To get started, first either connect to your Ubuntu server or open terminal by pressing Ctrl+Alt+T on keyboard or searching from the overview screen. When it opens, run command:
sudo hostname NEW_NAME
Replace ‘NEW_NAME’ in command with your desired computer name. And it will take place until reboot.
NOTE: the new name takes effect immediately but not visible until you start a new terminal window.
Change computer name permanently:
In most Linux distributions, you can edit the “/etc/hostname” configuration file to set new computer name.
1.) To do so, open terminal from start menu or connect to the command console of remote server, then run command:
sudo nano /etc/hostname
This command will edit the config file via nano, the universal command line text editor. You may replace it with your favorite text editor, such as gedit for GNOME desktop.
When the file opens, delete the old name and type a new one. And press Ctrl+X, then type y, and hit Enter to save changes!
2.) It’s important to edit /etc/hosts file to map the new name to 127.0.1.1 and/or the permanent IP address if any.
sudo nano /etc/hosts
NOTE: you have to set same name in both /etc/hosts and /etc/hostname to avoid networking issues. And save file by pressing Ctrl+X, type y, and hit Enter.
This tutorial is going to show you how to enable hardware acceleration on Intel graphics cards using VDPAU driver.
VDPAU is an open-source library and API allows to video programs to offload portions of the video decoding process and video post-processing to the GPU video-hardware. If VDPAU available, CPU usage can be significantly lower.
Applications that uses VDPAU:
Avidemux as of version 2.6
XBMC Media Center
Adobe Flash 10.2 Stage Video and later versions (32-bit only presently)
VLC media player 2.1
VDPAU is not available on Intel graphics cards. Fortunately, there’s an open-source project called libvdpau-va-gl, which is a VDPAU driver that uses OpenGL under the hood to accelerate drawing and scaling, and VA-API (if available) to accelerate video decoding. You can use it on some Intel chips.
Install libvdpau-va-gl via PPA on Ubuntu
Press Ctrl+Alt+T on your keyboard to open terminal. When it opens, run below commands one by one (Supports Ubuntu 13.10, 13.04, 12.10, 12.04).