Docking Station + X WIndows
I have a Dell D800 laptop which I use as my work computer and my personal computer. At work, I have it connected to a docking station and I have it set up for dual Dell 2001FP displays. At home, I just use the laptop without a docking station.
As it stands now, I have two different xorg.conf files. On for use with the docking station and one to use when I am using the laptop as a standalone system. I boot into runlevel 3 and just cp the configuration I want to use to xorg.conf and run startx.
This is a pain to have to go through each time so I am wondering if there is a better way. Ideally I would like to have the laptop decide what to use by determining if it is docked or not, but I am not sure if this is possible. The other option would to have both configurations in the same file and just pass startx an argument.
I am at a loss and would like to hear what other people have done with there laptops. Any help to point me in the right direction would be beneficial. Thanks.