Scorrimento del mouse

Italian forum
User avatar
Kerd
Posts: 193
Joined: 25. May 2010, 17:11
Location: Italy
Contact:

Re: Scorrimento del mouse

Post by Kerd »

Allora xorg.conf rimettilo com'era prima.
Crea il seguente file da root:

Code: Select all

/etc/hal/fdi/policy/x11-synaptics.fdi
nel file mettici la seguente configurazione:

Code: Select all

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
        <merge key="input.x11_options.SHMConfig" type="string">true</merge>
        <merge key="input.x11_options.TapButton1" type="string">1</merge>
        <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
        <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
        <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
    </match>
  </device>
</deviceinfo>
Dopo di che crea anche un altro file:

Code: Select all

/etc/hal/fdi/policy/mouse-wheel.fdi
e nel file metti la seguente configurazione:

Code: Select all

<match key="info.product" string="TPPS/2 IBM TrackPoint">
  <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
  <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
  <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
  <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
  <merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge>
</match>
Riavvia e dici se funziona :)
paolosan
Posts: 61
Joined: 30. Jun 2012, 02:01

Re: Scorrimento del mouse

Post by paolosan »

Scusa Kerd, "xorg.conf rimettilo com'era prima"... :shock:

Dovresti dirmi i comandi da dare per farlo da terminale perchè dolphin non riesco ad aprirlo come root da terminale... :roll:

Né con su, né con sudo, né con su e poi sudo... :o

Ciao e grazie... :D
User avatar
Kerd
Posts: 193
Joined: 25. May 2010, 17:11
Location: Italy
Contact:

Re: Scorrimento del mouse

Post by Kerd »

Ehm...hai provato a dare un su poi ci metti la pwd e diventi root e poi lanci dolphin normalmente da terminale senza usare su o sudo.
Oppure sempre da root lanci kate /etc/X11/xorg.conf-vesa o xorg.conf quello che è insomma.
Oppure da terminale sempre da root nano /etc/X11/xorg.conf-vesa
paolosan
Posts: 61
Joined: 30. Jun 2012, 02:01

Re: Scorrimento del mouse

Post by paolosan »

Code: Select all

paolosan@darkstar:~$ su
Password: 
root[paolosan]# dolphin
root[paolosan]# sudo dolphin
root[paolosan]# 
Cosa vuol dire "aprire con kate"?

Fare copia-incolla?

Grazie per le risposte... :D
paolosan
Posts: 61
Joined: 30. Jun 2012, 02:01

Re: Scorrimento del mouse

Post by paolosan »

Ho fatto, cancellando la sezione che avevo copiato e decommentando le righe che avevo commentato, ho ripristinato l'xorg.conf-vesa originale.

Poi sono tornato al tuo post, Kerd, in cui mi suggerisci di creare dei file ma non conosco i comandi da usare, qui su Salix, e non trovo niente su internet...

Potresti dirmi i comandi specifici o postarmi un link opportuno?

Grazie ancora per la pazienza... :D
User avatar
Kerd
Posts: 193
Joined: 25. May 2010, 17:11
Location: Italy
Contact:

Re: Scorrimento del mouse

Post by Kerd »

Allora puoi creare i file con:

Code: Select all

 # nano /etc/hal/fdi/policy/x11-synaptics.fdi
poi copi e incolli la configurazione poi salvi con ctrl + x ti chiede se vuoi salvare e premi "s" o "y" dipende in che lingua hai il sistema.
stessa cosa per il secondo file:

Code: Select all

 # /etc/hal/fdi/policy/mouse-wheel.fdi
ricorda che # davanti al comanda vuol dire che devi fare quel comando da root non che devi scriverlo quando copi il comando.
paolosan
Posts: 61
Joined: 30. Jun 2012, 02:01

Re: Scorrimento del mouse

Post by paolosan »

Uff! :roll:

Con nano non mi trovo, ho aperto il file ma non c'è verso di incollare niente, ctrl+u non funziona... :shock:

:cry:

EDIT: Sono riuscito a fare copia-incolla con Maiusc+ins... :geek:
paolosan
Posts: 61
Joined: 30. Jun 2012, 02:01

Re: Scorrimento del mouse

Post by paolosan »

Cambia niente Kerd... :roll:
CyberSys
Posts: 4
Joined: 10. Jul 2012, 01:28

Re: Scorrimento del mouse

Post by CyberSys »

Ciao prova cosi. vai in /etc/modprobe.d/psmouse.conf e controlla se option psmouse proto=imps
sia commentato. poi vai in /proc/bus/input/devices e trova la sezione del touchpad che si
dovrebbe chiamare (PS2 touchpad o roba del genere) e leggi il numero che cè scritto vicino
alla scritta "event"
Ora apri /etc/X11/xorg.conf e aggiungi queste righe... mi raccomando prima di farlo fatti una copia di xorg.conf

Code: Select all

Section "InputDevice"
        Identifier     "Touchpad"
        Driver         "synaptics"
        Option      "SendCoreEvents" "true"
        Option         "Device" "/dev/input/eventX(dove a X sostituisci il numero dell'event che ti ho detto prima)"
        Option         "Protocol" "auto-dev"
        Option         "LeftEdge" "120"
        Option         "RightEdge" "830"
        Option         "TopEdge" "120"
        Option         "BottomEdge" "650"
        Option         "FingerLow" "14"
        Option         "FingerHigh" "15"
        Option         "MaxTapTime" "130"
        Option         "MaxTapMove" "5"
        Option         "EmulateMidButtonTime" "75"
        Option         "VertScrollDelta" "20"
        Option         "HorizScrollDelta" "40"
        Option         "MinSpeed" "0.4"
        Option         "MaxSpeed" "0.95"
        Option         "AccelFactor" "0.025"
        Option         "EdgeMotionMinSpeed" "200"
        Option         "EdgeMotionMaxSpeed" "200"
        Option         "UpDownScrolling" "1"
        Option         "CircularScrolling" "1"
        Option         "CircScrollDelta" "0.1"
        Option         "CircScrollTrigger" "7"
        Option         "TapButton1" "1"
        Option         "TapButton2" "2"
        Option         "TapButton3" "3"
        Option         "LockedDrops" "1"
        Option         "SHMConfig" "on"
        Option         "TwoFingerScroll"       "1"
        Option      "VertTwoFingerScroll"   "1"
        Option      "HorizTwoFingerScroll"  "1"
    EndSection
Nella sezione "server Layout" aggiungi

Code: Select all

InputDevice    "Touchpad" "SendCoreEvents"
e alla sezione "Module" aggiungi

Code: Select all

Load        "synaptics"
ora riavvia il server X. e dovrebbe funzionare
paolosan
Posts: 61
Joined: 30. Jun 2012, 02:01

Re: Scorrimento del mouse

Post by paolosan »

Code: Select all

# PS/2 mouse support:
# The default options when the psmouse module can cause problems with KVM
# switches.  If you experience this, you may want to uncomment the line
# below to use a more basic mouse protocol with the psmouse module:
#options psmouse proto=imps

Code: Select all

I: Bus=0006 Vendor=0000 Product=0000 Version=0000
N: Name="Speakup"
P: Phys=speakup/input0
S: Sysfs=/devices/virtual/input/input0
U: Uniq=
H: Handlers=kbd event0 
B: EV=3
B: KEY=1000 0 0 0

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input1
U: Uniq=
H: Handlers=sysrq kbd event1 
B: EV=120013
B: KEY=20000 0 20 0 0 0 0 500f 2100003 3803078 f900d401 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2
U: Uniq=
H: Handlers=kbd event2 
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3
U: Uniq=
H: Handlers=kbd event3 
B: EV=3
B: KEY=4000 0 0 0 0

I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input4
U: Uniq=
H: Handlers=event4 
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
U: Uniq=
H: Handlers=kbd event5 
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="HP WMI hotkeys"
P: Phys=wmi/input0
S: Sysfs=/devices/virtual/input/input6
U: Uniq=
H: Handlers=kbd event6 
B: EV=23
B: KEY=40 0 0 0 7 0 0 2100400 0 0 0 0
B: SW=22

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/LNXVIDEO:00/input/input7
U: Uniq=
H: Handlers=kbd event7 
B: EV=3
B: KEY=3e000b 0 0 0 0 0 0 0

I: Bus=0003 Vendor=04f2 Product=b015 Version=0606
N: Name="HP Webcam"
P: Phys=usb-0000:00:1d.7-4/button
S: Sysfs=/devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.0/input/input8
U: Uniq=
H: Handlers=kbd event8 
B: EV=3
B: KEY=100000 0 0 0 0 0 0

I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input9
U: Uniq=
H: Handlers=mouse0 event9 
B: EV=b
B: KEY=6420 0 30000 0 0 0 0 0 0 0 0
B: ABS=11000003

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input10
U: Uniq=
H: Handlers=event10 
B: EV=21
B: SW=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input11
U: Uniq=
H: Handlers=event11 
B: EV=21
B: SW=4

Qual'è il numero di "event"?

E grazie per la risposta... :D
Post Reply