From: Tony Hammitt <thammitt@kc.rr.com>
Subject: Re: setting mouse pointer?
Date: Sun, 17 Dec 2000 16:40:01 GMT [thread overview]
Message-ID: <3A3CEC61.7174215C@kc.rr.com> (raw)
In-Reply-To: 91gmdo$g1j$1@nnrp1.deja.com
You do this with the xsetroot command.
Here's a sample cursor file:
======>pointer.xbm<======
#define pointer_width 16
#define pointer_height 16
#define pointer_x_hot 1
#define pointer_y_hot 1
static unsigned char pointer_bits[] = {
0x00, 0x00, 0x02, 0x00, 0x0c, 0x00, 0x3c, 0x00, 0xf8, 0x00, 0xf8, 0x03,
0xf0, 0x0f, 0xf0, 0x00, 0x60, 0x01, 0x60, 0x02, 0x40, 0x04, 0x40, 0x08,
0x00, 0x10, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00};
and a sample mask file:
======>pointermask.xbm<======
#define pointermask_width 16
#define pointermask_height 16
static unsigned char pointermask_bits[] = {
0x03, 0x00, 0x0f, 0x00, 0x3e, 0x00, 0xfe, 0x00, 0xfc, 0x03, 0xfc, 0x0f,
0xf8, 0x1f, 0xf8, 0x0f, 0xf0, 0x03, 0xf0, 0x07, 0xe0, 0x0e, 0xe0, 0x1c,
0x40, 0x38, 0x00, 0x70, 0x00, 0x20, 0x00, 0x00};
These can be edited in the 'bitmap' program. Then you just run:
xsetroot -cursor pointer.xbm pointermask.xbm
Regards,
Tony Hammitt
chippr@my-deja.com wrote:
>
> Anyone know how to set the mouse pointer to be the normal
> arrow instead of the big X you get in X?
>
> THanks
>
> CHip
>
> Sent via Deja.com
> http://www.deja.com/
next prev parent reply other threads:[~2000-12-17 16:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-16 21:22 setting mouse pointer? chippr
2000-12-17 16:40 ` Tony Hammitt [this message]
2000-12-18 15:11 ` chippr
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox