Newsgroup: it.comp.os.linux.sys
Titolo: MS intellimouse

salve ho poca familiarità con linux perciò vi chiedo aiuto prima che possa
danneggiare il sistema aperativo.
Devo impostare il sistema operativo per far si che riesca ad utilizzare
tutti e sette i tasti del mio mouse microsoft wireless intellimouse
explorer 2 e ho trovato questa guida su internet che però non sò usere:
Microsoft Intellimouse Explorer under Linux
Using all 7 buttons on a Microsoft Intellimouse Explorer
I am not a big fan of Microsoft, but I will admit that they sometimes manage
to 
produce (or at least brand) some nice hardware. The IntelliMouse Explorer
comes 
with four buttons and a wheel, and its possible to use all of these under
Linux.
I'm going to assume that you have all the required software already
installed, 
if you get "command not found" at any time, you should seek out and install
the 
softwere (which can probably be found on your distro's install disks.
  XFree 
  Xmodmap 
  imwheel 
XFree
First you need to configure X to see the mouse and all its buttons. The 
following is taken from my /etc/X11/XF86Config-4 file.
Section "InputDevice"
         # Make sure you use the identifier specified in the
         # ServerLayout section.
         Identifier  "IntelliMouse"
         Driver      "mouse"
         Option      "Protocol" "ExplorerPS/2"
         # Change the device to point to the correct location!
         # I use the USB connection under devfs
         Option      "Device" "/dev/usbmouse"
         Option      "Buttons" "7"
         Option      "ZAxisMapping" "6 7"
EndSectionThere are 7 buttons becuase the wheel counts as 3 (up, down, and
click).
Xmodmap
Run xmodmap -e "pointer = 1 2 3 6 7 4 5". This has to be done everytime you 
login. I have the command in my ~/.xinitrc, but where you put it depends on
your 
configuration. KDE users should look at ~/.kde/Autostart.
You can test to see if the extra buttons are seen by X with "xev" (place the 
pointer in the square and click the buttons to see the events).
imwheel
Next the mouse clicks have to be translated in to something the applications
can 
understand. This is done by imwheel, which will let you specify keyboard 
commands for each click. We will configure it to send keyboard shortcuts for 
back and forwards to all applications. You can specify different
combinations, 
either for all apps or for specific ones.
Create .imwheelrc in your home directory with the following:
".*"
 None, Up, Alt_L|Left
 None, Down, Alt_L|RightNext start imwheel with imwheel -k -b "67". This
also has to be done every time, 
so I have the command in ~/.xinitrc.
 
E dopo averla letta ho capito di non avere capito nulla. E      non c'entra
il fatto che sia scritto in inglese, il fatto è che non conasco linux ;)
Che cosa devo fare?

 Che cosa devo fare?
Seguire quello che dice. Se non capisci qualche passo particolare
indica quale parte non capisci, se invece vuoi la pappa pronta forse
e' meglio se ti tieni Windows.
Davide
-- 
| Abstainer, n.: A weak person who yields to the temptation of denying
| himself a pleasure. -- Ambrose Bierce, "The Devil's Dictionary" 
| 
| 

 
in che parte dl fle devo incollare quelle righe?
Te lo chiedo perchè ho già la voce inputdevice,ma ovviamente è diversa  enon
so se le devo aggiungere o cosa

 so se le devo aggiungere o cosa
Per prima cosa fai una copia del tuo file di configurazione e
tienti la copia di sicurezza, poi _aggiungi_ la configurazione
_cambiando_ eventualmente le linee gia' esistenti ma diverse.
Davide
-- 
| My opinions may have changed, but not the fact that I am right. 
| 
| 
|