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

Bug#321863: xserver-xfree86: check if will make new XF86Config-4 first



Dan Jacobson wrote:
> Nowadays all I know is xorg.conf should in its comments, say the best
> way to regenerate this file. E.g.,
> # mv xorg.conf xorg.conf.old
> # xdebcofigureator #or what ever it is called, that probes hardware
> and makes a new xorg.conf

dexconf currently inserts the following test in the header of xorg.conf.
Don't you think the last 6 lines are enough? I agree that it is not
totally clear that you can just run 'dpkg-reconfigure xserver-xorg' to
get xorg.conf updated if you didn't modify the file by hand. Feel free
to prepare a patch against debconf :) Depending on your answer, I will
either close this bug or make it a wishlist against x11-common with a
updated title.

Thanks.
Brice


# xorg.conf.dpkg-new (Xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf.dpkg-new manual page.
# (Type "man xorg.conf.dpkg-new" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# 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/xorg.conf.dpkg-new /etc/X11/xorg.conf.dpkg-new.custom
#   md5sum /etc/X11/xorg.conf.dpkg-new
>/var/lib/xfree86/xorg.conf.dpkg-new.md5sum
#   dpkg-reconfigure xserver-xorg




Reply to: