XCursor Pro is modern, simple and elegant cursor theme for Linux ninja, Who are using barebone cursors for their Linux DE/WM or Windows.
Until 2021 my cursors projects were well funded by pling.com but since the pling-factor on the website has decreased and monthly payments are <500$, It is now dependent on community funding and sponsorships. If you want to help me to maintain XCursor-pro and my other open source projects actively, consider sponsoring my work on GitHub Sponsor or DM me on Twitter if your company would like to support my projects, I will gladly look into it and post your avatar in the project's README.
I appreciate all the wonderful people who patronize and sponsoring my work.
N/A
Note All cursor's
.svg
files are found in svg directory or you can also find them on Figma.
22 24 28 32 40 48 56 64 72 80 88 96
- 16x16 - Small
- 24x24 - Regular
- 32x32 - Large
- 48x48 - Extra Large
- Base Color -
#FF0000
(Red) - Outline Color -
#FFFFFF
(White)
- Base Color -
#000000
(Black) - Outline Color -
#FFFFFF
(White)
- Base Color -
#FFFFFF
(White) - Outline Color -
#000000
(Black)
You can download latest stable
& development
releases from
Release Page.
- XCursor Pro Dark: https://www.pling.com/p/1481466
- XCursor Pro Light: https://www.pling.com/p/1639833
- XCursor Pro Red: https://www.pling.com/p/1639834
Installation:
tar -xvf XCursor-Pro-Dark.tar.gz # extract `XCursor-Pro-Dark.tar.gz`
mv XCursor-Pro-* ~/.icons/ # Install to local users
sudo mv XCursor-Pro-* /usr/share/icons/ # Install to all users
Uninstallation:
rm ~/.icons/XCursor-Pro-* # Remove from local users
sudo rm /usr/share/icons/XCursor-Pro-* # Remove from all users
Installation:
- Unzip
.zip
file - Open unziped directory in Explorer, and right click on
install.inf
. - Click 'Install' from the context menu, and authorize the modifications to your system.
- Open Control Panel > Personalization and Appearance > Change mouse pointers, and select XCursor-Pro Cursors.
- Click 'Apply'.
Uninstallation:
Run the uninstall.bat
script packed with the .zip
archive
OR follow these steps:
- Go to Registry Editor by typing the same in the start search box.
- Expand
HKEY_CURRENT_USER
folder and expandControl Panel
folder. - Go to
Cursors
folder and click onSchemes
folder - all the available custom cursors that are installed will be listed here. - Right Click on the name of cursor file you want to uninstall; for eg.: XCursor-Pro Cursors and
click
Delete
. - Click 'yes' when prompted.
- XCursor-Pro build configuration and cursor hotspot settings are bundled in the
build.toml
file. - Check out the scripts section in package.json to see how we build the cursor theme,
excluding the render scripts. They are useful for converting
.svg
files to.png
files. - yarn is optional, For building XCursors and Windows cursors from
.png
files or resizing them you don't need that. If you want to develop/modify XCursor-Pro's colors, and bitmaps, or generate a png file from a svg, Then you can use yarn because bitmapper is written in TypeScript. - Since XCursor-Pro variants are designed similarly, they share the same hotspot settings so a
single configuration file
build.toml
is responsible for building all variants. Due to this, you will have to change the following options inctgen
to build the appropriate variant:- -d: bitmaps directory
- -n: The name you want to give to the generated theme.
- -c: Theme comment.
- See
ctgen --help
for all available options.
- Install build prerequisites on your system
git clone https://github.com/ful1e5/XCursor-pro
cd XCursor-pro && yarn build
- See Installing XCursor-Pro Cursor.
Note Bitmaps are already generated in the
bitmaps
directory and managed by the maintainer (do not edit them directly).
First make sure you installed the build prerequisites.
Now that you have the dependencies, you can try build individual themes from bitmaps and
customize sizes, target platform, and etc. with the ctgen
CLI (packed with clickgen
).
Here are the default commands we used to build the XCursor-Pro's variants and packed them into yarn build
:
ctgen build.toml -d 'bitmaps/XCursor-Pro-Dark' -n 'XCursor-Pro-Dark' -c 'Modern dark XCursors.'
ctgen build.toml -d 'bitmaps/XCursor-Pro-Light' -n 'XCursor-Pro-Light' -c 'Modern light XCursors.'
ctgen build.toml -d 'bitmaps/XCursor-Pro-Red' -n 'XCursor-Pro-Red' -c 'Modern Red XCursors.'
Afterwards, the themes can be found in the themes
directory.
Note You can change the cursor size up to 200 because pngs are rendered with 200x200. If the cursor is resized by more than rendered png size, the final cursor will be blurred.
To build Windows cursor with size 16
:
Warning Windows cursor supports only one size, if multiple sizes are given with
-s
the first size will be considered in build.
ctgen build.toml -s 16 -p windows -d 'bitmaps/XCursor-Pro-Light' -n 'XCursor-Pro-Light' -c 'Modern light XCursor with size 16'
You can also customize output directory with -o
option:
ctgen build.toml -s 16 -p windows -d 'bitmaps/XCursor-Pro-Light' -o 'out' -n 'XCursor-Pro-Light' -c 'Modern light XCursor with size 16'
To build XCursor with size 16
:
ctgen build.toml -s 16 -p x11 -d 'bitmaps/XCursor-Pro-Light' -n 'XCursor-Pro-Light' -c 'Modern light XCursor with size 16'
You can also assign multiple sizes to ctgen
for XCursors build:
ctgen build.toml -s 16 24 32 -p x11 -d 'bitmaps/XCursor-Pro-Light' -n 'XCursor-Pro-Light' -c 'Modern light XCursor'
To customize XCursor-Pro's color you have to install node dependencies with yarn install
command.
After installing dependencies you can customize the colors via npx cbmp
Node CLI App which packed with
cbmp node package.
Here are the default commands we used for generating the XCursor-Pro's bitmaps and packed them into yarn render
:
npx cbmp -d 'svg' -n 'XCursor-Pro-Dark' -bc '#000000' -oc '#FFFFFF'
npx cbmp -d 'svg' -n 'XCursor-Pro-Light' -bc '#FFFFFF' -oc '#000000'
npx cbmp -d 'svg' -n 'XCursor-Pro-Red' -bc '#FF0000' -oc '#FFFFFF'
Lets generate modern XCursor-Pro with green base color and black outline:
npx cbmp -d 'svg' -n 'XCursor-Pro-Hacker' -bc '#00FE00' -oc '#000000'
After rendering custom color you have to build cursor through ctgen
:
ctgen build.toml -d 'bitmaps/XCursor-Pro-Hacker' -n 'XCursor-Pro-Hacker' -c 'Green and black XCursor-Pro cursors.'
Afterwards, Generated theme can be found in the themes
directory.
npx cbmp -d 'svg' -n 'XCursor-Pro-Gruvbox' -bc '#282828' -oc '#EBDBB2'
ctgen build.toml -d 'bitmaps/XCursor-Pro-Gruvbox' -n 'XCursor-Pro-Gruvbox' -c 'Groovy XCursor-Pro cursors.'
npx cbmp -d 'svg' -n 'XCursor-Pro-Solarized-Dark' -bc '#002b36' -oc '#839496'
ctgen build.toml -d 'bitmaps/XCursor-Pro-Solarized-Dark' -n 'XCursor-Pro-Solarized-Dark' -c 'Solarized Dark XCursor-Pro cursors.'
npx cbmp -d 'svg' -n 'XCursor-Pro-Solarized-Light' -bc '#839496' -oc '#002b36'
ctgen build.toml -d 'bitmaps/XCursor-Pro-Solarized-Light' -n 'XCursor-Pro-Solarized-Light' -c 'Solarized Light XCursor-Pro cursors.'
npx cbmp -d 'svg' -n 'XCursor-Pro-Dracula' -bc '#282a36' -oc '#f8f8f2'
ctgen build.toml -d 'bitmaps/XCursor-Pro-Dracula' -n 'XCursor-Pro-Dracula' -c 'Dracula XCursor-Pro cursors.'
Bugs should be reported here on the Github issues page.
You can create a issue, I will help you.
Check CONTRIBUTING.md, any suggestions for features and contributions to the continuing code masterelopment can be made via the issue tracker or code contributions via a Fork
& Pull requests
.