The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 546     Votes:  4     ✅ Solution
Tags: keyboard   shortcut-keys   touchpad   configuration   customization  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/1050406
Title: How to reassign touchpad buttons to keyboard?
ID: /2018/06/28/How-to-reassign-touchpad-buttons-to-keyboard_
Created: June 28, 2018    Edited:  June 28, 2018
Upload: April 8, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


You can do this with Custom Keyboard shortcuts and xdotool. Install the tool using:

sudo apt install xdotool

Then go to System Settings -> Keyboard -> Shortcuts -> Custom:

keyboard click.png

Repeat process for Right Click but assign command as xdotool click 3 and set the accelerator as F2.

Now you can press F1 for left click and F2 for right click.

⇧ How to debug suspend? Tagging files on Ubuntu  ⇩