diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-02 14:41:55 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-02 14:41:55 +0000 |
commit | 5b5a51402cadcbd6411c6d3ca86c487956109ff4 (patch) | |
tree | 06b3de4ec7ce6276dd55d35e58d41cfd786ffa14 /xf86config.py | |
parent | ee2b065667450b131d93a0226a87ecb117d78e10 (diff) | |
download | anaconda-5b5a51402cadcbd6411c6d3ca86c487956109ff4.tar.gz anaconda-5b5a51402cadcbd6411c6d3ca86c487956109ff4.tar.xz anaconda-5b5a51402cadcbd6411c6d3ca86c487956109ff4.zip |
more fixes for xtest
Diffstat (limited to 'xf86config.py')
-rw-r--r-- | xf86config.py | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/xf86config.py b/xf86config.py index fb73cdf90..4642b9393 100644 --- a/xf86config.py +++ b/xf86config.py @@ -193,6 +193,16 @@ class XF86Config: def write (self, path): config = open (path, 'w') + config.write (self.preludeSection ()) + config.write (self.inputSection ()) + config.write (self.mouseSection ()) + config.write (self.monitorSection ()) + config.write (self.deviceSection ()) + config.write (self.screenSection ()) + config.close () + + def test (self): + config = open ('/tmp/XF86Config.test', 'w') config.write ( """ Section "Files" @@ -203,8 +213,10 @@ Section "Files" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection + +Section "ServerFlags" +EndSection """) - config.write (self.preludeSection ()) config.write (self.inputSection ()) config.write ( """ @@ -215,15 +227,11 @@ Section "Pointer" Emulate3Timeout 50 EndSection """ % self.mouse) - config.write (self.monitorSection ()) config.write (self.deviceSection ()) config.write (self.screenSection ()) config.close () - def test (self): - self.write ('/tmp/XF86Config.test') - serverPath = "/usr/X11R6/bin/XF86_" + self.server server = os.fork() |