On Tue, 3 Feb 2015 20:07:10 +0000 (UTC) Bela Nagy <[email protected]> said:
> Carsten Haitzler <raster <at> rasterman.com> writes: > > > On Mon, 2 Feb 2015 20:11:51 +0000 (UTC) Bela Nagy <m8r-hh6y17 <at> > mailinator.com> > > said: > > > 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!". > > Will this work when a new monitor connects to a new output? > I think this could happen when a laptop resumes from suspend. yes. > > 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 > > This "purgatory" sounds interesting. But I think handling disconnect events a > little bit differently could be another option here. What I have on my mind > is that when a screen is lost, one of the neighbor remaining screens could > increase its > size to cover the area of the lost screen by switching to panning mode. That > way the > "lost" windows could be easily accessed. oh god.. ouch.. no! not x11 panning! > Before switching to the git version of E, I'm still trying to play with E19 > and configure it using the VIRTUAL1 output to keep the windows of the second > head alive even when the real HDMI2 or DP1 output disappears. This is the > command I use now for HDMI2, I hope I can configure e_randr.cfg to make this > work. > > xrandr --fb 3840x1080 \ > --output eDP1 --mode 1920x1080 --pos 0x0 --rotate normal \ > --output VIRTUAL1 --mode 1920x1080 --pos 1920x0 --rotate normal \ > --output DP1 --off --output HDMI1 --off \ > --output HDMI2 --mode 1920x1080 --pos 1920x0 --rotate normal > > Thanks, B > > > > 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
