Change background in the login screen

Before I decided to tackle this problem myself, we recommended the 'LightDM' solution on our French-language amateur forum, zorinos.fr.


Despite my best efforts, I made some mistakes in the above code. :face_with_spiral_eyes:
As I can no longer edit my tutorial, here are the two corrected codes:

3. Create a “gnome-shell/gnome-shell-theme.gresource.xml” file

echo "<?xml version="1.0" encoding="UTF-8"?>
<gresources>
  <gresource prefix=\"/org/gnome/shell/theme\">
    <file>assets/activities-dark.svg</file>
    <file>assets/activities.svg</file>
    <file>assets/calendar-event-dark.svg</file>
    <file>assets/calendar-event-today-dark.svg</file>
    <file>assets/calendar-event-today.svg</file>
    <file>assets/calendar-event.svg</file>
    <file>assets/checkbox-dark.svg</file>
    <file>assets/checkbox-focused-dark.svg</file>
    <file>assets/checkbox-focused.svg</file>
    <file>assets/checkbox-off-dark.svg</file>
    <file>assets/checkbox-off-focused-dark.svg</file>
    <file>assets/checkbox-off-focused.svg</file>
    <file>assets/checkbox-off.svg</file>
    <file>assets/checkbox.svg</file>
    <file>assets/gnome-shell-start.svg</file>
    <file>assets/login-background.png</file>
    <file>assets/texture-dark.svg</file>
    <file>assets/texture.svg</file>
    <file>assets/toggle-off-dark.svg</file>
    <file>assets/toggle-off.svg</file>
    <file>assets/toggle-on-dark.svg</file>
    <file>assets/toggle-on.svg</file>
    <file>assets/workspace-placeholder-dark.svg</file>
    <file>assets/workspace-placeholder.svg</file>
    <file>gnome-shell.css</file>
    <file>pad-osd.css</file>
    <file>process-working.svg</file>
  </gresource>
</gresources>" | sudo tee /usr/share/themes/ZorinBlue-Dark/gnome-shell/gnome-shell-theme.gresource.xml> /dev/null

4. Recompile “gnome-shell-theme-gresource” file

sudo cp /usr/share/themes/ZorinBlue-Dark/gnome-shell/gnome-shell-theme.gresource{,.bak}
cd /usr/share/themes/ZorinBlue-Dark/gnome-shell
sudo glib-compile-resources /usr/share/themes/ZorinBlue-Dark/gnome-shell/gnome-shell-theme.gresource.xml


____________

Note: I don't know where 'Login Manager Settings' stores its settings, but I have noticed that my method is no longer working consistently after it has been used.
Even after setting the background type back to “None”, the operation becomes erratic:


So, to sum up, my one piece of advice is to forget my code :cry: and only use Login Manager Settings v.2 to change the background of Zorin 17 Core login screen in GDM mode.

It's safer... and, I aggree with you @Forpli, simpler. :face_with_hand_over_mouth:

All the best!

All the best for you, too! Thank you for sharing your experience!

:upside_down_face:

I corrected the above post number 23 with your corrections.

You can also create a thread in Tutorials & Guides to isolate your tutorial.

1 Like

There is an extension that I've been using for almost a year that can change gdm login wallpaper: GitHub - pratap-panabaka/gse-gdm-extension: GDM Extension - Tweak few things of GDM Login Screen from the login screen itself

I tested by myself again GDM Settings and can confirm @jlb that the AppImage in Version 2.0 works on Zorin 17.

I tested the Versions 2.1, 3.x and the current Version 5.0 but none of them worked.

1 Like

Thanks for trying and confirming, @Ponce-De-Leon!

1 Like

Bad news: as I feared, neither the script, nor the AppImage, nor GDM Settings in Flatpak format work on Zorin 18.

Did You tried all AppImages or only the 2.0 Version? Maybe on 18 another Version is needed.

Quickly, the major versions of AppImages.

In fact, as I've learned since my main distribution switched to Ubuntu 24.04, AppImages don't even launch, probably due to sandboxing issues.
I've learned how to fix them, but I don't enjoy being caught up in this kind of problem. So I didn't go any further. You can't really say I tried.

If you want to try it, you have to add “--no-sandbox” to the command line to launch AppImages.

2 Likes

This is not a sandboxing issue, but another equally well-known one that prevents testing AppImages:

/usr/bin/env: /tmp/.mount_Login_Gr1UJX/usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/bin/env)

Here is the solution for Zorin 18!

I had already tried it on Ubuntu 24.04.

sudo apt update && sudo apt install systemd-container

  • Extract the archive, right-click on the unzipped directory, choose “Open in terminal” and enter this line, while adjusting the path to the image you want:
sudo ./change.sh ~/Pictures/wallpaper.jpg

Reboot.


Ecco !

More information here.