22
10
Since I found a different method to achieve my goal, and since no answer was posted to my previous question, I've changed the question to match the answer I found.
Is there a way to turn off my laptop's monitor and turn on the external monitor(and vice-versa) entirely from the command line?
I was just googling for the exact same thing and I stumbled on this question which you asked only 7 minutes ago. That's friggin amazing. I do hope you get an answer. – JD Long – 2010-06-21T14:13:27.833
I know that you can drop a basic
xorg.conf
into the root (/root/yorg.conf.new
) directory, if you boot into recovery mode and executeX --configure
(or similar). – Bobby – 2010-06-21T14:24:05.460the problem (at least for me) is that I don't want to write out an xorg.conf by hand. I want to dump my current settings into xorg.conf format then change settings with the GUI and then dump those into a file. Then I can write a script to change between the two settings really easy. Right now I have to go into the GUI and click half a dozen times to change my settings. – JD Long – 2010-06-21T14:42:28.160
@JD Long: That is exactly what I'm trying to do as well. Make sure to write here if you ever find a way. The only two things missing for my script are the xorg.conf files, and a command to refresh the current displays (without having to do gdm restart). – Malabarba – 2010-06-21T15:18:34.220
I've been experimenting with disper today (http://willem.engen.nl/projects/disper/). The help file shows a -p option which is supposed to export. Only that switch is not implemented. sad trombone
– JD Long – 2010-06-21T16:44:43.567