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: Mouse-settings save< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 24 2007,14:40 QUOTE

Ahhhh. I haven't yet seen that tool. That explains a lot =o)
Also I gave you wrong info. It is the xmodmap command that reverses the mouse buttons, and not xset.

The mouse config tool probably uses the xset and xmodmap commands to do (temporary?) changes to the mouse configuration. You can have  these changes applied automatically by adding command(s) to .xinitrc, as I mentioned above. Use whatever text editor you like to do this. Just keep in mind that it is a "hidden" file not displayed by default in the gui file selectors, and that the command must be above the "case $DESKTOP" part of the file or else it will not work.

An example command:
Code Sample
xmodmap -e "pointer = 3 2 1"

The above is for a 3-button mouse with no wheel.  For a wheel, this should work:
Code Sample
xmodmap -e "pointer = 3 2 1 4 5"


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





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Jan. 24 2007,14:51 QUOTE

Actually it is both xset and xmodmap, xset for speed and xmodmap for button switch. The suggestion is a good one to improve the Lua/Fltk script I got from a user in Brazil. I will look to make both settings persistent in v3.3
Back to top
Profile PM WEB 
gerd.schmidt Offline





Group: Members
Posts: 4
Joined: Jan. 2007
Posted: Jan. 25 2007,11:12 QUOTE

Does this mean that I must enter an farther command with "xset" under the file ".xinitrc", if necessary which and where?

Gerd
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 25 2007,13:56 QUOTE

That depends on what you want.  If you need to adjust the mouse acceleration, then yes you'll want to add an xset line (right above or below the xmodmap line is a good place).

Check out the "m" section of the xset man page
http://www.yo-linux.com/cgi-bin/man2html?cgi_command=xset


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
8 replies since Jan. 23 2007,14:14 < 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: Mouse-settings save

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