diff options
Diffstat (limited to 'xf86config.py')
-rw-r--r-- | xf86config.py | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/xf86config.py b/xf86config.py index b72326b75..7bdc92c63 100644 --- a/xf86config.py +++ b/xf86config.py @@ -727,39 +727,46 @@ class XF86Config: return modes if string.atoi(vidRam) >= 10240: modes["8"] = ["640x480", "800x600", "1024x768","1152x864", + "1280x960", "1280x1024", "1400x1050", "1600x1200", "1920x1440", "2048x1536"] modes["16"] = ["640x480", "800x600", "1024x768", "1152x864", + "1280x960", "1280x1024", "1400x1050", "1600x1200", "1920x1440", "2048x1536"] modes["32"] = ["640x480", "800x600", "1024x768", "1152x864", + "1280x960", "1280x1024", "1400x1050", "1600x1200", "1920x1440", "2048x1536"] elif string.atoi(vidRam) >= 8192: modes["8"] = ["640x480", "800x600", "1024x768","1152x864", + "1280x960", "1280x1024", "1400x1050", "1600x1200", "1920x1440", "2048x1536"] modes["16"] = ["640x480", "800x600", "1024x768", "1152x864", + "1280x960", "1280x1024", "1400x1050", "1600x1200", "1920x1440", "2048x1536"] modes["32"] = ["640x480", "800x600", "1024x768", "1152x864", + "1280x960", "1280x1024", "1400x1050", "1600x1200"] elif string.atoi(vidRam) >= 6144: modes["8"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024", "1400x1050", "1600x1200"] modes["16"] = ["640x480", "800x600", "1024x768", "1152x864", + "1280x960", "1280x1024", "1400x1050", "1600x1200"] modes["32"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024"] elif string.atoi(vidRam) >= 4096: modes["8"] = ["640x480", "800x600", "1024x768", "1152x864", - "1280x1024"] + "1280x960", "1280x1024"] modes["16"] = ["640x480", "800x600", "1024x768", "1152x864", - "1280x1024"] + "1280x960", "1280x1024"] modes["32"] = ["640x480", "800x600", "1024x768", "1152x864"] elif string.atoi(vidRam) >= 2048: modes["8"] = ["640x480", "800x600", "1024x768", "1152x864", - "1280x1024"] + "1280x960", "1280x1024"] modes["16"] = ["640x480", "800x600", "1024x768", "1152x864"] modes["32"] = ["640x480", "800x600"] elif string.atoi(vidRam) >= 1024: @@ -871,9 +878,12 @@ class XF86Config: # end of potentially unused code def write (self, path): - config = open (path + "/XF86Config", 'w') - config.write (self.Version3Config ()) - config.close () +# +# XXX - don't write XFree86 3.x configs any more +# +# config = open (path + "/XF86Config", 'w') +# config.write (self.Version3Config ()) +# config.close () try: config4 = self.Version4Config (self.videocard) except RuntimeError: |