[gentoo-user] Re: dual monitors and dual desktops

2012-10-26 Thread Grant Edwards
On 2012-10-25, mindrunner ker...@ccube.de wrote:
 On 10/25/2012 07:40 PM, Grant Edwards wrote:
 So I actually have a total of 12 virtual desktops (3 sets of 4).

 Searching the terminal window opened 6 hours ago on one of the 12
 virutal desktops sounds like fun :D


It's not as bad as it sounds. I rarely use more than 2 virtual
desktops, and depending on what I'm doing, there's an informal
system: when doing development the left monitor is for looking at
PDF datasheets, center monitor is for edit/build source files, right
hand monitor is for running the program.

When I get interrupted by a phone call or visitor and need to do
someting else temporarily, I flip one or more of the screens to a
different virtual desktop.

It's sort of like a CPU for which you have a reguster usage convention
and a stack to push in-use registers onto when you get interrupted
or have to switch contexts.

-- 
Grant Edwards   grant.b.edwardsYow! VICARIOUSLY experience
  at   some reason to LIVE!!
  gmail.com




[gentoo-user] Re: dual monitors and dual desktops

2012-10-25 Thread Grant Edwards
On 2012-10-25, Kfir Lavi lavi.k...@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
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 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).

Dunno anything about xrandr...

-- 
Grant Edwards   grant.b.edwardsYow! Here I am at the flea
  at   market but nobody is buying
  gmail.commy urine sample bottles ...




Re: [gentoo-user] Re: dual monitors and dual desktops

2012-10-25 Thread Kfir Lavi
On Thu, Oct 25, 2012 at 4:41 PM, Grant Edwards grant.b.edwa...@gmail.comwrote:

 On 2012-10-25, Kfir Lavi lavi.k...@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
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 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?


 Dunno anything about xrandr...

 --
 Grant Edwards   grant.b.edwardsYow! Here I am at the
 flea
   at   market but nobody is
 buying
   gmail.commy urine sample
 bottles ...





[gentoo-user] Re: dual monitors and dual desktops

2012-10-25 Thread Grant Edwards
On 2012-10-25, Kfir Lavi lavi.k...@gmail.com wrote:
 On Thu, Oct 25, 2012 at 4:41 PM, Grant Edwards 
 grant.b.edwa...@gmail.comwrote:

 On 2012-10-25, Kfir Lavi lavi.k...@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
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 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




Re: [gentoo-user] Re: dual monitors and dual desktops

2012-10-25 Thread mindrunner
On 10/25/2012 07:40 PM, Grant Edwards wrote:
 So I actually have a total of 12 virtual desktops (3 sets of 4).

Searching the terminal window opened 6 hours ago on one of the 12
virutal desktops sounds like fun :D