SUMMARY: Mouse Pointer Display

From: Eileen Schatz (ers@kestnbaum.com)
Date: Sat Jun 17 1995 - 13:29:03 CDT


Thanks to those who responded, my original question was:

-----------------------------------------------------------------------------
We have a sight impaired employee who needs the mouse pointer arrow to
be larger. We used to have a bigger arrow, but somehow we lost it.
Does anyone know how to change this or is there a program that will do
this?
-----------------------------------------------------------------------------

Basically you use the xsetroot command and put it in .xinitrc. The
only problem with this is it only changes the pointer when the pointer
is not in a window.

Stephen Dowdy gave the most comprehensive response:
--------------------------------------------------
Here's what you want! I always have people go:
        "Yuck! that cursor is huge, that's gross"

then generally see them using it later...

I snagged this from a Sony NEWS laptop i had on demo when i worked at
MicroAge hq.

I use:

% xsetroot -bg gold -fg black -cursor \
        ${HOME}/bitmaps/wedge.xbm ${HOME}/bitmaps/wedgemask.xbm

both files follow...

--stephen

=== wedge.xbm ===
#define cursor_width 64
#define cursor_height 64
#define cursor_x_hot 1
#define cursor_y_hot 1
static char cursor_bits[] = {
   0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0x00, 0x36, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00,
   0xca, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x14, 0x03, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0x00, 0x24, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00,
   0x48, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0xc0, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0x00, 0x10, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00,
   0x00,
   0x10, 0x02, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x04, 0x30,
   0x00,
   0x00, 0x00, 0x00, 0x00, 0x20, 0x08, 0xc0, 0x00, 0x00, 0x00, 0x00,
   0x00,
   0x40, 0x10, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x40, 0x20, 0x00,
   0x0c,
   0x00, 0x00, 0x00, 0x00, 0x80, 0x40, 0x00, 0x30, 0x00, 0x00, 0x00,
   0x00,
   0x80, 0x80, 0x01, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0x06,
   0x00,
   0x03, 0x00, 0x00, 0x00, 0x00, 0x01, 0x19, 0x00, 0x0c, 0x00, 0x00,
   0x00,
   0x00, 0x02, 0x61, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x02, 0x82,
   0x01,
   0xc0, 0x00, 0x00, 0x00, 0x00, 0x04, 0x02, 0x06, 0x00, 0x03, 0x00,
   0x00,
   0x00, 0x04, 0x04, 0x18, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x08, 0x04,
   0x60,
   0x00, 0x30, 0x00, 0x00, 0x00, 0x08, 0x08, 0x80, 0x01, 0xc0, 0x00,
   0x00,
   0x00, 0x10, 0x08, 0x00, 0x06, 0x00, 0x03, 0x00, 0x00, 0x10, 0x10,
   0x00,
   0x18, 0x00, 0x0c, 0x00, 0x00, 0x20, 0x10, 0x00, 0x60, 0x00, 0x30,
   0x00,
   0x00, 0x20, 0x20, 0x00, 0x80, 0x01, 0xc0, 0x00, 0x00, 0x40, 0x20,
   0x00,
   0x00, 0x06, 0x00, 0x03, 0x00, 0x40, 0x40, 0x00, 0x00, 0xf8, 0xff,
   0x07,
   0x00, 0x80, 0x40, 0x00, 0x00, 0xa8, 0xaa, 0x03, 0x00, 0x80, 0x80,
   0x00,
   0x00, 0x54, 0xd5, 0x01, 0x00, 0x00, 0x81, 0x00, 0x00, 0xaa, 0xea,
   0x0a,
   0x00, 0x00, 0x01, 0x01, 0x00, 0x55, 0x75, 0x55, 0x00, 0x00, 0x02,
   0x01,
   0x80, 0xaa, 0xba, 0xaa, 0x00, 0x00, 0x02, 0x02, 0x40, 0x55, 0x5d,
   0x55,
   0x00, 0x00, 0x04, 0x02, 0xa0, 0xaa, 0xae, 0x2a, 0x00, 0x00, 0x04,
   0x04,
   0x50, 0x55, 0x57, 0x15, 0x00, 0x00, 0x08, 0x04, 0xa8, 0xaa, 0xab,
   0x0a,
   0x00, 0x00, 0x08, 0x08, 0x54, 0xd5, 0x55, 0x05, 0x00, 0x00, 0x10,
   0x08,
   0xaa, 0xea, 0xaa, 0x02, 0x00, 0x00, 0x10, 0x10, 0x55, 0x75, 0x55,
   0x01,
   0x00, 0x00, 0x20, 0x90, 0xaa, 0xba, 0xaa, 0x00, 0x00, 0x00, 0x20,
   0x60,
   0x55, 0x5d, 0x55, 0x00, 0x00, 0x00, 0x40, 0xa0, 0xaa, 0xae, 0x2a,
   0x00,
   0x00, 0x00, 0x40, 0x60, 0x55, 0x57, 0x15, 0x00, 0x00, 0x00, 0x80,
   0xa0,
   0xaa, 0xab, 0x0a, 0x00, 0x00, 0x00, 0x80, 0x60, 0xd5, 0x55, 0x05,
   0x00,
   0x00, 0x00, 0x00, 0xa1, 0xea, 0xaa, 0x02, 0x00, 0x00, 0x00, 0x00,
   0x61,
   0x75, 0x55, 0x01, 0x00, 0x00, 0x00, 0x00, 0xa2, 0xba, 0xaa, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0x62, 0x5d, 0x55, 0x00, 0x00, 0x00, 0x00, 0x00,
   0xa4,
   0xae, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x57, 0x15, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0xa8, 0xab, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00,
   0xe8,
   0x55, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0xaa, 0x02, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0x70, 0x55, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x20,
   0xaa, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0x00, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00,
   0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00};

=== wedgemask.xbm ===
#define 3d_width 64
#define 3d_height 64
#define 3d_x_hot 1
#define 3d_y_hot 1
static char 3d_bits[] = {
   0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00,
   0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x03, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0x00, 0xfc, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00,
   0xf8, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0xff, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0x00, 0xf0, 0xff, 0x03, 0x00, 0x00, 0x00, 0x00,
   0x00,
   0xf0, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0x3f,
   0x00,
   0x00, 0x00, 0x00, 0x00, 0xe0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00,
   0x00,
   0xc0, 0xff, 0xff, 0x03, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xff, 0xff,
   0x0f,
   0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00,
   0x00,
   0x80, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,
   0xff,
   0x03, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x0f, 0x00, 0x00,
   0x00,
   0x00, 0xfe, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xff,
   0xff,
   0xff, 0x00, 0x00, 0x00, 0x00, 0xfc, 0xff, 0xff, 0xff, 0x03, 0x00,
   0x00,
   0x00, 0xfc, 0xff, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00, 0xf8, 0xff,
   0xff,
   0xff, 0x3f, 0x00, 0x00, 0x00, 0xf8, 0xff, 0xff, 0xff, 0xff, 0x00,
   0x00,
   0x00, 0xf0, 0xff, 0xff, 0xff, 0xff, 0x03, 0x00, 0x00, 0xf0, 0xff,
   0xff,
   0xff, 0xff, 0x0f, 0x00, 0x00, 0xe0, 0xff, 0xff, 0xff, 0xff, 0x3f,
   0x00,
   0x00, 0xe0, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0xc0, 0xff,
   0xff,
   0xff, 0xff, 0xff, 0x03, 0x00, 0xc0, 0xff, 0xff, 0xff, 0xff, 0xff,
   0x07,
   0x00, 0x80, 0xff, 0xff, 0xff, 0xff, 0xff, 0x03, 0x00, 0x80, 0xff,
   0xff,
   0xff, 0xff, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff,
   0x0a,
   0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x7f, 0x55, 0x00, 0x00, 0xfe,
   0xff,
   0xff, 0xff, 0xbf, 0xaa, 0x00, 0x00, 0xfe, 0xff, 0xff, 0xff, 0x5f,
   0x55,
   0x00, 0x00, 0xfc, 0xff, 0xff, 0xff, 0xaf, 0x2a, 0x00, 0x00, 0xfc,
   0xff,
   0xff, 0xff, 0x57, 0x15, 0x00, 0x00, 0xf8, 0xff, 0xff, 0xff, 0xab,
   0x0a,
   0x00, 0x00, 0xf8, 0xff, 0xff, 0xff, 0x55, 0x05, 0x00, 0x00, 0xf0,
   0xff,
   0xff, 0xff, 0xaa, 0x02, 0x00, 0x00, 0xf0, 0xff, 0xff, 0x7f, 0x55,
   0x01,
   0x00, 0x00, 0xe0, 0xff, 0xff, 0xbf, 0xaa, 0x00, 0x00, 0x00, 0xe0,
   0xff,
   0xff, 0x5f, 0x55, 0x00, 0x00, 0x00, 0xc0, 0xff, 0xff, 0xaf, 0x2a,
   0x00,
   0x00, 0x00, 0xc0, 0xff, 0xff, 0x57, 0x15, 0x00, 0x00, 0x00, 0x80,
   0xff,
   0xff, 0xab, 0x0a, 0x00, 0x00, 0x00, 0x80, 0xff, 0xff, 0x55, 0x05,
   0x00,
   0x00, 0x00, 0x00, 0xff, 0xff, 0xaa, 0x02, 0x00, 0x00, 0x00, 0x00,
   0xff,
   0x7f, 0x55, 0x01, 0x00, 0x00, 0x00, 0x00, 0xfe, 0xbf, 0xaa, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0xfe, 0x5f, 0x55, 0x00, 0x00, 0x00, 0x00, 0x00,
   0xfc,
   0xaf, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x57, 0x15, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0xf8, 0xab, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00,
   0xf8,
   0x55, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0xaa, 0x02, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0x70, 0x55, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x20,
   0xaa, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0x00, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00,
   0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00,
   0x00,
   0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00};
Stephen Dowdy - Systems Administrator
dowdy@cs.colorado.edu
Computer Science Dept - University of Colorado, Boulder (303)
492-6196
<A HREF="http://www.cs.colorado.edu/~dowdy/Home.html"> Yowza </A>
"Team Spam in '94" (A division of Beatrice) { NO cold Sales Calls
!!! }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This creates a big gold arrow, I just wanted a fat black one and this
is how I got it:

xsetroot -display `hostname`:0 -bg black -fg black -cursor \
        ${HOME}/bitmaps/stdcurs.xbm ${HOME}/bitmaps/stdmask.xbm

=== stdcurs.xbm ===
#define stdcurs_width 18
#define stdcurs_height 18
#define stdcurs_x_hot 1
#define stdcurs_y_hot 1
static char stdcurs_bits[] = {
   0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0xfe, 0x01, 0x00, 0xfe, 0x1f,
   0x00,
   0xfe, 0xff, 0x01, 0xfc, 0xff, 0x01, 0xfc, 0xff, 0x00, 0xfc, 0x7f,
   0x00,
   0xfc, 0x3f, 0x00, 0xf8, 0x1f, 0x00, 0xf8, 0x3f, 0x00, 0xf8, 0x7f,
   0x00,
   0xf8, 0xff, 0x00, 0xf0, 0xfd, 0x01, 0xf0, 0xf8, 0x01, 0x70, 0xf0,
   0x01,
   0x30, 0xe0, 0x01, 0x00, 0x00, 0x00};

=== stdmask.xbm ===
#define stdmask_width 18
#define stdmask_height 18
#define stdmask_x_hot 1
#define stdmask_y_hot 1
static char stdmask_bits[] = {
   0x3f, 0x00, 0x00, 0xff, 0x03, 0x00, 0xff, 0x3f, 0x00, 0xff, 0xff,
   0x03,
   0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xfe, 0xff, 0x01, 0xfe, 0xff,
   0x00,
   0xfe, 0x7f, 0x00, 0xfe, 0x3f, 0x00, 0xfc, 0x7f, 0x00, 0xfc, 0xff,
   0x00,
   0xfc, 0xff, 0x01, 0xfc, 0xff, 0x03, 0xf8, 0xfd, 0x03, 0xf8, 0xf8,
   0x03,
   0x78, 0xf0, 0x03, 0x38, 0xe0, 0x03};

Thanks again to:
Mark.McIntosh@Engr.UVic.CA
Stephen Dowdy <dowdy@cs.colorado.edu>
amy.hollander@amp.com (Amy Hollander)
kalpeshd@daffy.netrex.com (Kalpesh Dharia)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Eileen Schatz, System Administrator
Kestnbaum & Co. Chicago, IL
e-mail: ers@kestnbaum.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:27 CDT