** Description changed:
[Description]
Customization of the greeter is a requirement from Corporate customers.
Currently the background (plain color or image) of the greeter is hard
coded in the style embedded in the theme. Customizing this background
requires to extract the style sheet from gnome-shell gresource file,
modify it manually, recompile and deploy the new gresource, and add an
alternative to it.
This feature adds 4 gsettings keys to make the background of the greeter
configurable via gsettings. The default value defined the in the theme
is used for keys that are not set.
- [Rationale]
- Corporate customers use LTS releases and ultimately this will be released for
20.04.
- This changeset needs to land in hirsute before it can be SRUd into prior
Ubuntu LTS releases. So we would like to submit this FFe to get it into Hirsute
first.
+ [Test Case]
+ 1. Boot a desktop session
+ 2. Verify that the default aubergine background is displayed in the greeter.
+ 3. Login as the administrator of the machine
+ 4. Install systemd-container
+ 5. Switch to the GDM user:
+ $ sudo machinectl shell gdm@ /bin/bash
+ 6. Apply a different background with the command:
+ $ gsettings set com.ubuntu.login-screen background-picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'
+ 7. Logout
+ 8. Verify that the image 'warty-final-ubuntu.png' is displayed as the
background of the greeter.
+
[Risks]
The changeset is minimal, isolated and can be easily reverted.
In case of error in the code, GDM will fail to load and it will be
immediately visible.
[Build]
Builds and tested successfully locally.
Besides the updated JS is not compiled as part of build.
[Upstream Issue]
https://gitlab.gnome.org/GNOME/gdm/-/issues/684
** Description changed:
[Description]
Customization of the greeter is a requirement from Corporate customers.
Currently the background (plain color or image) of the greeter is hard
coded in the style embedded in the theme. Customizing this background
requires to extract the style sheet from gnome-shell gresource file,
modify it manually, recompile and deploy the new gresource, and add an
alternative to it.
This feature adds 4 gsettings keys to make the background of the greeter
configurable via gsettings. The default value defined the in the theme
is used for keys that are not set.
[Test Case]
- 1. Boot a desktop session
+ 1. Boot a desktop session
2. Verify that the default aubergine background is displayed in the greeter.
3. Login as the administrator of the machine
4. Install systemd-container
5. Switch to the GDM user:
- $ sudo machinectl shell gdm@ /bin/bash
+ $ sudo machinectl shell gdm@ /bin/bash
6. Apply a different background with the command:
- $ gsettings set com.ubuntu.login-screen background-picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'
+ $ gsettings set com.ubuntu.login-screen background-picture-uri
'file:///usr/share/backgrounds/warty-final-ubuntu.png'
7. Logout
8. Verify that the image 'warty-final-ubuntu.png' is displayed as the
background of the greeter.
-
- [Risks]
- The changeset is minimal, isolated and can be easily reverted.
+ [Risks / Impact]
+ The changeset is minimal, isolated (Only the code of the greeter is impacted
by the change.) and can be easily reverted.
In case of error in the code, GDM will fail to load and it will be
immediately visible.
[Build]
Builds and tested successfully locally.
Besides the updated JS is not compiled as part of build.
[Upstream Issue]
https://gitlab.gnome.org/GNOME/gdm/-/issues/684
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1929536
Title:
[SRU] GDM background configurable with gsettings
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1929536/+subscriptions
--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs