LinuxCommandLibrary

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

CAVEATS

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

SEE ALSO

Xcursor(3)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community