#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

#847 in Unix APIs

Download history 21/week @ 2024-07-20 54/week @ 2024-07-27 26/week @ 2024-08-03 29/week @ 2024-08-10 19/week @ 2024-08-17 24/week @ 2024-08-24 30/week @ 2024-08-31 24/week @ 2024-09-07 26/week @ 2024-09-14 45/week @ 2024-09-21 38/week @ 2024-09-28 10/week @ 2024-10-05 13/week @ 2024-10-12 17/week @ 2024-10-19 17/week @ 2024-10-26 13/week @ 2024-11-02

60 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