Monday, 14 March 2011

Mouse setup in Linux for slackware

Mouse with wheel setup in Slackware.
ZAxisMapping defines which of these buttons will be used for the mousewheel.
The option resolution adjusts the speed of the mouse on the screen. Use the

log in as root
open up the xorg.conf file using vi editior or kwrite
# kwrite /etc/X11/xorg.conf

Inside the file, search for this section "Input Device"
Check for "Mouse0"

Add in these lines into xorg.conf
Section "Input Device"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"

Option "Device" "/dev/psaux"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Core Pointer"
Option "SendCoreEvents" "true"
Option "Resolution" "1600"
 
Restart the X server to load in all the new configurations. 
To edit the speed of the mouse pointer on the screen,
open up the command line and use the xset command
The command below is what i have used with good results 
# xset m 5 1 
To set the xset to default, on the command line type:
# xset m default 

No comments:

Post a Comment

Cash flow Forecasting

Why cash forecasting? A cash forecasting model is an essential tool for treasuer to manage working capital. Forecasting preempt treasurer ...