[RFC] Forcing the xinerama grid

Éric Piel Eric.Piel at tremplin-utc.net
Sun Jan 20 10:27:21 PST 2008


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?

Eric Piel

[1] http://ktown.kde.org/~seli/fakexinerama/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fake-xinerama.patch
Type: text/x-patch
Size: 3537 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080120/3c3cf2de/attachment.bin>


More information about the xorg mailing list