#linux #command-line-tool #wm #input #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

#684 in Unix APIs

Download history 35/week @ 2024-03-11 33/week @ 2024-03-18 54/week @ 2024-03-25 99/week @ 2024-04-01 23/week @ 2024-04-08 29/week @ 2024-04-15 32/week @ 2024-04-22 29/week @ 2024-04-29 30/week @ 2024-05-06 24/week @ 2024-05-13 25/week @ 2024-05-20 35/week @ 2024-05-27 22/week @ 2024-06-03 19/week @ 2024-06-10 22/week @ 2024-06-17 34/week @ 2024-06-24

100 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