LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

xcursorgen

Create X cursor files from images

TLDR

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

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
copy
sudo dnf install xcursorgen
copy
sudo apk add xcursorgen
copy
sudo zypper install xcursorgen
copy
brew install xcursorgen
copy
nix profile install nixpkgs#xcursorgen
copy

CAVEATS

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

SEE ALSO

Copied to clipboard
Kai