Other Help Topics :: How can I change the mouse cursor image?



I am trying to figure out how to change the image used for the mouse cursor. I've been looking both in the fluxbox documentation and on the net, but I can not seem to find any info on this.

Does anyone here know?

Well, I finally found something!!!

xsetroot -cursor <cursor_bmp_file> <cursor_bmp_file>

But now I am trying to figure out where to place this. If I put it in .xinitrc, it gets over-ridden by fluxbox when that is called. I didn't want to place it in .bashrc, since that is called all the time and this only needs to be done once. Anyone have any ideas?

Does .xinitrc stop running at 'fluxbox' or can you place this command after that? If it doesn't have to be a default action, you could place it in the 'toys' section of your fluxbox menu to run on command.

Chris

clivesay, thanks for the info.

I figure out a way to do it. .xinitrc does not stop running at fluxbox, but the problem was that fluxbox would still be loading when the xsetroot commands were run, and thus over-ride them. Took a while to trace that out. I solved the race with a sleep statement before running the xsetroot commands. Everything works perfectly now :)

Thanks for the help.

Schweet!

Does the image file you use have to be a certain size or is it resized automatically? Just curious.

Chris

Next Page...
original here.