Friday, July 5, 2024

how to simulate mouse click using keyboard in i3

to left click you lightly double tap quickly with one finger, Its weird one day i woke up and i thought my trackpad was broken but I think i just forgot how to use it. its weird. I think I was using somebody elses mbp for a week that had a really clicky trackpad. when I came back I thought It was broken because it wasn't clicking. anyway here's the work around.

sudo apt install xdotool

# keypress //
bindsym shift+grave exec xdotool click 1

No comments:

Post a Comment