You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

GNOME Shell更新后触摸板右键方式变更,寻求恢复原设置方案

Fixing Touchpad Right-Click Behavior After GNOME Shell Update

Hey there, I totally get how frustrating it is when your touchpad's familiar behavior gets flipped after an update. Let's get that right-click back to pressing the bottom-right area—here's what you need to do:

First, Why synclient Isn't Working

The error you're seeing makes sense: modern GNOME Shell setups have switched to using libinput instead of the older synaptics driver. Synaptics tools like synclient won't recognize your touchpad anymore, so we need to focus on libinput-based fixes.


Option 1: Use GNOME Tweaks (The Easiest Route)

Most of the time, a GUI tool can handle this quickly:

  • First, install GNOME Tweaks if you don't have it yet:
    sudo apt install gnome-tweaks
    
  • Open Tweaks, then navigate to the Keyboard & Mouse (or sometimes just Touchpad) section.
  • Look for an option like Click Method or Right-Click Behavior. Select the one labeled Button Areas—this enables the old-style corner presses for right-clicks.
  • Log out and back in to apply the change.

Option 2: Manual Libinput Configuration (If Tweaks Doesn't Have the Setting)

If Tweaks doesn't show the option, you can edit the libinput config directly:

  • Create or modify the file /etc/X11/xorg.conf.d/90-libinput.conf (use sudo to get permission):
    sudo nano /etc/X11/xorg.conf.d/90-libinput.conf
    
  • Add or update the touchpad section to include these lines:
    Section "InputClass"
            Identifier "touchpad"
            MatchIsTouchpad "on"
            Driver "libinput"
            # Switch to button area clicks instead of tap gestures
            Option "ClickMethod" "buttonareas"
            # Adjust the percentage of the touchpad assigned to right-click (30% is default)
            Option "ButtonAreaRight" "30%"
    EndSection
    
  • Save the file (press Ctrl+O, then Enter in nano), exit (Ctrl+X), then restart your system to apply the changes.

Option 3: For Wayland Sessions

If you're using a Wayland session (check in Settings → About), use the gsettings command instead:

  • Run this in your terminal:
    gsettings set org.gnome.desktop.peripherals.touchpad click-method 'areas'
    
  • Log out and back in, and your touchpad should now respond to bottom-right presses for right-clicks.

内容的提问来源于stack exchange,提问作者Alex Tartan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 08:54:10