5

Xcursor is a format for the graphics of the cursor in X11 (file reports X11 cursor).

xcursorgen allows you to convert PNG files and some metadata to Xcursor files.

How do I convert an Xcursor file to PNG images?

Imagemagick's convert unfortunately returns:

no decode delegate for this image format

0

1 Answer 1

4

Use xcur2png.

Xcur2png takes PNG images from Xcursor-file, and generate config-file which is reusable by xcursorgen. To put it simply, it is converter from X cursor to PNG image.

Basic usage

xcur2png cursorfile

Converting all cursor files of a theme

find . ! -name '*.*' -type f -exec xcur2png {} \;

Availability

There are only inofficial packages for Arch Linux and Ubuntu (64bit) but the app is hassle-free to compile.

This answer would not have been possible without don_crissti pointing out the tool.

2
  • The link to xcur2png is dead, but it is a funny page after translated Commented Apr 3, 2018 at 21:56
  • xcur2png seems to be available via pacman in Arch Linux now, so it doesn't need to be manually compiled. Commented Jul 7, 2021 at 21:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .