Ubuntu Change Login Screen Background

29/12/2020

Whenever you login into your computer, you’re presented with a screen asking your credential to verify that it’s you. After you enter the password, you’re in your world. Each time you log in, you have to go through this process again and again. Doesn’t it feel boring to look at the face of that same, plain screen? I bet you’re pretty tired of the system’s default login screen. Well, let’s add a splash of color! Having an awesome background would really rejuvenate your desktop experience, don’t you agree? Ubuntu is the most popular Linux distro for general users, no doubt. However, over the course of its lifetime, there’s that same, BORING login screen appearing. It’s time to change that.

Changing the login screen background

Ubuntu shifted from Unity to GNOME desktop environment and GDM as login agent. By default, Ubuntu allows you to modify your desktop wallpaper and lock screen background. However, there’s no direct option available for changing the login screen background. We’ll have to dig our way through various system tweaks.

At first, make sure that you have your background image ready.

Now, fire up a terminal and run the following commands –

sudo cp ~/Desktop/mybackground.png /usr/share/backgrounds

Or, you can also use the file manager to do the task.

xhost +local: && sudo nautilus /usr/share/backgrounds/

Now, you have to edit the CSS file that defines the login background.

Xhost +local: && sudo gedit /etc/alternatives/gdm3.css

Now, find out the following section –

Change the “background” entry –

#lockDialogGroup {
background: url(file:///usr/share/backgrounds/mybackground.png);
background-repeat: no-repeat;
background-size: cover;
background-position: center; }

Save the file.

Enjoying the effect

After everything is complete, restart your system.

Voila! Enjoy the most amazing login screen backgrounds of your entire life!

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

Rust Programming Language 1.15 released, Install on Ubuntu, Unix

Rust Programming Language 1.15 recently released, is a systems programming language that runs blazingly fast, prevents segfaults,...
12/02/2020

Ubuntu Boot Partition Full

In this article, I am going to talk about problems you may have with your boot partition getting full and how you remedy...
29/12/2020

7 Best Remote Desktop Sharing Applications for Ubuntu

If you’re a developer or a system administrator and have to travel more then you might be having trouble keeping up with...
29/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Hướng dẫn fake ip bằng phần mềm SStap
10/06/2025

VPS treo game là gì? Thuê VPS treo game giá rẻ, không lo giật lag
02/06/2025

 BitBrowser – Best Anti-Detect Browser!
26/05/2025

Dịch Vụ Xây Dựng Hệ Thống Peering Với Internet Exchange (IXP)
04/04/2025

Dịch Vụ Triển Khai VPN Site-to-Site & Remote Access
04/04/2025