Saturday, May 4, 2024
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 6864  / 2 Years ago, wed, june 8, 2022, 3:06:23

How to Change Ubuntu 21.10 gdm background to a Image or to a Color.


Below Pic is of Ubuntu 20.04 GDM Login Screen


Is there a way similar to this post which is for Ubuntu 20.04 How do I change login screen theme or background in Ubuntu 20.04?


More From » login-screen

 Answers
1

Ubuntu recently added the ability to customize this without relying on any third-party scripts (this is not yet possible if using GDM with a distro other than Ubuntu, see here for progress on that).


First install systemd-container:


sudo apt install systemd-container

Now we need to login as the gdm user before we run any gsettings commands:


sudo machinectl shell gdm@ /bin/bash

Now we can set the background to any image:


gsettings set com.ubuntu.login-screen background-picture-uri 'file:///usr/share/backgrounds/warty-final-ubuntu.png'

Other than background-picture-uri, you can also set background-color to just change the color without setting an image. If you set an image, you can also set the background-repeat and background-size settings.


(Note that you'll only see this image/color on the login screen, not the lock screen, which will instead be a blurred version of your desktop wallpaper)


[#1097] Thursday, June 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tionverflow

Total Points: 500
Total Questions: 115
Total Answers: 120

Location: Northern Ireland
Member since Mon, Nov 14, 2022
2 Years ago
;