Comment 7 for bug 132833

Revision history for this message
eTM (juergen-mangler) wrote : Re: login background color is hardcoded - FIX

Affected File (in gutsy):
/etc/gdm/PreSession/Default

Reason:
GDM_GREETER_TYPE is not set, so always fallback to hardcoded color

Fix - add the following lines (after the comment "Set background color"):
GDM_GREETER_TYPE=`gdmflexiserver --command="GET_CONFIG daemon/Greeter $DISPLAY"`
GDM_GREETER_TYPE=`echo $GDM_GREETER_TYPE | sed 's/^.*gdmlogin.*$/PLAIN/'`
if [ "x$GDM_GREETER_TYPE" != "xPLAIN" ]; then
  GDM_GREETER_TYPE=THEMED
fi

regards

eTM