Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* setting mouse pointer?
@ 2000-12-16 21:22 chippr
  2000-12-17 16:40 ` Tony Hammitt
  0 siblings, 1 reply; 3+ messages in thread
From: chippr @ 2000-12-16 21:22 UTC (permalink / raw)


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

* 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

* Re: setting mouse pointer?
  2000-12-17 16:40 ` Tony Hammitt
@ 2000-12-18 15:11   ` chippr
  0 siblings, 0 replies; 3+ messages in thread
From: chippr @ 2000-12-18 15:11 UTC (permalink / raw)




Thanks Tony,

That's just what I needed.

Chip


Sent via Deja.com
http://www.deja.com/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-12-18 15:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-16 21:22 setting mouse pointer? chippr
2000-12-17 16:40 ` Tony Hammitt
2000-12-18 15:11   ` chippr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox