Archive for the ‘xorg.conf’ Category

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

Up and Running

With the help of a buddy at work who is much more versed in the world of Linux than I am, I have gotten Ubuntu Gutsy Gibbon Tribe 5 to install on a separate partition and dual boot it with Vista Business.

My Dell XPS m1330 laptop shipped with Vista Biz edition on there and I wanted to keep it since there wasn’t much crapware preinstalled (thankfully). I uninstalled McAfffee Antivirus as that service has gone downhill as of late. I now use Antivir which nags every now and then, but at least is free and self-updates.

I went over to APC mag’s step by step walk through of this process and it went off without a hitch. Well, that’s not quite true. I was a dork and first tried to install Ubuntu Feisty Fawn and that didn’t seem to like the m1330 too much. I figured it’d be more stable, but that did not turn out to be the case. I couldn’t get X11 to start and ended up at the command line trying to fiddle with a configuration files for X11 (xorg.conf) to see if I could get it going. A fellow dual-booter at work told me that I’d have to move up to the Gutsy Gibbon tribe 5 version of Ubuntu and then it would work. Lo and behold he was right.

After the install, I was told to add a few lines to xorg.conf as found in this bug report. Adding those lines made the upper and lower menu bar hang out in their proper places instead of taking up what looked like 1024×768 territory.

As soon as I started up with the screen looking the way it should, I proceeded to run the update manager which seemed to find a bunch of things to update and proceeded to download and install them. I messed around with some of the settings to change font size since they were way too big and turned on more effects that I believe are powered by compiz. The effects while completely unnecessary add to my enjoyment of using Ubuntu immensely. I’m not sure what it is about having the nice effects and just the right setup, but it helps me enjoy my computing much more. For example, on Vista, I installed rocket dock, icon packager with their Local Flavor icon pack, along with a nice vintage looking desktop wallpaper from interfacelift. I also got rid of the Vista and Google Desktop sidebars in favor of Yahoo’s Konfabulator…er Widgets.

Anyway, Ubuntu has been a pretty nice system thus far and seems like it can be my primary OS except for the fact that I haven’t found drivers for my printer yet. This seems to be the achilles heel of Linux. Darned hardcopies!