* Re: setting mouse pointer?
2000-12-16 21:22 setting mouse pointer? chippr
@ 2000-12-17 16:40 ` Tony Hammitt
2000-12-18 15:11 ` chippr
0 siblings, 1 reply; 3+ messages in thread
From: Tony Hammitt @ 2000-12-17 16:40 UTC (permalink / raw)
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/
^ permalink raw reply [flat|nested] 3+ messages in thread