linuxmint / lightdm-settings

A configuration tool for the LightDM display manager
GNU General Public License v3.0
107 stars 24 forks source link

Errors upon Execution #27

Closed ruppec closed 5 years ago

ruppec commented 5 years ago

Could not load /etc/lightdm/slick-greeter.conf. lightdm version: 1.26.0 Traceback (most recent call last): File "/usr/lib/lightdm-settings/lightdm-settings", line 45, in do_activate self.create_window() File "/usr/lib/lightdm-settings/lightdm-settings", line 154, in createwindow row = SettingsRow(Gtk.Label(("GTK theme")), SettingsCombo(keyfile, settings, "theme-name", self.get_gtk_themes(), "string", size_group)) File "/usr/lib/lightdm-settings/SettingsWidgets.py", line 309, in init var_type = type(options[0][0]) IndexError: list index out of range

Duder963 commented 5 years ago

I'm recieving a similar error on Arch Linux. Curiously, this is only happening on my desktop computer. My laptop loads the program just fine

jtnegrotto commented 5 years ago

The root cause is that lightdm-settings expects at least one GTK theme to be installed. I've submitted a PR, but for now you can just install a GTK theme and it will work, or you can patch /usr/lib/lightdm-settings/SettingsWidget.py yourself (it's a one-line change).