#linux #command-line-tool #input #wm #automation #api-bindings

xdotool

A wrapper for the command line tool xdotool written in Rust

2 releases

0.0.2 Feb 20, 2020
0.0.1 Feb 20, 2020

#739 in Unix APIs

Download history 44/week @ 2023-12-10 26/week @ 2023-12-17 350/week @ 2023-12-24 68/week @ 2023-12-31 86/week @ 2024-01-07 21/week @ 2024-01-14 7/week @ 2024-01-21 23/week @ 2024-02-11 36/week @ 2024-02-18 50/week @ 2024-02-25 59/week @ 2024-03-03 41/week @ 2024-03-10 35/week @ 2024-03-17 39/week @ 2024-03-24

179 downloads per month
Used in 2 crates

GPL-3.0-or-later

46KB
648 lines

Rust xdotool

A wrapper for the command line tool xdotool written in Rust

Note

I've tried my best documenting everything as detailed as possible. For even more information please look at the man page of xdotool. If a function does not behave like xdotool would, please submit an issue or even better a pull request :)

Since xdotool is often used in combination with wmctrl you might want to check out my rust wrapper for this tool too!

Dependencies

xdotool needs to be installed:

# Ubuntu
sudo apt-get install xdotool

# Arch Linux
sudo pacman -S xdotool

# Fedora
sudo dnf install xdotool

# You get the idea

Usage

Add xdotool to your dependencies in your Corgo.toml

[dependencies]
xdotool = "0.0.2"

If you want the latest build use the GitHub repository as your uplink:

[dependencies]
xdotool = { git = "https://github.com/Treborium/rust-xdotool" }

Examples

For examples on a certain function please view the documentation.

No runtime deps