Do does not allow separate x-sessions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Do |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
I'm running Gnome-Do 0.8, but the same behaviour prevails with previous versions.
With my dual-screen setup, I'm using separate x-sessions instead of the more common TwinView, because my laptop monitor and external monitor have different resolutions and XGL is out-of-date for 3D acceleration with Xinerama. The disadvantage is that windows cannot be dragged between the monitors, since each monitor is a separate x-session on its own.
One problem here is that Gnome-Do runs on the primary monitor (first x-session), and is not launchable from the secondary monitor. That is, when I press Ctrl-Space, nothing happens unless my focus is within the primary monitor.
Secondly, if I try to launch Gnome-Do manually using terminal commands or Alt-F2 in the secondary monitor, it then launches the program in my main monitor. This is different from other applications (cairo-dock, AWN, firefox etc.) where if I run the application in the secondary monitor (second x-session) it runs itself there (so in my setup I have two cairo-docks, one in each screen). There is no difference if I append DISPLAY=:0.1 in front of my command.
The net result of this is that, though I can work-around the launching of Gnome-Do by binding Ctrl-Space in my WM to run the command gnome-do, the launched applications will only show up in the monitor which Gnome-Do first starts on. So I can't use gnome-do to start any applications on the other monitor.
The simplest solution (I think) would be to have gnome-do launch a new copy of itself in any different x-sessions. True multi-x-session capability (only one running copy, but spawns gnome-do on the x-session with focus) a la GIMP is quite difficult, I believe, and I've never had a problem with gnome-do taking up system resources, so two copies of it should not be a problem.
An alternative work-around would be to have a small plugin which prefixes the commands run by gnome-do with DISPLAY=:0.1 or DISPLAY=:0.0 depending on which monitor is active. This would scale to any number of displays, of course, without the requirement for multiple running copies of Do.
This is not really a comment on your bug, which we may want to fix, but
your two monitors having different resolutions is not a barrier to using
TwinView. I've never used TwinView with two monitors of the same
resolution!