Batch converts and renames cursors from Windows format (*.cur, *.ani) to Xcursor format.
This project is a helper program for win2xcur. Original project needs to be installed.
Notice: the program has only been tested on Linux Mint.
Download and unarchive the latest release from GitHub.
tar -xvf win2xcur-batch-vMAJOR.MINOR.PATCH.tar.gz
cd win2xcur-batch-vMAJOR.MINOR.PATCHPlace your .ani or .cur files as a directory inside the directory Unzipped. Cursor directory might be renamed if it contains whitespace as win2xcur converter does not support them in the directory path. Your hierarchy should look something like this.
❯ tree
.
├── converter.go
├── go.mod
├── LICENSE
├── map.json
├── README.md
└── Unzipped
└── CursorDirectory
├── 01-Normal.ani
├── 02-Link.ani
├── 03-Loading.ani
├── 04-Help.ani
├── 05-Text Select Alt.ani
├── 05-Text Select.ani
├── 06-Handwriting.ani
├── 07-Precision.ani
├── 08-Unavailable.ani
├── 09-Location Select.ani
├── 10-Person Select.ani
├── 11-Vertical Resize.ani
├── 12-Horizontal Resize.ani
├── 13-Diagonal Resize 1.ani
├── 14-Diagonal Resize 2.ani
├── 15-Move.ani
├── 16-Alternate Select.ani
└── Installer.infExecute the program.
./win2xcur-batchLook into Sorted directory for final output. Place the cursor directory in /usr/share/icons or /home/$USER/.icons
Install Go and build the project
go build