ArcticaProject / arctica-greeter

Arctica Greeter: Greeter Frontend for LightDM
GNU General Public License v3.0
27 stars 10 forks source link

Are configuration files supported? #37

Open alkisg opened 1 year ago

alkisg commented 1 year ago

Traditionally, configuration of display managers and greeters happened by configuration files in /etc. For example, slick-greeter supports /etc/lightdm/slick-greeter.conf.

I tried creating /etc/lightdm/arctica-greeter.conf with the following content, but it was ignored:

[Greeter]
group-filter=ltspdm

The only working alternative I found was to use gsettings, but:

Is there any way to customize arctica-greeter with plain configuration files without running external programs? E.g. chrooting to a rootfs of different architecture to run glib-compile-schemas isn't always feasible...

sunweaver commented 10 months ago

We will consider this feature request. In slick-greeter, they have added some config file support, so the code base is already there (in slick-greeter). It should be easy to port things over.

As a design change (compared to slick-greeter, iirc): there should not be one config file, but a config.d folder where admins / package maintainers can drop config snippets. (Maybe slick-greeter has this, too, I can't remember it fully atm).