[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: How to have no mouse on a second screen
From:       Harald Braumann <harry () unheit ! net>
Date:       2008-03-30 11:13:58
Message-ID: 20080330131358.405c0d84 () sbs173
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Sat, 29 Mar 2008 19:49:19 +0100
Gilbert Brisset <gilbert.brisset@laposte.net> wrote:

> Hello,
> 
> I am developping a GUI under Java/Eclipse/Rich Client Platform on a 
> Linux Fedora host.
> There is two displays :
> - a standard 1600x1200 LCD display which holds the main GUI and is
> used by the operator
> - a Tv display connected to the analog Svideo output of the graphic
> card (Nvidia). This Tv displays a video that is overlayed by text and 
> reticles drawn by the Java RCP application. The Tv is outside and is
> not seen by the operator.
> 
> I use the closed source nvidia driver.
> I have configured the xorg.conf file with Xinerama.
> All works fine and I have the GUI on the LCD and the video with text
> and reticles on the Tv.
> 
> The problem is that the mouse cursor can go on the Tv display and, in 
> this case, the operator loses its cursor and no longer knows where it
> is.
> 
> There should be one solution :
> configure the xorg.conf file with two server-layouts :
> - one with the LCD display and the mouse
> - an other with the Tv display with no mouse
> 
> then go in the window manager configuration file (for Fedora it is
> Gnome and I have to modify the gdm/custom.conf file)
> and declare the two server-layout.
> 
> This works and builds two X displays :0.0 and :0.1
> 
> But Java/RCP is not able in one application to access to two displays.
Well, you could always split you app in two and use some IPC.

> 
> So the question is :
> Is it possible to configure the X system to disable the mouse on the 
> second screen ?
I guess it would be the job of the window manager to confine the mouse
to a certain area. However, I'm not aware of any WM that could be
configured the way you need it. But maybe you'll find one, that can.

harry

["signature.asc" (application/pgp-signature)]

_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic