Comment 20 for bug 477309

Revision history for this message
Nick Moore (wln2qp-nick) wrote :

Can confirm same problem in 11.10 Ocelot ... on a very minimalist install, nvidia-settings complains to stderr when trying to save xorg.conf:

    sh: pkg-config: not found
    Traceback (most recent call last):
      File "/usr/share/screen-resolution-extra/nvidia-polkit.py", line 20, in <module>
        import gtk, gobject, sys, dbus, logging, os, re
    ImportError: No module named gtk

    ERROR: Unable to open X config file '/etc/X11/xorg.conf' for writing.

installing 'pkg-config' and 'python-gtk2' fixes the problem. It probably should also be dependent on 'nvidia-current' or something.