Bug#318634: dpkg-reconfigure xserver-xorg forget all the previous value
Hello, On Mon, Jul 18, 2005 at 01:30:13PM +0200, David Martínez Moreno wrote: > 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. > It works better, but it is stillg forgetting the name of my monitor (ViewSonic VP171b). I can see it in the debconf-show xserver-xorg. Thank you Sylvain Le Gall -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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.0 +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 pgpNA7EIYYA5j.pgp Description: PGP signature
Bug#318634: dpkg-reconfigure xserver-xorg forget all the previous value
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). Thanks for your work Kind regard Sylvain Le Gall -- Package-specific info: Contents of /var/lib/xfree86/X.roster: xserver-xorg /etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum. X server symlink status: lrwxrwxrwx 1 root root 17 2005-07-14 01:41 /etc/X11/X -> /usr/bin/X11/Xorg -rwxr-xr-x 1 root root 1835416 2005-07-12 21:08 /usr/bin/X11/Xorg /var/lib/xfree86/XF86Config-4.roster does not exist. VGA-compatible devices on PCI bus: :01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 00f1 (rev a2) /var/lib/xfree86/XF86Config-4.md5sum does not exist. Xorg X server configuration file status: -rw-r--r-- 1 root root 3513 2005-03-15 01:21 /etc/X11/XF86Config-4 Contents of /etc/X11/XF86Config-4: # XF86Config-4 (XFree86 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 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-xfree86 Section "Files" FontPath"unix/:7110"# local font server # if the local font server has problems, we can fall back on these FontPath"/usr/lib/X11/fonts/misc" FontPath"/usr/lib/X11/fonts/cyrillic" FontPath"/usr/lib/X11/fonts/100dpi/:unscaled" FontPath"/usr/lib/X11/fonts/75dpi/:unscaled" FontPath"/usr/lib/X11/fonts/Type1" FontPath"/usr/lib/X11/fonts/CID" FontPath"/usr/lib/X11/fonts/Speedo" FontPath"/usr/lib/X11/fonts/100dpi" FontPath"/usr/lib/X11/fonts/75dpi" EndSection Section "Module" Load"bitmap" Load"dbe" Load"ddc" Load"extmod" Load"freetype" Load"glx" Load"int10" Load"record" Load"type1" Load"vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "fr" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device""/dev/misc/psaux" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Generic Mouse" Driver "mouse" Option "SendCoreEvents""true" Option "Device""/dev/input/mice" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" EndSection Section "Device" Identifier "ATI Radeon 9200 (DRI)" Driver "ati" Option "AGPMode" "4" EndSection Section "Device" Identifier "NVidia 6600 GT" Driver "nvidia" Option "RandRRotation" "true" EndSection Section "Device" Identifier "ATI Radeon 9200 (fglrx)" Driver "fglrx" Option "VideoOverlay" "on" Option "OpenGLOverlay" "off" Option "UseInternalAGPGART" "no" EndSection Section "Monitor" Identifier "VP171b" HorizSync 30-82 VertRefresh 60-60 Option "DPMS" EndSection Section "Screen" Identifier "Default Screen" Device "NVidia 6600 GT" Monitor "VP171b" DefaultDepth24 SubSection "Display" Depth 1