PDA

View Full Version : [ubuntu] dpkg-reconfigure xserver-xorg Does not work with Hardy



philinux
April 25th, 2008, 12:09 AM
If you upgraded then your xorg.conf file wil still be in tact. However if you run this command it will be replaced.

Under Hardy xorg.conf is a stub file.

This is mine.


cat /etc/X11/xorg.conf
# xorg.conf (X.Org 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 manual page.
# (Type "man xorg.conf" 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 command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Emulate3Buttons" "true"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection

Joeb454
April 25th, 2008, 12:11 AM
I've found this too. It makes it difficult to manually edit the file yourself should you need to.

However the command worked for me when I had to reconfigure X :)

philinux
April 25th, 2008, 12:29 AM
Yep it can cut both ways. I got my resolution back using it. It needs a warning.