modify lightdm config on the fly