From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5841F138010 for ; Thu, 25 Oct 2012 17:43:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11A8F21C076; Thu, 25 Oct 2012 17:42:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 63FD921C02B for ; Thu, 25 Oct 2012 17:41:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id ED35733D90C for ; Thu, 25 Oct 2012 17:41:13 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.718 X-Spam-Level: X-Spam-Status: No, score=-1.718 tagged_above=-999 required=5.5 tests=[AWL=-2.181, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=1.2, RP_MATCHES_RCVD=-0.737, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VirmpiE2ybMO for ; Thu, 25 Oct 2012 17:41:07 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B1C7133D876 for ; Thu, 25 Oct 2012 17:41:06 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TRRQa-00089c-Ea for gentoo-user@gentoo.org; Thu, 25 Oct 2012 19:41:08 +0200 Received: from dsl.comtrol.com ([64.122.56.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Oct 2012 19:41:08 +0200 Received: from grant.b.edwards by dsl.comtrol.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Oct 2012 19:41:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: dual monitors and dual desktops Date: Thu, 25 Oct 2012 17:40:47 +0000 (UTC) Message-ID: References: X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dsl.comtrol.com User-Agent: slrn/pre1.0.0-18 (Linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Archives-Salt: 1de55545-be3c-4fce-a6ba-4b49f374a35e X-Archives-Hash: 422a4d5684a40c79286e1e57bb88ed09 On 2012-10-25, Kfir Lavi wrote: > On Thu, Oct 25, 2012 at 4:41 PM, Grant Edwards wrote: > >> On 2012-10-25, Kfir Lavi wrote: >> >> > I have a laptop and an external monitor. >> >> Here's how I do it using Xorg.config >> >> ---------------------------------------------------------------------- >> Section "ServerLayout" >> Identifier "Triple" >> Screen 0 "Samsung0" >> Screen 1 "Samsung1" rightof "Samsung0" >> Screen 2 "Acer" leftof "Samsung0" >> InputDevice "Mouse0" "CorePointer" >> InputDevice "Keyboard0" "CoreKeyboard" >> EndSection >> ---------------------------------------------------------------------- >> >> There are three Device sections (one for one video card, and one for >> each of the DVI outputs on a second video card). There are then three >> corresponding Screen sections (named Samsung0, Samsung1, and Acer). >> >> > Does this setup really separate the screens to 2 desktops and not one big > virtual desktop? My configuration above provides 3 separate X displays and 3 separate desktops. The mouse pointer and focus moves among the three screens as you would expect, but each screen is a a separate X display. The three DISPLAY variables end up as ":0.0", ":0.1", and ":0.2". [There's only one X server running.] That means you can't drag a window from one screen to another, and a window can't overlap across two screens. It also means for a few applications you can only have the app running on one screen at a time. The vast majority of X apps don't care. But some, like Firefox (and other web browsers like Chrome and Opera), have added extra logic to prevent it. You'll have to ask the developers why, but I think it has something to do with their unwillingness to deal with file-locking when accessing config files. In _my_ particular configuration, I also have XFCE configured so that each of the three screens is configured with a pager that can flip through four virtual desktops independently of the other two screens. So I actually have a total of 12 virtual desktops (3 sets of 4). -- Grant Edwards grant.b.edwards at gmail.com