From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IUdpp-0004Uu-Hs for garchives@archives.gentoo.org; Mon, 10 Sep 2007 07:37:29 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8A7TGXZ027334; Mon, 10 Sep 2007 07:29:16 GMT Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.236]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l8A7P0Bw022465 for ; Mon, 10 Sep 2007 07:25:01 GMT Received: by nz-out-0506.google.com with SMTP id s18so452690nze for ; Mon, 10 Sep 2007 00:25:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Es2JsjuuvtJOrpRnpCqpJ6ppsQ6Igl/tr9wHFhUPWag=; b=hmjapxX+JdRAKDVId3ZiyYQpaQWZc2fri5Ai4Ft+XfTgOrvRajStAbPSASsu9u/AsC8o9W28JO2AXB9gIHogyMXIa0M0YEDR195uYISmsyZevQAcmj/8neMDHYC1IPdTF5rnxbq4h/ndlqWxbyd4Y69UMkQhp2l++451qceURIo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EK8HvUeNpewl/d6S2R9lg9D+tit9DqbmSmCZbeM2aL5RLS7GYvJYLuYMQDvFhvUX+zu/l3Eyj2Bz95TcBuEzbJWOFCnaW68cfGY8esjLY8FpU58jyvg180Kl15n3P6Gze56Yx3j381xFjs0yJJcYhFV/SehYODv/+87cNcRtfLE= Received: by 10.142.212.19 with SMTP id k19mr205747wfg.1189409099436; Mon, 10 Sep 2007 00:24:59 -0700 (PDT) Received: by 10.143.19.21 with HTTP; Mon, 10 Sep 2007 00:24:59 -0700 (PDT) Message-ID: <6142e6140709100024ua974aelad87d574fffe75ae@mail.gmail.com> Date: Mon, 10 Sep 2007 09:24:59 +0200 From: "Daniel Pielmeier" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Xorg.conf changes and dual screen setup In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46E474BF.9090408@googlemail.com> X-Archives-Salt: 044498d2-2132-4ccf-b1c0-0f1ff90679fd X-Archives-Hash: a90842f3b2066222d4ef0b5cf39c8341 > Now my ~/bin/Xinitialize begins > > #!/bin/sh > sleep 2 > > if xrandr | grep "VGA connected" ; then > xrandr --verbose --output VGA --mode 1600x1200 --output LVDS --off > else > xrandr --verbose --output VGA --off --output LVDS --mode 1680x1050 > fi > xset s reset # above seems to blank the screen > sleep 3 > > This sets 1600x1200 and turns off the laptop screen when the ext > monitor is in. It sets 1680x1050 and turns off driving the external > monitor connector (which may well be a useless step) when there is no > ext monitor connected. Thanks for your answer, i will try if i can get it working like this but randr doesn't seem to work on the secondary device. I have heard that nvidia cards doesn't support randr 1.2 so i will give it a try with randr disabled in my configuration. One thing is that i want the two screens (where i can move between with the mouse) avaialable not only one. I would also prefer a solution which works with the xorg configuration file. Regards, Daniel -- gentoo-user@gentoo.org mailing list