You are not logged in.

#1 2010-11-02 23:52:51

Axiom
Member
From: Chicago
Registered: 2010-10-31
Posts: 10

Laptop - External Display

Hi all,

I'm trying to setup Arch so that when my laptop is docked it will display video on the attached DVI monitor.

My xorg.conf:    http://paste.pocoo.org/show/285243/

Thanks!

Offline

#2 2010-11-03 00:15:44

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Laptop - External Display

Xrandr can do the switching/cloning/whatever if the hotkeys don't work.
Not sure if there is a more elegant method to have this triggered by an acpi event, quick google just came up with this.

Offline

#3 2010-11-03 00:27:06

Axiom
Member
From: Chicago
Registered: 2010-10-31
Posts: 10

Re: Laptop - External Display

hokasch wrote:

Xrandr can do the switching/cloning/whatever if the hotkeys don't work.
Not sure if there is a more elegant method to have this triggered by an acpi event, quick google just came up with this.

I've tried XRANDR and it errors with "Can't open display".

Offline

#4 2010-11-03 00:33:21

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Laptop - External Display

Does it at least list the external screen when you run it without arguments? Maybe try without xorg.conf, I have not used one for a long time.

Offline

#5 2010-11-03 00:37:54

Axiom
Member
From: Chicago
Registered: 2010-10-31
Posts: 10

Re: Laptop - External Display

hokasch wrote:

Does it at least list the external screen when you run it without arguments? Maybe try without xorg.conf, I have not used one for a long time.

Whether it's run with arguments or without.  It results in the same error.  "Can't open display".

Offline

#6 2010-11-03 18:40:01

dudko
Member
Registered: 2010-03-04
Posts: 41

Re: Laptop - External Display

Maybe doesn't help, but try arandr. It's a simple gui for xrandr.

Offline

#7 2010-11-08 12:15:30

quigybo
Member
Registered: 2009-01-15
Posts: 223

Re: Laptop - External Display

First try restarting X without an xorg.conf and see what `xrandr --query` lists, then you can move on from there to build up an xorg.conf.

Why do you have several device sections pointing to the same pci address? Afaict from what you want you need one device, one screen and several monitor sections. Maybe try following http://intellinuxgraphics.org/dualhead.html on how to configure a static dual monitor setup. By the sounds of it though you want to have it switch while X is running, then using xrandr along with either a hotkey, script/icon or an acpi event would be the way to go, as hokasch mentioned and linked to.

Offline

Board footer

Powered by FluxBB