Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

adamrdrew/disable-middle-click

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

disable-middle-click.rb

Disables middle click emulation for ELAN touchpads with libinput. This script is super niche and probably wont be of much value to many people, but I'm going to put it up here on the off chance it comes in handy for anyone else. The reason I wrote this is that the IDs for both the touchpad and the middle click property change on reboot, so there's no quick BASH one liner you can throw in a script. I wrote this in Ruby instead of BASH because I know it better.

Requirements

  • Ruby
  • X
  • ELAN touchpad
  • libinput

Usage

  1. Clone this repo
  $ git clone https://github.com/adamrdrew/disable-middle-click.git 
  1. Make the script executable
  $ chmod a+x disable-middle-click.rb
  1. Run the script or put it in your startup applications list

About

Disable touchpad middle click for xinput

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages