xcursorgen gives error on cursor compilation

Issue

This Content is from Stack Overflow. Question asked by DepthsDoes

I was trying to make a cursor theme for Ubuntu GNOME and I ran into this error when generating/compiling the cursor files. I run the xcursorgen command as usual (xcursorgen *.in * where * is the filename) and it says

Bad config file data!
Error reading config file!

I found out what cursor files were causing the problem (see attached image below). The files at fault were watch.in and left_ptr_watch.in.
I checked the cursor syntax (cat /usr/include/X11/cursorfont.h) and those 2 cursors were not mentioned in the file. However, another cursor theme that I was using for reference DID have those as cursors (albeit precompiled). Is there a way to change this to support those cursors or at least some other workaround for this?

<3 you all,
Depths 🙂

Here’s the image



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?