How can I change the mouse cursor image?


Forum: Other Help Topics
Topic: How can I change the mouse cursor image?
started by: Fallen Kell

Posted by Fallen Kell on June 30 2005,14:52
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?

Posted by Fallen Kell on June 30 2005,19:20
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?

Posted by clivesay on June 30 2005,20:06
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

Posted by Fallen Kell on July 01 2005,15:25
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.

Posted by clivesay on July 01 2005,15:34
Schweet!

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

Chris

Posted by SuperLou on July 01 2005,17:33
I have had more luck sticking stuff in the .bash_profile file.  It gets called on starup and isn't rewritten every time (i think).  I don't really understand the difference.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.