=== modified file 'examples/handlers/fglrx.py' --- examples/handlers/fglrx.py 2008-04-08 18:16:33 +0000 +++ examples/handlers/fglrx.py 2008-04-17 05:56:15 +0000 @@ -19,8 +19,9 @@ def enable_config_hook(self): # X.org does not work otherwise if len(self.xorg_conf.getSections('Screen')) == 0: - self.xorg_conf.append(self.xorg_conf.makeSection(None, - ['Section', 'Screen'])) + s = self.xorg_conf.makeSection(None, ['Section', 'Screen']) + s.identifier = "Default Screen" + self.xorg_conf.append(s) self.xorg_conf.getSections('Screen')[0].defaultdepth = 24 def enables_composite(self): === modified file 'examples/handlers/nvidia.py' --- examples/handlers/nvidia.py 2008-04-07 16:07:58 +0000 +++ examples/handlers/nvidia.py 2008-04-17 05:56:04 +0000 @@ -38,8 +38,9 @@ def enable_config_hook(self): # X.org does not work otherwise if len(self.xorg_conf.getSections('Screen')) == 0: - self.xorg_conf.append(self.xorg_conf.makeSection(None, - ['Section', 'Screen'])) + s = self.xorg_conf.makeSection(None, ['Section', 'Screen']) + s.identifier = "Default Screen" + self.xorg_conf.append(s) s = self.xorg_conf.getSections('Screen')[0] s.defaultdepth = 24 === modified file 'jockey/xorg_driver.py' --- jockey/xorg_driver.py 2008-04-01 16:28:36 +0000 +++ jockey/xorg_driver.py 2008-04-17 05:57:20 +0000 @@ -110,8 +110,9 @@ open(os.path.join(OSLib.inst.backup_dir, self.xorg_driver + '.noconf'), 'w') if len(self.xorg_conf.getSections('device')) == 0: - self.xorg_conf.append(self.xorg_conf.makeSection(None, - ['Section', 'Device'])) + device = self.xorg_conf.makeSection(None, ['Section', 'Device']) + device.identifier = "Default Device" + self.xorg_conf.append(device) device = self.xorg_conf.getSections('device')[0] device.driver = self.xorg_driver