Gutsy - Ubuntu and Multi Monitors
I have Ubuntu64 (Gusty) installed on my Dell M65 (Core2Duo). I use it to host my VMware for my work Windows PC. It has been serving me well except for when I travel I need to constantly remember to edit my xorg.conf file I have saved each on my hdd so that I can do this easily Simply copy xorg.conf.laptop when I am on the go, or use xorg.conf.multi for when I work in the office and it is docked in the docking station.
My xorg.conf.laptop file looks like this: Code:
# nvidia-settings: X configuration file generated by nvidia-settings While my Multi-monitor xorg.conf.multi Code:
# nvidia-settings: X configuration file generated by nvidia-settings |
Cool... and is there a question in there?
|
hahaha, doh! I was so focused on making sure I placed both config files that I forgot to ask, how do I get my ubuntu laptop to do this sort of thing automatically that is to know that there is 3 monitors when on the docking station, or just the single monitor when I've undocked it?
|
Ahhh... don't think that can be done.
The way to make this easier would be to write a script to switch the configs. |
Automatically? Probably not. You can use xrandr to turn monitors on and off manually.
|
If Gutsy is similar to standard Debian there is a file /etc/init.d/xserver-xorg which is checked on boot to see if xorg.conf needs to be regenerated. This might be a good place to add a few lines to do the swap if the system can figure out which configuration is needed.
How to figure out the config? Maybe compare output of 'dmesg' in the two situations and see if there is a consistent difference? Then get the script to check for it. No idea if this would work. |
thanks for the input (and sorry for the late reply.
|
All times are GMT -5. The time now is 07:40 AM. |