The very old magic for this used to be edit the appropriate file in
/etc/X11/app-defaults

for instance the following will change the default cursor when you hover
over a running instance of "xclock"

echo 'XClock.*cursor: iron_cross' >> /etc/X11/app-defaults/XClock

I believe this works with all xlib based apps. There was some foo around the
naming of the above file and application (first two letters are caps) they I
can't quite remember.  Also in this case the cursor must be monochrome (xbm
defined) cursor registered by the X server.

Hopefully this gives you a clue where to look.

Regards, Martin (who last did play with core X11 application programming
decades ago)

[EMAIL PROTECTED]


On Fri, Nov 21, 2008 at 8:31 PM, Erik de Castro Lopo
<[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> wrote:

> Hi all,
>
> I have an X11 application where I'd like to change the cursor without
> recompiling the app. Is this possible with X? Clues? Pointers?
>
> Cheers,
> Erik
> --
> -----------------------------------------------------------------
> Erik de Castro Lopo
> -----------------------------------------------------------------
> http://en.wikipedia.org/wiki/Why_I_Am_Not_a_Christian
> http://en.wikipedia.org/wiki/Why_I_Am_Not_a_Muslim
> http://en.wikipedia.org/wiki/Strong_atheism
> _______________________________________________
> coders mailing list
> coders@slug.org.au
> http://lists.slug.org.au/listinfo/coders
>
_______________________________________________
coders mailing list
coders@slug.org.au
http://lists.slug.org.au/listinfo/coders

Reply via email to