Results 1 to 5 of 5

Thread: 24.04 touchpad how to change/disable middle button

  1. #1
    Join Date
    Dec 2009
    Location
    Digital Nomad
    Beans
    23
    Distro
    Ubuntu 24.04 Noble Numbat

    24.04 touchpad how to change/disable middle button

    Dear community,

    I am trying to change or disable my middle button touchpad (I don't have a mouse). Its annoying that it close tabs in de webbrowser and paste my last clipboard item.
    In Ubuntu 22.04 it worked well, I can't remember how I was able to change it here. But following all kind of suggestions such as gnome tweaks and xinput are not working. In xinput it doesn't show my touchpad and in gnome tweaks there is no setting related to this.

    Thanks for helping me out.

    Best,
    Jurjen

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: 24.04 touchpad how to change/disable middle button

    The exact way for "how" would depend on the touchpad driver, if the GUI settings built-into 24.04 DE you have loaded don't do it.
    It has been a while since I used a touchpad (pre-covid), but there was a synaptic driver for my laptop and I setup two-finger clicking and scrolling to act like the 3rd button. I think this is common. For my desktop on the laptop, I just placed the driver program commands in the autostart file run at X/Session start. But if you have a different driver, then that won't work. You'll need to know the specific program used to manage the touchpad driver settings on your system.

    So, almost always, touchpads are controlled through an internal USB connection, so lsusb -vt will show the exact device (in theory).

    For example,

    Code:
    $ lsusb -vt
    ...
        |__ Port 6: Dev 15, If 0, Class=Hub, Driver=hub/4p, 480M
            ID 05e3:0610 Genesys Logic, Inc. 4-port hub
            |__ Port 1: Dev 16, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
                ID 413c:3016 Dell Computer Corp. Optical 5-Button Wheel Mouse
    ...
    I'm on a desktop now.

  3. #3
    Join Date
    Dec 2009
    Location
    Digital Nomad
    Beans
    23
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: 24.04 touchpad how to change/disable middle button

    Quote Originally Posted by TheFu View Post

    Code:
    $ lsusb -vt
    ...
    Thank you. I have a framework laptop and getting this:

    Code:
    lsusb -vt
    /:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M
        ID 1d6b:0002 Linux Foundation 2.0 root hub
    /:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 20000M/x2
        ID 1d6b:0003 Linux Foundation 3.0 root hub
    /:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/12p, 480M
        ID 1d6b:0002 Linux Foundation 2.0 root hub
        |__ Port 004: Dev 002, If 0, Class=Billboard, Driver=[none], 12M
            ID 32ac:0002  
        |__ Port 004: Dev 002, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            ID 32ac:0002  
        |__ Port 007: Dev 003, If 0, Class=Video, Driver=uvcvideo, 480M
            ID 0bda:5634 Realtek Semiconductor Corp. 
        |__ Port 007: Dev 003, If 1, Class=Video, Driver=uvcvideo, 480M
            ID 0bda:5634 Realtek Semiconductor Corp. 
        |__ Port 009: Dev 004, If 0, Class=Vendor Specific Class, Driver=[none], 12M
            ID 27c6:609c Shenzhen Goodix Technology Co.,Ltd. 
        |__ Port 010: Dev 005, If 0, Class=Wireless, Driver=btusb, 12M
            ID 8087:0032 Intel Corp. AX210 Bluetooth
        |__ Port 010: Dev 005, If 1, Class=Wireless, Driver=btusb, 12M
            ID 8087:0032 Intel Corp. AX210 Bluetooth
    /:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
        ID 1d6b:0003 Linux Foundation 3.0 root hub
    I don't see anything directly nested under Driver=usbhid

  4. #4
    Join Date
    Dec 2009
    Location
    Digital Nomad
    Beans
    23
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: 24.04 touchpad how to change/disable middle button

    I just found the solution by https://askubuntu.com/questions/1405...417258#1417258

    Giving this command on the terminal CLI did the trick.

    gsettings set org.gnome.desktop.peripherals.touchpad middle-click-emulation true

  5. #5
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: 24.04 touchpad how to change/disable middle button

    Great! Please use the Thread Tools button and mark the thread as SOLVED to help the community! Save other people time.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •