• 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 GuidesNew
      • LibreOffice 7.5 (upcoming)
      • Calc
  • Theme
  • Distro
    • Upcoming
      • elementary OS 7 Horus
    • Current
      • Fedora 37
      • Ubuntu 22.10 (Kinetic Kudu)
      • Linux Mint 21.0 and 21.1
      • elementary OS 6
    • Arch Linux
    • Pop!_OS
    • Distro Review
    • View All Distros
  • DE
    • GNOME 43
    • KDE Plasma 5.26
    • Xfce 4.18
    • LXQt
    • View All Desktop Env
  • NewsNew
  • Dev
    • Learn Linux Commands
    • Virtual Machine Set up
      • GNOME Boxes
      • virt-manager & KVM
      • VirtualBox Install in Ubuntu and Linux Mint
      • VirtualBox Install in Fedora
      • Install Ubuntu in VirtualBox
      • Install Fedora in VirtualBox
      • Shared Folders in VirtualBox
      • Enable USB stick access in VirtualBox
      • Install Guest Additions
    • Linux Kernel 6.2
    • LibreOffice Macro
  • More
    • Editorial and OpinionHot
    • Hardware
  • RSS
  • Telegram Channel
  • Google News
  • Twitter
  • Mastodon
  • YouTube
  • Facebook
  • r/debugpoint
  • Email
sections
  • About
  • Content Policy
  • Contact

DebugPoint.com

  • 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 GuidesNew
      • LibreOffice 7.5 (upcoming)
      • Calc
  • Theme
  • Distro
    • Upcoming
      • elementary OS 7 Horus
    • Current
      • Fedora 37
      • Ubuntu 22.10 (Kinetic Kudu)
      • Linux Mint 21.0 and 21.1
      • elementary OS 6
    • Arch Linux
    • Pop!_OS
    • Distro Review
    • View All Distros
  • DE
    • GNOME 43
    • KDE Plasma 5.26
    • Xfce 4.18
    • LXQt
    • View All Desktop Env
  • NewsNew
  • Dev
    • Learn Linux Commands
    • Virtual Machine Set up
      • GNOME Boxes
      • virt-manager & KVM
      • VirtualBox Install in Ubuntu and Linux Mint
      • VirtualBox Install in Fedora
      • Install Ubuntu in VirtualBox
      • Install Fedora in VirtualBox
      • Shared Folders in VirtualBox
      • Enable USB stick access in VirtualBox
      • Install Guest Additions
    • Linux Kernel 6.2
    • LibreOffice Macro
  • More
    • Editorial and OpinionHot
    • Hardware

DebugPoint.com

  1. Home
  2. Tutorials
  3. How to Change Login Screen Background in Ubuntu
3 months ago 3 months ago

Tutorials

How to Change Login Screen Background in Ubuntu

2 min


Arindam
by Arindam 3 months ago3 months ago
10

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.

Next: Ubuntu Unity 22.10 Review: A Promising “Official” Start

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 of debugpoint.com. All time Linux user and open-source supporter. Connect with me via Telegram, Twitter, LinkedIn, 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 Unity 22.10 Review: A Promising "Official" Start
    by Arindam
  • Next Post
    Cool Retro Terminal
    Give your Terminal a Retro Look Using this Neat Application
    by Arindam

More From: Tutorials

  • 174

    Install and Use Tor Web Browser in Ubuntu and Other Distros

  • 123
    2

    How to Find Python Version [Tutorial]

  • 7.7k
    1

    Transform Your Arch Installation with Stunning XMonad WM Setup

DON'T MISS

  • 40

    Learn Gzip Command in Linux with Examples

  • 174

    Install and Use Tor Web Browser in Ubuntu and Other Distros

Related Articles

  • How to Change Login Screen Background in Fedora Workstation
  • How to Change Lock and Login Screen Wallpaper in elementary OS
  • 4 Ways to Fix the Laptop Brightness Problem...

    4 Ways to Fix the Laptop Brightness Problem...

  • Top 10 Best Linux Distributions for Everyone in...

    Top 10 Best Linux Distributions for Everyone in...

  • Windows 11 Look Inspired by KDE Plasma and...

    Windows 11 Look Inspired by KDE Plasma and...

  • How to Enable Volume and Power Control in...

    How to Enable Volume and Power Control in...

  • Should Ubuntu Adopt KDE Plasma as Default Desktop?...

    Should Ubuntu Adopt KDE Plasma as Default Desktop?...

  • Top 10 Linux Distributions for KDE Plasma [Compared]

    Top 10 Linux Distributions for KDE Plasma [Compared]

  • How to Remove Snap Packages in Ubuntu Linux

    How to Remove Snap Packages in Ubuntu Linux

  • Top 10 Most Beautiful Linux Distributions [Featured]

    Top 10 Most Beautiful Linux Distributions [Featured]

  • Writing a Macro in LibreOffice Calc: Getting Started

    Writing a Macro in LibreOffice Calc: Getting Started

  • Export or Save As PDF A Specific Range...

    Export or Save As PDF A Specific Range...

  • How to Upgrade to Pop OS 21.04 from...

    How to Upgrade to Pop OS 21.04 from...

  • Working with Dialog Controls in LibreOffice Calc using...

    Working with Dialog Controls in LibreOffice Calc using...

  • How to Fix – Failed to Start Light...

    How to Fix – Failed to Start Light...

  • How to Make LibreOffice Look Like Microsoft Office

    How to Make LibreOffice Look Like Microsoft Office

  • Is this the End of the road for...

    Is this the End of the road for...

  • New Effect in Plasma
    KDE Plasma Introduces GNOME-like Overview. Is it Good?

    KDE Plasma Introduces GNOME-like Overview. Is it Good?

  • Best 5 Alternatives to Microsoft Office [Compared]

    Best 5 Alternatives to Microsoft Office [Compared]

  • String Processing in LibreOffice Calc Macro with Examples

    String Processing in LibreOffice Calc Macro with Examples

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

Subscribe

Sign up for our new post alerts and join our community of Linux and BSD users. You'll be the first to know about new releases, reviews and tutorials.

Other Projects

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

log in

Captcha!
Forgot password?

forgot password

Back to
log in