Page 1 of 1

Simulate mouse keys for a tablet

Posted: 2022-05-22 14:35
by Scorpion
I use openbox usually and on a tablet would mean more battery duration.
But onboard mouse keys work only on the openbox background I can't use them on the apps.
When I launch onboard I can see:

Code: Select all

** (mousetweaks:1775): CRITICAL **: Not running under X11. Aborting.
Same problem with the mousetweaks package on other X DE/WM.

Since it is a tablet I could use phosh but on wayland I can't use onboard.
It runs Debian 11 amd64.

How can I simulate mouse keys?

Re: Simulate mouse keys for a tablet

Posted: 2022-12-25 04:51
by kent_dorfman766
man xdotool

Re: Simulate mouse keys for a tablet

Posted: 2023-01-03 21:00
by Scorpion

Code: Select all

sleep 1 && xdotool click 3
Something like that seems perfect.
Right click on my desktop.

And on wayland ydotool should do the same.