openSUSEa suomeksi

openSUSE => Asennus ja käyttö => Aiheen aloitti: RaijaR - 03.09.2020 - klo:01:44

Otsikko: Hiiren molempien nappuloiden saman aikainen painallus
Kirjoitti: RaijaR - 03.09.2020 - klo:01:44
openSUSE Tumbleweed ja  Logitech MK270 -näppäimistö ja hiiri (https://www.verkkokauppa.com/fi/product/1591/dkkvq/Logitech-MK270-nappaimisto-ja-hiiri)

Nyt pitäisi saada jotenkin eliminoitua hiiren molempien näppäimien yhtäaikaisen painamisen vaikutus.

Nyt toimii niin, että kun (oikeankätinen hiiri) painan ensin vasemman nappulan etusormella pohjaan ja sitten vielä samanaikaisesti oikeanpuolesen nappulan keskisormella useamman kerran (3 kertaa?) samaten pohjaan, niin vaikutus on sama kuin painaisi vain oikeanpuoleista nappulaan. Tämä toiminta pitäisi saada eliminoitua. Mielestäni tuon tuplanapautuksen voisi siirtää rullan toiminteeksi, jos mahdollista ja sitä olen tässä yösydännä yrittänytkin, mutta ei vaan onnistu. Syy tätän muutokseen on se, että nivelrikon runtelemat sormet eivät toimi kuten nuorena, ja keskisormi "seuraa" etusormea.
Löysin ohjeen, jossa neuvotaan hiiren konffaamista (sehän on ihan mahdotonta nykyään opensusessa  >:( ): https://forums.opensuse.org/showthread.php/530083-No-mouse-wheel-on-new-install

Ja tässä vastaavia listauksia omasta koneesta
Koodia: [Valitse]
kone3:/usr/share/X11/xorg.conf.d # lsusb
Bus 002 Device 002: ID 2109:0701 VIA Labs, Inc. VL701 SATA 3Gb/s bridge
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 2e04:c025 HMD Global Nokia 8 (MTP mode)
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
kone3:/usr/share/X11/xorg.conf.d #

kone3:/usr/share/X11/xorg.conf.d # hwinfo --mouse
29: USB 00.1: 10503 USB Mouse                                   
  [Created at usb.122]
  Unique ID: gSCk.anqLpZFcgY2
  Parent ID: 2UT6.d7FDLX76qXB
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.4/1-3.4:1.1
  SysFS BusID: 1-3.4:1.1
  Hardware Class: mouse
  Model: "Logitech Unifying Receiver"
  Hotplug: USB
  Vendor: usb 0x046d "Logitech, Inc."
  Device: usb 0xc534 "Unifying Receiver"
  Revision: "29.01"
  Compatible to: int 0x0200 0x0001 "Generic USB Mouse"
  Driver: "usbhid"
  Driver Modules: "usbhid"
  Speed: 12 Mbps
  Module Alias: "usb:v046DpC534d2901dc00dsc00dp00ic03isc01ip02in01"
  Driver Info #0:
    XFree86 Protocol: explorerps/2
    GPM Protocol: exps2
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #32 (Hub)
kone3:/usr/share/X11/xorg.conf.d #

kone3:/usr/share/X11/xorg.conf.d # xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech Wireless Keyboard PID:4023       id=10   [slave  pointer  (2)]
⎜   ↳ Logitech Wireless Mouse                   id=11   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Logitech Wireless Keyboard PID:4023       id=12   [slave  keyboard (3)]
kone3:/usr/share/X11/xorg.conf.d #

kone3:/usr/share/X11/xorg.conf.d #  xinput list-props 11
Device 'Logitech Wireless Mouse':
        Device Enabled (172):   1
        Coordinate Transformation Matrix (174): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (328):     0
        Device Accel Constant Deceleration (329):       1.000000
        Device Accel Adaptive Deceleration (330):       1.000000
        Device Accel Velocity Scaling (331):    10.000000
        Device Product ID (321):        1133, 16468
        Device Node (320):      "/dev/input/event7"
        Evdev Axis Inversion (340):     0, 0
        Evdev Axes Swap (342):  0
        Axis Labels (343):      "Rel X" (182), "Rel Y" (183), "Rel Horiz Wheel" (338), "Rel Vert Wheel" (339), "None" (0), "None" (0)
        Button Labels (344):    "Button Left" (175), "Button Middle" (176), "Button Right" (177), "Button Wheel Up" (178), "Button Wheel Down" (179), "Button Horiz Wheel Left" (180), "Button Horiz Wheel Right" (181), "Button Side" (322), "Button Extra" (323), "Button Forward" (324), "Button Back" (325), "Button Task" (337), "Button Unknown" (336), "Button Unknown" (336), "Button Unknown" (336), "Button Unknown" (336), "Button Unknown" (336), "Button Unknown" (336), "Button Unknown" (336), "Button Unknown" (336), "Button Unknown" (336), "Button Unknown" (336), "Button Unknown" (336), "Button Unknown" (336)
        Evdev Scrolling Distance (345): 1, 1, 1
        Evdev Middle Button Emulation (346):    0
        Evdev Middle Button Timeout (347):      50
        Evdev Middle Button Button (348):       2
        Evdev Third Button Emulation (349):     0
        Evdev Third Button Emulation Timeout (350):     1000
        Evdev Third Button Emulation Button (351):      3
        Evdev Third Button Emulation Threshold (352):   20
        Evdev Wheel Emulation (353):    0
        Evdev Wheel Emulation Axes (354):       0, 0, 4, 5
        Evdev Wheel Emulation Inertia (355):    10
        Evdev Wheel Emulation Timeout (356):    200
        Evdev Wheel Emulation Button (357):     4
        Evdev Drag Lock Buttons (358):  0
kone3:/usr/share/X11/xorg.conf.d #

kone3:/usr/share/X11/xorg.conf.d # xinput list-props 12
Device 'Logitech Wireless Keyboard PID:4023':
        Device Enabled (172):   1
        Coordinate Transformation Matrix (174): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Send Events Modes Available (317):     1, 0
        libinput Send Events Mode Enabled (318):        0, 0
        libinput Send Events Mode Enabled Default (319):        0, 0
        Device Node (320):      "/dev/input/event6"
        Device Product ID (321):        1133, 16419
kone3:/usr/share/X11/xorg.conf.d #

Ohjeessa sanotaan varsinaisena korjauksena näin, mutta en ymmärrä mihin tuo (299) viittaa ja mitä minun tapauksessani pitäisi vastaavaan kohtaa pätsätä  :-\

Koodia: [Valitse]
This Ubuntu thread may be relevant here (if I understand the issue as described)...
The line that indicated that scrolling was active for the middle mouse button was:

libinput Button Scrolling Button (299): 2

3: As root, run the command:

# xinput set-prop 9 "libinput Button Scrolling Button" 0

This sets the scrolling to the non-existent button #0.

4: Now rerun the second command to verify the change:

libinput Button Scrolling Button (299): 0

Yep, it took. Now, when I swipe the mouse, I have my old middle mouse button behavior back.
Otsikko: Vs: Hiiren molempien nappuloiden saman aikainen painallus
Kirjoitti: RaijaR - 05.09.2020 - klo:16:43
Sain asian jotenkin tehtyä, mutta en kyllä itsekään muista, kun meni paremminkin yritys-erehdysperiaattella

Tuossa kuitenkin hyvä sivu:
https://www.systutorials.com/docs/linux/man/4-evdev/