How do I change the default Cursor (left_ptr)

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
How do I change the default Cursor (left_ptr)

Submitted by Anonymous (not verified) on Fri, 06/15/2012 - 12:07

Is there any way I can change the default cursor for all my widgets all at
once? The default cursor is the left_ptr on a Linux platform. I would like to change the color and/or size but my system has too many applications to perform an XDefineCursor for every popup and dialog.
I set the new cursor to the root window but the children didn't inherit it. Should all the children inherit from the root window? If so maybe I did something wrong.
I also tried "xsetroot -cursor cursor_name -fg red" which changed the displays cursor but not my applications which were rendering to it.
Thanks in advance.
‹ Getting Bad Drawable - motif beginner Calendar Widget? ›

Anonymous

Fri, 04/30/2004 - 05:45#1

How do I change the default Cursor (left_ptr)

Executing
xsetroot -cursor_name cursor_name
should change default X cursor for all applications, and this cursor will be used everywhere if an application doesn't change it obliviously.