Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Linux Distributions»Ubuntu»Changing the Login Screen Background in Ubuntu 22.04 & 20.04

    Changing the Login Screen Background in Ubuntu 22.04 & 20.04

    By RahulMay 9, 20222 Mins Read

    The latest Ubuntu systems use GNOME as a default theme. GDM3 is the default display manager which is responsible for loading the login screen. We need to tweak settings in gdm3 to change the background of the login screen.

    Advertisement

    This tutorial will help you to change the default login screen background on Ubuntu systems.

    Install Required Tools

    First of all, install a required library on your system.

    sudo apt install libglib2.0-dev-bin
    

    Now download the script that will help you with setting up the login screen background wallpaper on Ubuntu systems.

    wget -qO - https://github.com/PRATAP-KUMAR/ubuntu-gdm-set-background/archive/main.tar.gz | tar zx --strip-components=1 ubuntu-gdm-set-background-main/ubuntu-gdm-set-background 
    

    To find out the command help run the following command:

    ./ubuntu-gdm-set-background --help 
    

    Change the Login Screen Background

    You can set an image, solid color, and horizontal or vertical gradient color at the Ubuntu login screen running with Genome display manager (GDM).

    Use one of the following commands to change the login screen background of your choice:

    • Set an image – Use the following command to set an image to the login background.
      sudo ./ubuntu-gdm-set-background --image /home/user/backgrounds/image.jpg 
      
    • Set a solid color – You can also set an solid color to Ubuntu login screen. Use the following command with hex color code. You can generate hex code here.
      sudo ./ubuntu-gdm-set-background --color \#aAbBcC 
      
    • Set a horizontal gradient color – It also allows you to make gradient color with two colors. To set the horizontal gradent use following command:
      sudo ./ubuntu-gdm-set-background --gradient horizontal \#aAbBcC \#dDeEfF 
      
    • Set a vertical gradient color – Vertical gradient of two colors can be set with command:
      sudo ./ubuntu-gdm-set-background --gradient vertical \#aAbBcC \#dDeEfF 
      
    • Reset all changes – You can reset all changes to the original by running command:
      sudo ./ubuntu-gdm-set-background --reset 
      

    Here are a few screenshots of the login screen after setting up with the above commands.

    Changing the Login Screen Background in Ubuntu
    Set an Image at login screen
    Changing the Login Screen Background in Ubuntu
    Set the solid color at Ubuntu login screen
    Changing the Login Screen Background in Ubuntu
    Setting up gradiant colors at login screen

    Conclusion

    This tutorial helped you with changing the login screen background with custom colors on Ubuntu systems. You can revert all changes anytime to get the default login screen.

    GDM3 wallpaper
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    How to Setup DKIM (DomainKeys) with Postfix

    A Step-by-Step Guide to Installing OpenDKIM with Postfix on Ubuntu – Unleash the Power of DKIM!

    How to Install Composer on Ubuntu 22.04

    How to Install Composer on Ubuntu 22.04

    How to Install Apache Kafka on Ubuntu 22.04

    How to Install Apache Kafka on Ubuntu 22.04

    View 4 Comments

    4 Comments

    1. Heitor on August 15, 2022 4:27 pm

      It works in POP OS 22.04?

      Reply
    2. tmac on August 14, 2022 12:02 am

      Not working tried 3 times

      Reply
    3. Jack on July 17, 2022 2:50 am

      hi dev, how to remove ubuntu logo in lockscreen?

      Reply
    4. jolenecoxen1 on May 10, 2022 6:38 pm

      Thanks for helping out, great info.

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • System.out.println() Method in Java: A Beginner’s Guide
    • Split Command in Linux With Examples (Split Large Files)
    • Test Your Internet Speed from the Linux Terminal
    • 11 Practical Example of cat Command in Linux
    • sleep Command in Linux with Examples
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.