public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: dual monitors and dual desktops
Date: Thu, 25 Oct 2012 17:40:47 +0000 (UTC)	[thread overview]
Message-ID: <k6btiv$hmu$1@ger.gmane.org> (raw)
In-Reply-To: CAHNvW1KV4HSgGPa8uzgFLMN9Ep+bCp64_0nbKvs4SjhYUhyMJw@mail.gmail.com

On 2012-10-25, Kfir Lavi <lavi.kfir@gmail.com> wrote:
> On Thu, Oct 25, 2012 at 4:41 PM, Grant Edwards <grant.b.edwards@gmail.com>wrote:
>
>> On 2012-10-25, Kfir Lavi <lavi.kfir@gmail.com> 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



  reply	other threads:[~2012-10-25 17:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-25 12:42 [gentoo-user] dual monitors and dual desktops Kfir Lavi
     [not found] ` <CAJnjPw5kbkAzHjMwx29Snofodr4CU+r673vcaxOT+J-WdUhTEQ@mail.gmail.com>
2012-10-25 13:08   ` [gentoo-user] Re: [Fluxbox-users] " Kfir Lavi
     [not found]     ` <CABYmaHMBLzw_Mf5S+MjSqmKzv=Bu+OPiCrBGr9p9f5tOeA3R1Q@mail.gmail.com>
2012-10-25 16:14       ` Kfir Lavi
2012-10-25 13:11 ` [gentoo-user] " mindrunner
2012-10-25 13:21   ` Kfir Lavi
2012-10-25 14:41 ` [gentoo-user] " Grant Edwards
2012-10-25 16:15   ` Kfir Lavi
2012-10-25 17:40     ` Grant Edwards [this message]
2012-10-25 22:38       ` mindrunner
2012-10-26 14:42         ` Grant Edwards
2012-10-26 16:12 ` [gentoo-user] " Mark David Dumlao
2012-10-28  7:49   ` Kfir Lavi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='k6btiv$hmu$1@ger.gmane.org' \
    --to=grant.b.edwards@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox