As mentionned in the title, when I call greeter_config.branding I always get the default object, hence the object that is coded in GreeterConfig.js. However when i use greeter_config.get_str("branding", "background_images"), I get the correct value defined in lightdm-webkit2-greeter.conf. Despite that greeter_config.branding does not work, when I use greeter_config.greeter I get access to the settings under the [greeter]-section in the lightdm-webkit2-greeter.conf.
These problems leads me to conclude that there must be an error when the lightdm-webkit2-greeter.conf file is read. I think its particularly strange that greeter_config.greeter is initialized correctly, but greeter_config.branding is not.
To replicate these issuses, add the following lines in a webkit2-theme and run it in debug-mode in the way specified in the README.md. Further you have to change the value of background under the [branding] section inside your lightdm-webkit2-greeter.conf to a random value, so that it is not the default /usr/share/backgrounds.
As mentionned in the title, when I call
greeter_config.branding
I always get the default object, hence the object that is coded in GreeterConfig.js. However when i usegreeter_config.get_str("branding", "background_images")
, I get the correct value defined inlightdm-webkit2-greeter.conf
. Despite thatgreeter_config.branding
does not work, when I usegreeter_config.greeter
I get access to the settings under the[greeter]
-section in thelightdm-webkit2-greeter.conf
.These problems leads me to conclude that there must be an error when the
lightdm-webkit2-greeter.conf
file is read. I think its particularly strange thatgreeter_config.greeter
is initialized correctly, butgreeter_config.branding
is not.To replicate these issuses, add the following lines in a webkit2-theme and run it in debug-mode in the way specified in the README.md. Further you have to change the value of
background
under the[branding]
section inside yourlightdm-webkit2-greeter.conf
to a random value, so that it is not the default/usr/share/backgrounds
.