Skip to content

ajuelosemmanuel/TrackpadAsTouchscreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

TrackpadAsTouchscreen

Credits

All the credit goes to u/emptythevoid, who mentionned the method in this Reddit thread. I just made some scripts to make it more convenient for me.

Prerequisites

Install xinput-calibrator :

sudo apt install xinput-calibrator

Tutorial

Run the following command : udevadm info -e | grep -i -A 10 touchpad to try to find the modalias for your touchpad. Exemple : input:b0018v0488p121Fe0100-e0

Then, replace [MODALIAS] with yours in the following script :

sudo echo -e "id-input:modalias:[MODALIAS]*\n ID_INPUT_TOUCHPAD=0\n ID_INPUT_TOUCHSCREEN=1" >> /etc/udev/hwdb.d/60-touchpad.hwdb
sudo systemd-hwdb update
sudo reboot -f

To run it, simply do : sudo bash [NAMEOFTHESCRIPT]

Your computer is gonna reboot, and then you can run xinput_calibrator and touch the four corners of your trackpad. If it doesn't work, something went wrong.

To disable this, run this script (still using sudo bash [NAMEOFTHESECONDSCRIPT]) :

sudo rm -f /etc/udev/hwdb.d/60-touchpad.hwdb
sudo systemd-hwdb update
sudo reboot -f

About

Absolute positionning on laptop trackpad

Topics

Resources

Stars

Watchers

Forks

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy