Comments (2)
From the manpage:
click [-d,--next-delay <ms>] [-r,--repeat N ] [button ...]
Send a click.
Options: -d,--next-delay <ms>
Delay between input events (up/down, a compete click means doubled time). Default 25ms.
-r,--repeat N
Repeat entire sequence N times
all mouse buttons are represented using hexadecimal numeric values, with an optional bit mask to specify if mouse up/down needs to be omitted.
• 0x00 - LEFT
• 0x01 - RIGHT
• 0x02 - MIDDLE
• 0x03 - SIDE
• 0x04 - EXTR
• 0x05 - FORWARD
• 0x06 - BACK
• 0x07 - TASK
• 0x40 - Mouse down
• 0x80 - Mouse up
Examples:
• 0x00: chooses left button, but does nothing (you can use this to implement extra sleeps)
• 0xC0: left button click (down then up)
• 0x41: right button down
• 0x82: middle button up
The '0x' prefix can be omitted if you want.
To hold down the left mouse button, use ydotool click 0x40
(or ydotool click 40
)
from ydotool.
Related Issues (20)
- Latest release no longer types '\' HOT 2
- feature request: add the below to the manual for us noobs HOT 1
- Improve documentation / ydotool aborts without daemon running HOT 1
- Unit ydotool.service not found HOT 1
- Invalid options - mousemove HOT 2
- Update 1.02 breaks ydotool HOT 6
- Xvfb support? HOT 1
- [KDE] [(x)Wayland] [ArchLinux] [MultiMonitor] Mouse pointer always moves to 0,0 only when using Absolute positioning. HOT 3
- [KDE] [(x)Wayland] [ArchLinux] [MultiMonitor] Generally confusing behavior with the "click" command HOT 3
- Any X value submitted for mousemove --absolute triggers Gnome hot corner / overview HOT 2
- Help on running ydotoold HOT 6
- Left mouse click 0xC0 does not go up and down immediately.
- ydotool: notice: ydotoold backend unavailable (may have latency+delay issues) + ydotool: mousemove: error: unrecognised option '--absolute' HOT 3
- ydotoold : segmentation fault (core dumped) HOT 2
- Unable to connect to X server HOT 3
- ydotool, how to scroll up/down? HOT 1
- Warning on Wayland when I run the `ydotoold` daemon: "WARNING: running xinput against an Xwayland server." "unable to find device pointer:ydotoold virtual device" HOT 7
- Bug: `ydotool` sub-command help menus erroneously require the `ydotoold` daemon to be running to display help information HOT 1
- Tutorial: how to install and use `ydotool` HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ydotool.