XCURSORGEN(1)

๐Ÿ“ฆ
version 1.0.9 ยท 3 versions
, in alpine 3.24, arch rolling, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

๐Ÿ’– XCURSORGEN ๐Ÿ’–

okay so bestie, this is a page from the General Commands Manual and it's literally all about xcursorgen โ€” the little icon-maker that turns your PNG pile into a real X cursor file. no cap, it's giving "craft corner but make it unix" ๐ŸŽ€

โœจ NAME โœจ

xcursorgen โ€” create an X cursor file from a collection of PNG images ๐Ÿฆ‹

๐ŸŒธ SYNOPSIS ๐ŸŒธ

xcursorgen [ -p dir ] [ --prefix dir ] [ config-file [ output-file ] ]
xcursorgen -V | --version | -? | --help

๐Ÿ’… DESCRIPTION ๐Ÿ’…

So here's the vibe: xcursorgen reads the config-file to find the list of cursor images, along with their hotspot and nominal size info. then it converts all of the images to Xcursor format and writes them out to the output-file. main character energy fr fr ๐Ÿ‘‘

Every single line in the config file is of this form:

<size> <xhot> <yhot> <filename> <ms-delay>

Multiple images with the same <size> are used to create animated cursors โ€” and the <ms-delay> value on each line tells you how long each image should be displayed before switching to the next one. iconic. the <ms-delay> can be elided for static cursors, so don't stress about it if you're not animating ๐Ÿ’ซ

quick lil note bestie: if config-file is not specified, or is specified as -, standard input is used for the configuration file. and if output-file is not specified, or is specified as -, standard output is used for the output file. pipes on pipes on pipes ๐Ÿซถ

๐ŸŽ€ OPTIONS ๐ŸŽ€

  • -V, --version โ€” display the version number and exit. short and sweet, periodt โœจ
  • -?, --help โ€” display the usage message and exit. your lil cheat sheet ๐Ÿ’–
  • -p dir, --prefix dir โ€” find cursor images in the directory specified by dir. if it's not specified, the current directory is used. so if you're like "where are my PNGs" โ€” that's the flag, iykyk ๐ŸŒˆ

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

Xcursor(3) โ€” go read it, bestie, it's the whole vibe ๐Ÿงš


and that's the whole page!! X Version 11 energy, xcursorgen 1.0.9 forever โ€” mwah, go make some gorgeous cursors ๐Ÿ’œ๐ŸŽ€๐Ÿ’…

๐Ÿ“ฆ where this page comes from