[Gllug] x2x and xinerama

Matthew Allum breakfast at 10.am
Thu Dec 19 09:52:14 UTC 2002


Checking the source of x2x ( of whatevers in Debian sid ), it appears
x2x isn't  Xinerama aware :( and thus the X macro's it calls are
getting the display size wrong. 

A quick and dirty fix maybe to open up the x2x source and just replace
any XWidthOfScreen() calls with the hardcoded width of your screen (
1152 + 1024 ) and see if that works. 

Alternatively hassle the x2x author to add proper Xinerama support or
patch it in yourself ( shouldn't be too hard ). 

Good luck!

   -- Matthew

on Wed, Dec 18, 2002 at 01:44:50PM +0000, Mark Fowler wrote:
> Hello.
> 
> My desktop machine is a dual headed G400 running Xinerama, with both
> screens at a resolution of 1152x864.  My laptop is running at 1024x768.
> Both machines are running Linux, naturally [1].
> 
> Now, when I'm at my desk I work with my laptop in front of my desktop
> (where any sane person would put their keyboard.) I find the easiest thing
> to do is to is control the desktop though the mouse and keyboard attached
> to the laptop[2].  I use the 'x2x' program to do this.
> 
> The problem I've found is that if I use Xinerama and x2x at the same time
> badness happens.  When I move onto the second monitor on my desktop
> machine then the cursor  starts doing odd things - the mouse wraps round
> wrong, and when I click on things the click is transfered to the wrong
> monitor - all very odd.
> 
> So my questions:
> 
>   a) Does anyone know how to stop x2x doing this?
> 
>   b) Does anyone have any suggestions of better programs than x2x to use?
> 
> Thanks for your help.
> 
> Mark.
> 
> [1] Incase anyone wants the details, Debian, XFree86 4.2.1 on both
> 
> [2] I've found that the laptop keyboard doesn't give me wrist pain, where
> any desktop keyboard I've used causes 'RSI' to flare up rather painfully.
> 
> -- 
>   Mark Fowler
>   http://www.twoshortplanks.com/          The 2002 Perl Advent Calendar
>   mark at twoshortplanks.com               http://www.perladvent.org/2002/
>                              a different perl module featured every day
> 
> -- 
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug
> 

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list