[RFC] Forcing the xinerama grid
Eric Piel
E.A.B.Piel at tudelft.nl
Mon Jan 21 08:50:33 PST 2008
Lubos Lunak wrote:
> On Sunday 20 of January 2008, Éric Piel wrote:
>> Hello,
>>
>> I have a need: being able to specify manually the grid of monitor seen
>> through xinerama. This is useful in particular for very big monitors
>> (like 1920x1200), so that windows don't take the whole screen when
>> maximized. The idea would be to fake having two monitors to the
>> applications. There already exist solutions for other OS's (GridVista,
>> GridMove...) but I couldn't find an easy way on Linux.
>>
>> Lubos Lunak has written a fake libXinerama [1] which instead of querying
>> the Xserver, just reads a file. I've adapted it to the latest
>> libXinerama so that it reads by default the Xserver informations and
>> uses a ~/.xinerama file if present. This file looks like this:
>> 2
>> 0 0 960 1200
>> 960 0 960 1200
>>
>> Could this solution make it to the official libXinerama? Otherwise, what
>> would you propose to answer this need?
>
> What is the problem with simply using fakeXinerma as intended, i.e.
> LD_PRELOAD, LD_LIBRARY_PATH or replacing the system library?
The problem is that I'd like it to be an "out the box" solution. eg: no
patching, no compilation, no mess with LD_LIBRARY_PATH. IOW, I'd like to
find a solution which can be part of the official xorg tree, because not
every one who buys a big screen is a developer ;-)
Eric
More information about the xorg
mailing list