• Guide & Review
    • All Tutorial(s)
    • Linux Distro Review
    • Complete Review Index
  • App
    • Top List Index
    • Top 10 List
    • Ubuntu Apps
    • GNOME Apps
    • KDE Apps
    • LibreOffice
      • Exclusive LibreOffice Guides
      • LibreOffice 24.8
      • Calc
  • Theme
  • Distro
    • Upcoming
    • Current
      • Fedora 42
      • Debian 12 “Bookworm”
      • Ubuntu 24.04 LTS
      • Ubuntu 24.10
      • LMDE 6
      • Linux Mint 22 “Wilma”
      • elementary OS 7 Horus
    • Arch Linux
    • Pop!_OS
    • Distro Review
    • View All Distros
  • DE
    • GNOME 48
    • COSMIC Desktop (Alpha)
    • KDE Plasma 6
    • Xfce 4.18
    • LXQt
    • View All Desktop Env
  • News
  • Dev
    • Learn Linux Commands
    • Virtual Machine Set up
      • VirtualBox (all guides)
      • GNOME Boxes
      • virt-manager & KVM
    • Linux Kernel 6.7
    • LibreOffice Macro
  • More
    • Editorial and Opinion
    • Hardware
  • RSS
  • Telegram Channel
  • Google News
  • 𝕏 (Twitter)
  • Mastodon
  • YouTube
  • Facebook
  • r/debugpoint
  • Email
sections
  • About
  • Content Policy
  • Contact

DebugPoint.com

Linux and Dev Portal

  • Guide & Review
    • All Tutorial(s)
    • Linux Distro Review
    • Complete Review Index
  • App
    • Top List Index
    • Top 10 List
    • Ubuntu Apps
    • GNOME Apps
    • KDE Apps
    • LibreOffice
      • Exclusive LibreOffice Guides
      • LibreOffice 24.8
      • Calc
  • Theme
  • Distro
    • Upcoming
    • Current
      • Fedora 42
      • Debian 12 “Bookworm”
      • Ubuntu 24.04 LTS
      • Ubuntu 24.10
      • LMDE 6
      • Linux Mint 22 “Wilma”
      • elementary OS 7 Horus
    • Arch Linux
    • Pop!_OS
    • Distro Review
    • View All Distros
  • DE
    • GNOME 48
    • COSMIC Desktop (Alpha)
    • KDE Plasma 6
    • Xfce 4.18
    • LXQt
    • View All Desktop Env
  • News
  • Dev
    • Learn Linux Commands
    • Virtual Machine Set up
      • VirtualBox (all guides)
      • GNOME Boxes
      • virt-manager & KVM
    • Linux Kernel 6.7
    • LibreOffice Macro
  • More
    • Editorial and Opinion
    • Hardware

DebugPoint.com

2 years ago 2 years ago

Tutorials

How to Change Login Screen Background in Ubuntu

2 min


Arindam
by Arindam 2 years ago2 years ago
1015.7kviews

This is how you can get rid of that boring login screen background in Ubuntu and set a nice picture to welcome you each time you log on.

I, always think that when you boot up your system, a nice login screen should greet you. That itself set the context of your upcoming work or activity that you are about to do. Although, I am not a Windows fan, but I admire how Windows 10 login background changes every day from Bing wallpapers, and it looks nice. Isn’t it?

A while back, we covered how to change login background in Fedora and elementary OS. And now this guide explains how you change it in vanilla Ubuntu with GNOME Shell.

Login screen background is part of display manager property. This guide uses a script in GitHub created by a user to make it seamless and easy for average user. Otherwise, you have to change the Gnome Display Manager (gdm) CSS files manually after extracting the .gresource file, then compile it – which is complicated in general.

Ubuntu Login screen - before change
Ubuntu Login screen – before change

Change Login Background in Ubuntu

  • Open a terminal (press CTRL+ALT+T)
  • Download the GitHub repo using the below command.
wget github.com/thiggy01/change-gdm-background/raw/master/change-gdm-background

Note: If you do not have wget, install it using sudo apt install wget

Ubuntu 22.04 Jammy Jellyfish users require an additional code change to make it work because the developer did not fix it in GitHub. So here’s what you need to do.

Open the change-gdm-background file via gedit. Then, go to the following line (#15) and add |jammy.

script change to allow jammy
script change to allow jammy

Then, go to the following two lines (#144 and #184). Change gdm3.css to gdm.css. As shown below.

correct the css file for gdm
correct the css file for gdm

And finally, save the file and follow the instructions as below. This workaround is only for Ubuntu 22.04 login screen change.

  • Change the permission of the script to make it executable
chmod +x change-gdm-background
  • Then change the login background wallpaper in Ubuntu using the below command. Change the path of your image.
sudo ./change-gdm-background ~/Pictures/tree.jpg

This step might require libglib2.0-dev package, which will be installed automatically. This is required to extract/compile the .gresource.

And after installation, it would prompt you to restart gdm. Press N, to be on the safe side.

  • Log out and you can see the changed background in Ubuntu.
  • If you are not seeing the change, try restarting your system and then try to log in.
Ubuntu Login screen After Change
Ubuntu Login screen with background After Change

Restore the stock login screen

The script also provides a feature to revert the stock login screen. It takes a backup of your .gresource file before changing it. So, from the terminal, simply run below to restore the original login screen.

sudo ./change-gdm-background --restore

That should change the login screen back to its original form.

Let me know whether it worked for you using the comment box below. This should work for all the latest versions of Ubuntu Linux.

Add DebugPoint to your Google News feed. Follow us:
Join our Telegram Channel and stay informed on the move.
Using Mastodon? Follow us at floss.social/@debugpoint

Post Pagination

  • Previous PostPrevious
  • Next PostNext

Login Screen
Arindam

Posted by Arindam

Creator and author of debugpoint.com. Connect with me via Telegram, 𝕏 (Twitter), or send us an email.
Subscribe
Notify of
guest

guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

10 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
  • Previous Post
    Ubuntu Budgie 23.10: Best New Features
    by Arindam
  • Next Post
    Kubuntu 23.10: Best New Features
    by Arindam

More From: Tutorials

  • 1.2k
    Home Lab, Server Setup

    Creating Your Own Home Lab: Essential Setup Tips for Tech Enthusiasts

    6 months ago6 months ago
  • 1.7k
    Fedora 41
    1

    Upgrade to Fedora 41 from Fedora 40 Workstation (GUI and CLI)

    7 months ago7 months ago
  • 769
    gparted, virtual machine, VirtualBox

    How to Increase Virtual Machine Size in VirtualBox

    9 months ago9 months ago

DON'T MISS

  • 1.2k
    fedora, Fedora 42
    1

    Fedora 42: Best New Features

    2 months ago2 months ago
  • 720
    GNOME 48
    1

    GNOME 48: Best New Features

    2 months ago2 months ago

Related Articles

  • How to Change Login Screen Background in Fedora Workstation
  • How to Change Lock and Login Screen Wallpaper in elementary OS

DebugPoint.com is a portal covering Technology, Software News and stuff that matters. Heavily slant towards Linux and Open Source.

All applications are registered trademarks of their respective owners. Icons and Logos are used for information purposes, and credit is provided at the end of corresponding articles.

This site serves Ads by a third party that uses cookies and serves ads based on user browsing patterns.

Ideas and opinions expressed here are owned by the author and don’t necessarily reflect those of other people or organizations.

Linux is a registered trademark of Linus Torvalds.

Stay in touch

  • RSS
  • Telegram Channel
  • Google News
  • 𝕏 (Twitter)
  • Mastodon
  • YouTube
  • Facebook
  • r/debugpoint
  • Email

Other Projects

  • debugpointnews.com
  • About
  • Content Policy
  • Contact
© 2025 DebugPoint.com All Rights Reserved | Created with ❤ in India 🇮🇳

log in

Captcha!
Forgot password?

forgot password

Back to
log in