Ubuntu Change Login Screen Background


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!

Sandclock 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, Sandclock 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

All about Ubuntu Software Center

If you’re using a Linux system, there’s a high chance that you’re currently running Ubuntu or other Ubuntu-based...

Mine Bitcoins with BFGMiner on Ubuntu

How to Mine Bitcoins with BFG Miner on Ubuntu? Introduction Bitcoin is a cryptocurrency which is quite popular among many...

How to use the touch command on Ubuntu

“touch” is a basic Linux command to create empty files or change files timestamps (last date or time of file access...
Bài Viết

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

Hướng dẫn chuyển đổi windows server windows evaluation to standard và active windows server 2008 + 2012 + 2016 + 2019

How to Update Ubuntu Linux

Squid Proxy Manager cài đặt và quản lý Proxy Squid tự động trên ubuntu

Hướng dẫn cài đặt Apache CloudStack

Hướng dẫn ký file PDF bằng chữ ký số (chữ ký điện tử) và sửa lỗi mới nhất 2021 foxit reader