Re: XF86Config-4 not being modified by dpkg-reconfigure
On 15 Jul 2004, Kent West wrote:
> 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 have something different in XF86Config-4:
# XF86Config-4 (XFree86 X 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.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver
Maybe try this?
Anthony
--
ac@acampbell.org.uk || http://www.acampbell.org.uk
using Linux GNU/Debian || for book reviews, electronic
Windows-free zone || books and skeptical articles
Reply to: