changing mouse cursorForum: X and Fluxbox Topic: changing mouse cursor started by: loell Posted by loell on Aug. 27 2005,12:39
hi, can i change my mouse cursor, or is it possible to use animated cursors? Posted by mikshaw on Aug. 27 2005,15:09
Yes, but i couldn't say how. In one of my DSL setups I have a different cursor accidentally =o) ...it was the result of using the xset command, but is not directly related to cursors, so i dunno why it happened.
Posted by 9a6or on Sep. 01 2005,22:52
My mouse cursor changed when I downloaded the dsl-artwiz extension.
Posted by mikshaw on Sep. 02 2005,00:25
That's because that extension suggests using xset to add the fonts =o)I hear you can change the cursor with the xsetroot command as well, but i also don't know how to do that. You might be able to set up a set of cursors in ~/.icons to use with Xfree86, but haven't tested that yet. Posted by Nino_on_DSL on Sep. 03 2005,13:08
One more question about mouse. How do I reverse the buttons? I'm lefthanded and in other window managers there is a simple one-kick way to do it. How do you do this in fluxbox?
Posted by mikshaw on Sep. 03 2005,14:37
Haven't tried to see if this works in DSL, but you might try something like this:xmodmap -e "pointer = 3 2 1 4 5" (or just 3 2 1 or 2 1, depending on how many buttons you have) EDIT: fixed the order for proper use of mousewheel. Add the command to $HOME/.xinitrc to set it automatically when X starts. Posted by Nino_on_DSL on Sep. 03 2005,16:39
Works, thanks. Now I will work on getting my kezboard right.
Posted by 9a6or on Sep. 03 2005,18:48
True, xset is used but the artwiz extension also contains the files which define the shape of the mouse cursors so its worth using it as an example to learn from. Now that I'm thinking about this my mouse cursors changed even without using xset, I think I simply copied the font definition files into their folder (can't recall now where exactly) and I had to run a file which registered the fonts. Of course xset could be called somewhere... This was all within XFree86. Sorry for the gaps, I've done this long ago. Posted by mikshaw on Sep. 03 2005,18:55
nice...I put that extension together and never noticed there was a cursor in the package =o)Always though it was some oddity in the X server. Well i guess you found an answer, thanks. I'll do some experiments and see what I can come up with for a possible myDSL package of cursors. Posted by mikshaw on Sep. 04 2005,02:28
I haven't found much in the way of cursors in pcf format so far, and haven't learned what it takes to build them yet, but the few that i did find work just fine in DSL....just needs a fonts.dir file included in the directory:
use the command xset +fp /path/to/directory in .xinitrc and it should load the cursor. The number at the top of the fonts.dir file tells how many fonts are in the directory. |