I tried your change. It still fails (but I did not reboot, assuming no
reboot needed)
Traceback (most recent call last):
File "<string>", line 8, in kcontrol_bridge_create_displayconfig
File "/usr/lib/python2.4/site-packages/displayconfig.py", line 1677,
in create_displayconfig
return DisplayApp(parent, name)
File "/usr/lib/python2.4/site-packages/displayconfig.py", line 443,
in __init__
self.xsetup = XSetup(self.xconfigpath)
File "/usr/lib/python2.4/site-packages/displayconfigabstraction.py",
line 368, in __init__
self._finalizeInit()
File "/usr/lib/python2.4/site-packages/displayconfigabstraction.py",
line 387, in _finalizeInit
self.setLayout(gfxcard._getDetectedLayout())
File "/usr/lib/python2.4/site-packages/displayconfigabstraction.py",
line 935, in setLayout
gfxcard.setLayout(XSetup.LAYOUT_CLONE)
File "/usr/lib/python2.4/site-packages/displayconfigabstraction.py",
line 1143, in setLayout
screen._resyncResolution()
File "/usr/lib/python2.4/site-packages/displayconfigabstraction.py",
line 1782, in _resyncResolution
self.gfx_card.setup.getPrimaryScreen()._resyncResolution()
File "/usr/lib/python2.4/site-packages/displayconfigabstraction.py",
line 1738, in _resyncResolution
(preferred_width,preferred_height) =
self.getAvailableResolutions()[self.getResolutionIndex()]
IndexError: list index out of range
error: *** runFunction failure
On 8/8/06, hedgey504 <[EMAIL PROTECTED]> wrote:
> Alas for no preview on this site.
>
> Here it is again with the bb code removed:
>
> This turns out to be an easy fix. Edit this file as root (sudo):
>
> /usr/lib/python2.4/site-packages/displayconfigabstraction.py
>
> Change line 1648 as follows:
>
> if (size[0],size[1]) in self.standard_sizes]
>
> to
>
> if (1) ] #(size[0],size[1]) in self.standard_sizes]
>
> (commenting out the remainder of the line)
>
> Basically the function _computeSizesFromXorg() gets the available sizes
> from self.x_live_screen.getAvailableSizes() and then promptly discards
> any that are not in self.standard_sizes. TwinView resolutions are
> generally not standard. Woops.
>
> Original block:
>
> def _computeSizesFromXorg(self):
> self.available_sizes = [
> (size[0],size[1]) \
> for size in self.x_live_screen.getAvailableSizes() \
> if (size[0],size[1]) in self.standard_sizes]
>
> --
> Display Module in KDE System Settings "fails to load" [[Update: Only with
> nvidia twinview]]
> https://launchpad.net/bugs/39603
>
--
Display Module in KDE System Settings "fails to load" [[Update: Only with
nvidia twinview]]
https://launchpad.net/bugs/39603
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs