[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Sun, 24 Feb 2008 19:09:29 +0000 Kevin Lucas wrote: > Paul Sutton wrote: > > Grant Sewell wrote: > > > >> Hi all, > >> > >> Does anyone know if there is a way to have a "default" Xorg > >> config, but if it fails for an alternative config to be attempted > >> - I don't mind if this is within the Xorg config file or if it > >> involves some scripting. > >> > >> Background: I have a USB harddrive that I tend to keep with me. At > >> College I plug it into the machine connected to the projector, alas > >> the machines in question often have different setups. Some have > >> Intels, some have ATIs. Some have a VGA splitter so the monitor > >> and projector work together, some have single connections (either > >> monitor or projector, but not both). If I delete > >> the /etc/X11/xorg.conf file and restart X/GDM then Ubuntu goes > >> into 640x480 VESA mode from where I can then configure the driver, > >> resolution, refresh rate, etc. > >> > >> Since there are only a limited number of configurations (Intel + > >> Projector, Intel + Monitor, Intel + [Projector + Monitor], ATI + > >> Projector, ATI + Monitor, ATI + [Projector + Monitor]), it'd be > >> really handy if I could spend an hour sorting it out so that it > >> "just works" thereafter. > >> > >> Cheers. > >> Grant. > >> > >> > >> > > you can rename the xorg.conf to something else, that way if the > > main file gets screwed up you got a back up > > > > I guess, its possible to say have xorg.conf.card.monitor that > > works, if you switch over to a different card or something > > > > Paul > > > > > You may want to boot up in to Init 3 > (http://www.yolinux.com/TUTORIALS/LinuxTutorialInitProcess.html) > some distros successfully got to init3 on Ctrl Alt F1 > then run a script to see what graphics you have (ls pci ,lsmod, ls > usb etc) change to the right Xorg.conf > then run to Init 5 (/sbin/telinit 5) Sorry for the double reply... too keen on the clicking, I'm afraid. Anyho... init 3 vs init 5 tends to only really be an issue for RPM based distros. True it doesn't *actually* make any difference what they're based on, but a tendency is that Debian based distros opt for the Debian way of doing things, which is to have init 1 & 2 only (well, 0 and 6 as well). But you have got me thinking... maybe modify the GDM script to prompt for which machine I'm sitting at, then link/copy the appropriate xorg conf file and continue. Cheers. Grant. -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html