xdotool-java

A java library for accessing libxdo

License

License

Categories

Categories

Java Languages
GroupId

GroupId

io.github.kingpulse
ArtifactId

ArtifactId

xdotool-java
Last Version

Last Version

1.1
Release Date

Release Date

Type

Type

jar
Description

Description

xdotool-java
A java library for accessing libxdo
Project URL

Project URL

https://github.com/kingpulse/xdotool-Java
Source Code Management

Source Code Management

https://github.com/kingpulse/xdotool-Java

Download xdotool-java

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.kingpulse/xdotool-java/ -->
<dependency>
    <groupId>io.github.kingpulse</groupId>
    <artifactId>xdotool-java</artifactId>
    <version>1.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.kingpulse/xdotool-java/
implementation 'io.github.kingpulse:xdotool-java:1.1'
// https://jarcasting.com/artifacts/io.github.kingpulse/xdotool-java/
implementation ("io.github.kingpulse:xdotool-java:1.1")
'io.github.kingpulse:xdotool-java:jar:1.1'
<dependency org="io.github.kingpulse" name="xdotool-java" rev="1.1">
  <artifact name="xdotool-java" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.kingpulse', module='xdotool-java', version='1.1')
)
libraryDependencies += "io.github.kingpulse" % "xdotool-java" % "1.1"
[io.github.kingpulse/xdotool-java "1.1"]

Dependencies

compile (1)

Group / Artifact Type Version
net.java.dev.jna : jna-platform jar 5.5.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

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.

Versions

Version
1.1
1.0