Operating System - HP-UX
1833811 Members
3759 Online
110063 Solutions
New Discussion

Change size of mouse pointer

 
SOLVED
Go to solution
Sue LaChance
New Member

Change size of mouse pointer

Hello,

Can someone 'point' me to how to change the size of the mouse
pointer in CDE?
Thanks in advance,

Sue LaChance
2 REPLIES 2
Rick Beldin
HPE Pro
Solution

Re: Change size of mouse pointer

CDE really has nothing to do with the size of the pointer, which is controlled by the Xserver. All Xservers have some sort of built-in limitation on the size of the mouse cursor, typicaly 64x64 pixels.

On a HP-UX workstation you have two options:

- xsetroot with a proper mask can change the pointer to something else. While it can be done, it usually isn't very easy to get the cursor size to apply to all windows. If you are interested I can post directions and program for doing this.

- The HP-UX Xserver has a new server option (new as of about a year) that allows for some cursor scaling. The option is document in the Xserver release notes in /usr/lib/X11/Xserver/info/screens/hp.

Here is an extract:

A new Server Option has been added to the HP X server that instructs the
X server to scale all X11 cursors (both user-defined and built-in cursors)
by a user-defined value.

The Scaled Cursor is indicated with the following syntax in the X*screens
file:

ServerOptions
HpCursorScaleFactor n

Note that this second option applies ONLY to HP-UX workstations - not to PC emulators, Xterminals or other foreign display devices.
Necessary questions: Why? What? How? When?
Sue LaChance
New Member

Re: Change size of mouse pointer

Thanks! This worked out just grand. I used the new Xserver option of HpCursorScaleFactor.