Warn and ask before clobbering manually edited xorg.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
restricted-manager (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Binary package hint: restricted-manager
On my system, disabling the nvidia driver reverted to the ati driver(!) rather than nv. It seemed to dump a new configuration based on debconf values, which in my case were out of date because I had hand-edited my configuration file. I had switched from an ATI card to an NVIDIA card, and updated my configuration file by hand rather than using dpkg-reconfigure. This means that the debconf values were for ATI, and I assume restricted-manager just generated a configuration based on those.
I expect this would probably affect other users with hand-edited configuration files. restricted-manager must either preserve those changes (preferred), or refuse to change the config file if it has been hand-edited (minimally).
I'll go with refusing to edit manually changed configurations for beta. dexconf and dpkg-reconfigure xserver-xorg clobber xorg.conf and only rely on debconf data, so fixing this to parse and modify xorg.conf is indeed a lot of work.