Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right-click button performs left-click action #39675

Closed
ixxie opened this issue Apr 29, 2018 · 2 comments
Closed

Right-click button performs left-click action #39675

ixxie opened this issue Apr 29, 2018 · 2 comments

Comments

@ixxie
Copy link
Contributor

ixxie commented Apr 29, 2018

Hardware: Dell XPS 9350

Channel: Unstable 18.09pre (the problem does not occur in 18.03pre)

Symptoms occur on the trackpad but not on an external mouse:

  1. The right-click button performs a left-click action
  2. Clicking both the left and right buttons simultaneously performs a right-click action

Configuration options which may be relevant:

 hardware.enableAllFirmware = true;

 services.xserver.libinput = 
 {
   enable = true;
   buttonMapping = "1 2 3 4 5 6 7 8 9";
 };
    
 boot.blacklistedKernelModules = [  "psmouse" ];   # for psmouse error

Stuff tried includes:

  1. BIOS Firmware Update

  2. Fiddling with libinput, trying various permutations of the following options:

 services.xserver.libinput = 
 {
   enable = true;
   middleEmulation = false;
   buttonMapping = "1 3 2 4 5 6 7 8 9";
   additionalOptions =
   ''
     Option "ClickPad" "true"
     Option "EmulateMidButtonTime" "0"
   '';
 };

The last one being recommended here.

@jtojnar
Copy link
Contributor

jtojnar commented Apr 29, 2018

If you use GNOME, they changed the defaults in 3.28.

Something like the following should fix it:

services.xserver.desktopManager.gnome3.extraGSettingsOverrides = ''
  [org.gnome.desktop.peripherals.touchpad]
  click-method='default'
'';

@ixxie
Copy link
Contributor Author

ixxie commented Apr 29, 2018

@jtojnar that did the trick indeed! Thanks 👍

@ixxie ixxie closed this as completed Apr 29, 2018
@jtojnar jtojnar mentioned this issue Nov 5, 2018
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants