Nano77 / gdm3setup

An interface to configure GDM3, autologin options and change Shell theme
GNU General Public License v2.0
101 stars 29 forks source link

Parsing multiple key value pairs from setting strings #6

Closed jpfeiffer closed 12 years ago

jpfeiffer commented 12 years ago

Hi, I'm not sure if just my configuration is screwed but gdm3setup.py failed to start because I had something like "SHELL_LOGO=USER_LIST=false" inside my setting string.

This was however not parsed the way needed. I just changed the get_setting function to return the value just after the last '=' and only checking if 'name=' is at least somewhere in the string.

Nano77 commented 12 years ago

Hi jpfeiffer,

"SHELL_LOGO=USER_LIST=false" indicate a bug in the file generated by' /usr/bin/get_gdm.sh'

GnomeShell must be installed

In Ubuntu the last version (3.04) are too old ( no schema for org.gnome.login-screen) In "/usr/bin/get_gdm.sh' replace : 'gsettings get org.gnome.login-screen logo >> /tmp/GET_GDM' by 'gsettings get org.gnome.login-screen logo >> /tmp/GET_GDM || echo "" >> /tmp/GET_GDM'

jpfeiffer commented 12 years ago

Ah thanks for the hint. Now its obvious, I should have looked at the whole project, not just the part producing the error.