realmazharhussain / gdm-tools

(Deprecated) Command-line tools for GNOME's login manager, GDM
GNU General Public License v3.0
95 stars 4 forks source link

Ubuntu 21.10 compatibility #10

Closed Alokin-ITA closed 2 years ago

Alokin-ITA commented 2 years ago

In Ubuntu 21.10 the theme css file is no longer gdm3.css but gdm.css, GDM looks for the gdm.css file but it doesn't exist. Adding the gdm.css file inside gnome-shell-theme.gresource the theme is loaded correctly.

As of now, the script will cause a blank error screen at boot. I've edited the script to use gdm.css and it works.

I also had to use sudo update-alternatives --config gdm-theme.gresource and select the one that was edited, the manual should mention this might be needed.

realmazharhussain commented 2 years ago

Thanks for the info. It is very helpful.

I'm going to fix this as soon as possible.

realmazharhussain commented 2 years ago

I also had to use sudo update-alternatives --config gdm-theme.gresource and select the one that was edited, the manual should mention this might be needed.

This is done inside the script. Users don't need to do it manually (at least on distros other than Ubuntu 21.10). So, they don't need to know about it either.

Can you, please, tell what choices you get (and what did you choose that worked) when you run the command sudo update-alternatives --config gdm-theme.gresource? It will be very helpful.

realmazharhussain commented 2 years ago

I think I have fixed it. Update and try it. And let me know if it works or not. Thanks.