Skip to content

Java library using JNA to access the xdotool C library and provide a libxdo facade.

Notifications You must be signed in to change notification settings

E-Heerschap/xdotool-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xdotool-Java

xdotool-java

A Java library for accessing xdotool's libxdo.

From xdotool README:

Fake input from the mouse and keyboard very easily. Also supports window manager actions such as moving, activating, and other actions on windows.

This uses JNA to access the libxdo C functions.

Using xdotool-Java

libxdo install

libxdo is not packaged with this library and should be installed prior to using this library. Installing from the target linux distribution is the easiest. Most of the prominent distributions have xdotool packages. For example using Debian: apt-get install libxdo-dev.

Otherwise, libxdo can be built from source.

Library import

Gradle:

repositories {
    mavenCentral()
}

dependencies {
    implementation("io.github.kingpulse:xdotool-java:1.1")
    }

Maven:

   <dependency>
     <groupId>io.github.kingpulse</groupId>
     <artifactId>xdotool-java</artifactId>
     <version>1.1</version>
   </dependency>

Each released version is also published to github packages.

About

Java library using JNA to access the xdotool C library and provide a libxdo facade.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •  

Languages