[prev in list] [next in list] [prev in thread] [next in thread]
List: xfree-xpert
Subject: RE: [Xpert]I want an invisible mouse cursor
From: Mark Vojkovich <mvojkovich () nvidia ! com>
Date: 2002-03-27 22:57:15
[Download RAW message or body]
On Wed, 27 Mar 2002, Torrey Hoffman wrote:
> John Blanco wrote:
> > Does anyone know a quick way to make the mouse cursor
> > in X invisible on
> > purpose? I'd like to put together a kiosk-like device (i.e. touch
> > screen) and I don't want the mouse arrow ever to appear...
>
> I did it by making a custom cursor, and setting that as the cursor as
> the second line of my xinitrc.
>
> My custom cursor has just a single pixel. It's essentially invisible
> on a TV screen. When debugging it's useful to be able to see something
> on a VGA screen. However, you could just as easily make it have no
> pixels set at all for a completely invisible cursor.
>
> then it's just:
>
> /usr/X11R6/bin/xsetroot -cursor /etc/X11/dot /etc/X11/dot
>
This only effects the root window (default) cursor. It
doesn't prevent apps from installing their own cursors. You'd
need an X-server hack to force client cursors invisible. Though
I suppose if you wrote all the clients you'd be running, which
may be the case for a kiosk-like device, you could ensure that
the clients didn't install custom cursors.
Mark.
_______________________________________________
Xpert mailing list
Xpert@XFree86.Org
http://XFree86.Org/mailman/listinfo/xpert
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic