Skip to content

Batch converts and renames cursors from Windows format (*.cur, *.ani) to Xcursor format.

License

Notifications You must be signed in to change notification settings

khayalhus/win2xcur-batch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

win2xcur-batch

Batch converts and renames cursors from Windows format (*.cur, *.ani) to Xcursor format.

Prerequisites

This project is a helper program for win2xcur. Original project needs to be installed.

Usage

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.PATCH

Place 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.inf

Execute the program.

./win2xcur-batch

Look into Sorted directory for final output. Place the cursor directory in /usr/share/icons or /home/$USER/.icons

Development (Manual Build)

Install Go and build the project

go build

About

Batch converts and renames cursors from Windows format (*.cur, *.ani) to Xcursor format.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages