[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

XF86Config-4 not being modified by dpkg-reconfigure



I've got a sid box on which I wanted to change the resolution, so I ran "dpkg-reconfigure xserver-xfree86". Afterwards, I took a look at the /etc/X11/XF86Config-4 file, and found that it was not touched.

I've seen this before, and followed the instructions at the top of the XF86Config-4 file, as in:

#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

but that does not work on this machine. Also, this machine's XF86Config-4 file doesn't even have these instructions; the entire header area is different, looking like:

### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

I've looked in that FAQ.gz file; didn't see a solution. I tried reinstalling xserver-xfree86 ("apt-get --reinstall install xserver-xfree86"). I've tried "apt-file search XF86Config-4" and it returned nothing. I've tried copying over the XF86Config-4 file from the other machine. I've tried moving the file and running "X -configure", but the resulting file also remains resistant to changes from dpkg-reconfigure.

Sure I can manually tweak the file, but how do I get it to start paying attention to dpkg-reconfigure again?

Thanks!

--
Kent






Reply to: