spaces in the custom.conf file

Bug #590433 reported by smo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GDM2Setup
Incomplete
Undecided
Growlf

Bug Description

hi

i m the gstyle's developper wich have a gdm part too like yours

i just tried again gdm2setup to see and it still add space between key/values in the custom.conf file wich is bad

[daemon]
timedloginenable = False
automaticlogin = smo
automaticloginenable = True
timedlogindelay = 0.0
timedlogin = smo

so any of those options works, need to remove all space before and after the =

edit:

it do not respect key naming neither...

timedloginenable might be TimedLoginEnable
automaticlogin -> AutomaticLogin

....

++

smo (s-lagui)
description: updated
smo (s-lagui)
description: updated
Revision history for this message
Growlf (growlf) wrote :

The module responsible for the spaces is a core Python module, so I am not sure that this can (or should be changed). Can you explain why or how this is causing problems?

Changed in gdm2setup:
status: New → Incomplete
assignee: nobody → Growlf (growlf)
Revision history for this message
smo (s-lagui) wrote : Re: [Bug 590433] Re: spaces in the custom.conf file

Le 07/06/2010 20:10, Growlf a écrit :
> Can you explain why or
> how this is causing problems?
>
>
hi

Can you explain why or how this is causing problems?

-> nothing special, i start gdm2setup and it rewrite my custom.conf like i posted on launchpad with bad keynames and spaces

i had the same problem with python and had to use sed to remove them (bad but working) and i used a special option too to tell python to keep the keyname like they are
if i don't do that, Autologin became autologin and nothing worked (i don't remember the python module i used)

(sorry for my english) :)

++

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.