Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: changing mouse cursor< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 03 2005,14:37 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Nino_on_DSL Offline





Group: Members
Posts: 4
Joined: Sep. 2005
Posted: Sep. 03 2005,16:39 QUOTE

Works, thanks. Now I will work on getting my kezboard right.
Back to top
Profile PM 
9a6or Offline





Group: Members
Posts: 43
Joined: Feb. 2005
Posted: Sep. 03 2005,18:48 QUOTE

Quote (mikshaw @ Sep. 01 2005,20:25)
That's because that extension suggests using xset to add the fonts =o)

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 03 2005,18:55 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 04 2005,02:28 QUOTE

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:
Code Sample
1
filename.pcf    cursor

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
9 replies since Aug. 27 2005,12:39 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: changing mouse cursor

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code