elementary / greeter

Login and Lock Screen greeter for elementary OS and Pantheon, using LightDM
GNU General Public License v3.0
152 stars 39 forks source link

Debian - how to apply theme ? #602

Closed BigfootN closed 2 years ago

BigfootN commented 2 years ago

Hello,

I installed the theme (ninja install with meson build --prefix=/usr) but I am unable to find any .desktop file theme in /usr/share/xgreeters.

How can lightdm find the theme ? Or am I missing something ?

I am on debian (sid).

Thank you very much in advance for any help.

davidmhewitt commented 2 years ago

Can you clarify your question?

I don't understand what themes have to do with desktop files in xsessions.

What are you trying to do? What is currently happening? What do you expect to happen?

BigfootN commented 2 years ago

Thank you for your quick response.

So I have set:

greeter-session = io.elementary.greeter

in my /etc/lightdm/lightdm.conf. Unfortunately:

  1. the theme doesn't seem to be the right one
  2. I am unable to type anything. I have to type the username and password. But when typing, nothing is displayed and I am unable to focus the password.

Thank you very much for any help.

BigfootN commented 2 years ago

I also wanted to add that according to the ubuntu wiki and the Archlinux wiki a .desktop file should be place under /usr/share/xgreeters.

Thank you very much for your precious help and patience.

davidmhewitt commented 2 years ago

Meson is configured to install a desktop file, and it is indeed there in the elementary OS package. https://github.com/elementary/greeter/blob/1d4148107e0380d735b9073102ed2327386e4f5b/data/meson.build#L11-L18

You will need to investigate what is preventing this from being build/installed in your debian environment.

As for the theme, https://github.com/elementary/default-settings installs a GSettings override that sets the default theming for Pantheon and the Greeter.