xcursorgen

Create X cursor files from images

TLDR

Create cursor from config
$ xcursorgen [path/to/config.cursor] [path/to/output_file]
Create with image prefix
$ xcursorgen --prefix [path/to/image_directory]/ [path/to/config.cursor] [path/to/output_file]
Write to stdout
$ xcursorgen [path/to/config.cursor]

SYNOPSIS

xcursorgen [OPTIONS] CONFIG [OUTPUT]

DESCRIPTION

xcursorgen creates X cursor files from a collection of PNG images. The configuration file specifies image sizes, hotspots, and frame delays for animated cursors.The config file format defines each cursor frame with size, hotspot coordinates, filename, and optional delay.

PARAMETERS

--prefix PATH

Path to image directory

INSTALL

sudo apt install x11-apps
sudo dnf install xcursorgen
sudo apk add xcursorgen
sudo zypper install xcursorgen
brew install xcursorgen
nix profile install nixpkgs#xcursorgen

CAVEATS

Images must be PNG format. Configuration file format is specific. Without --prefix, images must be in current directory.

SEE ALSO