/godot-xlib

Godot 4 addon for interacting with the X window system

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Godot Xlib

Godot Xlib is a native GDExtension for Godot 4.x that exposes xlib functionality to GDScript. It allows you to change X window properties, inspect X windows, etc.

Requirements

Build Requirements

The following are required to build Open Gamepad UI:

  • Godot 4.x
  • GCC 7+ or Clang 6+.
  • Python 3.5+.
  • SCons 3.0+ build system
  • pkg-config (used to detect the dependencies below).
  • X11, Xcursor, Xinerama, Xi and XRandR development libraries.
  • MesaGL development libraries.
  • ALSA development libraries.
  • PulseAudio development libraries.
  • make (optional)
  • unzip (optional)
  • wget (optional)

If you are using ArchLinux, you can run the following:

pacman -S --needed scons pkgconf gcc libxcursor libxinerama libxi libxrandr mesa glu libglvnd alsa-lib pulseaudio libxau libxcb libxdmcp libxext libxres libxtst make unzip wget git

Building

You can build the project using the following:

make build

Usage

Copy the addons folder after you have built the project into your Godot project directory.