[RFC] Forcing the xinerama grid

Lubos Lunak l.lunak at suse.cz
Mon Jan 21 06:24:17 PST 2008


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?

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http//www.suse.cz



More information about the xorg mailing list