Click to See Complete Forum and Search --> : A few 'cursor' related questions.


Wallex
08-12-2002, 07:27 PM
Alright, after I finally gave up on the idea of trying to get cursors as nice as the window's ones, I decided to play around with xsetroot. I made my own cursor, woo! But... gee, the 'click' focus is out of place. Which pixel in the bmp counts as the click? Can I define it or move it? (if I make a huge cursor, will the click focus still be near the top-left corner?). Finally... which is the file I need to modify so that I'll always get my own curser when I log in? xdm seems to reset my cursor each time it starts the session. Actually.. it reset it just after exiting my current session and before I could enter the next.
Finally.. I think I know the answer to this, but are cursors limited to be black & white?

dfx
08-13-2002, 04:21 AM
The man page for xsetroot mentions the bitmap program, and the man page for bitmap (actually for atobm) mentions a -xhot option. That's probably what you're looking for.

Wallex
08-13-2002, 11:51 AM
Cool... it's fancy, I never noticed the 'hotspot' option in bitmap, it was easier than I thought. Now I only need to find which is the file that keeps resetting my cursor image.... isn't there a config file which is run each time I login in which I can just add the command to set my cursor? Now where was that file...
PD: I'll not even try to change the cursor color... afterall, the only cursor I can make is the one for 'not specified' programs, it's kinda cool how most programs specify their own cursors instead of relying on a 'global' cursoring system... but then again, I could be wrong on this. Nothing wrong in a B&W cursor if it looks good.

dfx
08-13-2002, 12:08 PM
Probably your ~/.xinitrc

Wallex
08-14-2002, 10:50 PM
Maybe so.. maybe not. Inside the xinitrc there was a section that said 'your lines here' and I added them there, didn't work. I also decided to add the line in the .xsession right before the exec $windowsmanager line, didn't work either. I think I'll just settle to open the konsole and go up a few times, locate the command and press enter. Either that or try adding the codes after the exec line.. but I doubt that's it.