Antergos / web-greeter

A modern, visually appealing greeter for LightDM.
http://antergos.github.io/web-greeter
GNU General Public License v3.0
233 stars 57 forks source link

Greeter interprets comments in config as values #60

Closed NoiSek closed 8 years ago

NoiSek commented 8 years ago

To replicate:

[greeter]
webkit-theme = antergos # some-other-theme-commented-out

Note black screen on boot.

[greeter]
webkit-theme = antergos

Remove comment to fix.

Greeter interprets the comment as part of the file path and attempts to open /usr/share/lightdm-webkit/themes/antergos # some-other-theme-commented-out.

Might affect all other config variables as well, have not tested.

Discovered while writing the install script for a theme that would preserve the old theme by commenting it out, and then restoring it when uninstalled.