On Mon, 2 Feb 2015 20:11:51 +0000 (UTC) Bela Nagy <[email protected]>
said:

> Hi,
> 
> I have a laptop which I'd like to use with external monitors in dual head
> mode. At work I put my laptop to a docking station, and it connects to a
> monitor with output "DP1". Before going home I suspend the laptop, and at
> home I connect it to my monitor with output "HDMI2".
> 
> I have 2x3 virtual desktops on both heads with lots of windows open, and
> when I wake my laptop up from suspend all of the windows go to the first
> virtual desktop of the internal screen. This sucks.

because e got an event saying the screen was unplugged. so it dumped all the
windows on the now gone sceen onto the current desktop of whatever screen was
left around.

> Obviously I'd like to keep the windows on their original desktops no matter
> what output I use (everything is fullHD btw). This seems to be impossible to
> do with E19. 

try git. i completely rewrote the randr code recently and it has a delay on
responding to plug/unplug events to try and skip these events that say "hey
monitor unplugged" then half a second later" hey.. monitor plugged in now!".

what i haven't done:

laptop lid open/close doesnt turn off the internal lid screen (as if it were
unplugged). unless xorg sends us an unplug event we wont deal with this
properly. infra is there to potentially deal with it but no code does and no
testing done.

a long term goal is to make hotplugging of displays beetter by placing
unplugged screens into "purgatory". the screen is hibernated and lurks
virtually with all content and you can access it and decide what to do with
it. either leave it there, or dump it on the current screen etc. but this
requires a lot of changes to core e infra - like tracking specific screens
directly (zones need to know about randr id - eg edid info), and i have to make
the purgatory mode for zones work (it just has apis and a flag atm). once that
works there needs to be a ui (likely attached to the pager) that can list all
current purgatory zones (and visually their content maybe) allowing you to drag
off specific windows, whole desktops or the entire screen onto an existing
screen. all of this first required the ranndr code to get a major rewrite and
i've done that. next step is to fix up the config dialog to be far more usser
friendly. then i might get to the above purgatory mode.

> I've tried adding a virtual output (VIRTUAL1) to "keep" my external windows
> when the other outputs are changing, but this does not work reliably. I've
> tried to edit the e_randr.cfg files and disable the automatic reconnection
> of the DP1 and HDMI2 outputs, so I could do everything I want with a script,
> but this way my windows still keep going in the wrong way sometimes.
> 
> So, can E19 do what I'd like to see? Or can I disable everything randr
> related without recompiling E?
> 
> Thanks, B
> 
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> enlightenment-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to