Xinerama - start apps on specific screen

Alexander Toresson alexander.toresson at gmail.com
Sun Jan 7 11:32:48 CET 2007


On 1/7/07, Benjamin Winkel <uzspde at uni-bonn.de> wrote:
> Hi all,
>
> on my Laptop I have configured an external Display using the ATI flgrx
> driver to have an extended Xinerama-like Desktop. All works fine (except
> for some ugly artefacts). But when I use the Laptop without the second
> Display I get the following problem: some apps 'remember' somehow on
> which screen they were last time. Starting such an app it eventually
> tries to get onto the external screen (which doesn't exist at that
> moment) though it seems to not reach it. The process is running, but
> there isn't any window e.g. in the pager.
>
> Is there a possibility to add a command line parameter to specify on
> which screen an app should appear? If not, any other suggestions. A
> (silly) workaround would be to change the xorg.conf each time the
> display configuration is changed. But thats not my favorite option...
>
> Thanks
>
> Benjamin

I think that this is because X still thinks that the second screen
exists. I guess you could try to move it over/appear on the first
screen by using wmctrl or devilspie. But the definite solution to this
problem will not come until randr 1.2 is made common and supported by
your driver. This new version of the randr extension allows, among
other things, removing and adding new screens while X is running. I'm
not so sure support for this will be added quickly to fglrx, though,
as it's already using ancient kernel and X interfaces...

Regards, Alexander Toresson



More information about the Xfce mailing list