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

Re: Bug#318634: dpkg-reconfigure xserver-xorg forget all the previous value



El Sábado, 16 de Julio de 2005 19:22, Sylvain LE GALL escribió:
> Package: xserver-xorg
> Version: 6.8.2.dfsg.1-2
> Severity: normal
>
> Hello,
>
> First of all, i would like to thank you for the great work done from
> XFree86 to X.org.
>
> When i try to reconfigure X.org i use the standard "dpkg-reconfigure
> xserver-xorg" command line. All the values are taken into account and
> written in /etc/X11/xorg.conf (and a backup file is created). BUT if i
> do it again, all the values i have set are forgotten... That is a little
> bit annoying -- especially when you are trying new configurations ;-)
>
> The value reported by "debconf-show xserver-xorg" are the good ones (see
> below), but it seems that they are overwritten at the beginning of the
> xserver-xorg.config... (i don't know where).

	Hello, Sylvain. Could you please patch your current
/var/lib/dpkg/info/xserver-xorg.config with the attached patch and
run dpkg-reconfigure xserver-xorg again? It should finally preserve old 
values.

	I fixed it while doing other X debugging and find it extremely annoying (and 
not the old behaviour). I do not see the point of resetting the values if the 
string $XORG_FORCE_PROBE is empty, so I simply removed it.

	Best regards,


		Ender.
-- 
El conceto es el conceto.
		-- Pazos (Airbag).
--
Debian developer
--- /var/lib/dpkg/info/xserver-xorg.config.orig	2005-07-12 21:07:50.000000000 +0200
+++ /var/lib/dpkg/info/xserver-xorg.config	2005-07-18 13:24:16.251799609 +0200
@@ -1333,7 +1333,7 @@
 # using xresprobe; this implies forcing all values back to their defaults
 XORGTEMPLATES="$(debconf-show xserver-xorg | sed -e 's/^\*//g' | awk '{print $1}' | sed -e 's/\:$//g')"
 if [ -n "$RECONFIGURE" ]; then
-  if [ -z "$XORG_FORCE_PROBE" ] || [ "$XORG_FORCE_PROBE" = "yes" ]; then
+  if [ "$XORG_FORCE_PROBE" = "yes" ]; then
     debug_echo "resetting all values."
     for i in $XORGTEMPLATES; do
       db_reset $i

Attachment: pgpmFAxZ7Go4X.pgp
Description: PGP signature


Reply to: