An option that might help that just regenerates your xorg.conf file is to boot into recovery mode. I believe Ubuntu gives you one in GRUB (Linux Mint does). So when you boot up your system select your current kernel (recovery) and then go down to "FailsafeX" and hit enter. Then select the option "Reconfigure Graphics" and then "Use default (generic) configuration." That'll give you a brand new xorg file if you want to just get back into Linux incase you installed the wrong drivers (for example if I install the wrong NVIDIA drivers on my laptop). You can then reinstall the drivers once you start back up if you'd like.
A forum community dedicated to Android phone owners and enthusiasts. Come join the discussion about applications, recovery, developments, styles, reviews, accessories, classifieds, and more for Unbuntu, Google Nexus, HTC, Motorola, Samsung or other Android models!