GDM login screen Fedora 38

Hi all,

I want to get rid of the dark grey background colour of the GDM login screen from Fedora 38.
The Login Manager Settings app is already been installed, and changes are made. But when the user list appears in the login screen, my chosen background disappears and the grey colour is back again.
Already had a look in /user/share/gnome-shell, /user/share/pixmaps and /usr/share/themes/Default/gtk-3.0/ but nothing useful there.

Thanks for the help!

This didn’t work.

This works for me on Fedora 38:

sudo dnf -y reinstall gnome-shell
sudo dnf -y install glib2-devel
COLOR="#124578"
GRES="/usr/share/gnome-shell/gnome-shell-theme.gresource"
gresource list "${GRES}" | while read -r RES
do mkdir -p "/tmp/${GRES##*/}.d${RES%/*}"
gresource extract "${GRES}" "${RES}" > "/tmp/${GRES##*/}.d${RES}"
done
tee "/tmp/${GRES##*/}.xml" << EOF > /dev/null 
<?xml version="1.0" encoding="UTF-8"?>
<gresources><gresource>
$(find "/tmp/${GRES##*/}.d" -type f \
| sed -e "s|^/tmp/${GRES##*/}.d/|<file>|;s|$|</file>|")
</gresource></gresources>
EOF
tee -a "/tmp/${GRES##*/}.d/org/gnome/shell/theme/gnome-shell.css" \
<< EOF > /dev/null 
.login-dialog { background-color: ${COLOR}; }
EOF
sudo glib-compile-resources --sourcedir="/tmp/${GRES##*/}.d" \
--target="${GRES}" "/tmp/${GRES##*/}.xml"
rm -f -R "/tmp/${GRES##*/}.d"
sudo systemctl restart gdm.service

Setting a custom background should work with this PR:

1 Like