Archive for the ‘xorg.conf’ Tag

xorg.conf busted again

I took an update a day or two ago and wasn’t paying much attention. Today, I booted up my XPS m1330 and found that I can’t get out of 640×480…argh!!

It seems that my xorg.conf was overwritten by something that I installed over the last day or two and it just took a reboot to take effect. Luckily, whatever overwrote the file made a backup copy so I make a copy of the messed up file by doing:

sudo cp xorg.conf xorg.conf.messedup
and then copying my working file back then rebooting:

sudo rm xorg.conf
sudo cp xorg.conf.1 xorg.conf
sudo reboot

Anyway, that seemed to do the trick. I asked my work buddy who figured out the original work around for the XPS m1330 to let me post it online and I’ve included it here:

# xorg.conf (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 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 "Files"
EndSection

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

Section "InputDevice"
Identifier	"Configured Mouse"
Driver		"mouse"
Option		"CorePointer"
Option		"Device"		"/dev/input/mice"
Option		"Protocol"		"ImPS/2"
Option		"ZAxisMapping"		"4 5"
Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
Identifier	"Synaptics Touchpad"
Driver		"synaptics"
Option		"SendCoreEvents"	"true"
Option		"Device"		"/dev/psaux"
Option		"Protocol"		"auto-dev"
Option		"HorizScrollDelta"	"0"
Option		"SHMConfig"		"true"
EndSection

Section "InputDevice"
Driver		"wacom"
Identifier	"stylus"
Option		"Device"	"/dev/input/wacom"
Option		"Type"		"stylus"
Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
Driver		"wacom"
Identifier	"eraser"
Option		"Device"	"/dev/input/wacom"
Option		"Type"		"eraser"
Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
Driver		"wacom"
Identifier	"cursor"
Option		"Device"	"/dev/input/wacom"
Option		"Type"		"cursor"
Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "Device"
Identifier	"Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
Driver		"intel"
Option		"monitor-TV" "TVOutput"
BusID		"PCI:0:2:0"
EndSection

Section "Monitor"
Identifier  "TVOutput"
Option      "Ignore" "true"
EndSection

Section "Monitor"
Identifier	"Generic Monitor"
Option		"DPMS"
EndSection

Section "Screen"
Identifier	"Default Screen"
Device		"Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
Monitor		"Generic Monitor"
DefaultDepth	24
SubSection "Display"
Modes		"1280x800"
EndSubSection
EndSection

Section "ServerLayout"
Identifier	"Default Layout"
Screen		"Default Screen"
InputDevice	"Generic Keyboard"
InputDevice	"Configured Mouse"
InputDevice     "stylus"	"SendCoreEvents"
InputDevice     "cursor"	"SendCoreEvents"
InputDevice     "eraser"	"SendCoreEvents"
InputDevice	"Synaptics Touchpad"
EndSection
Follow

Get every new post delivered to your Inbox.