1

I'm trying (and failing) to sift through the source, attempting to find the image file(s) for the default cursor. Does anyone know where this is?

1 Answer 1

0

If I understand correctly, you are looking for the cursor you have in graphic applications.

The cursor is not just an image; there is a whole "cursor theme" involved (it changes when selecting, writing text, etc.!). So the location of the files are theme-dependent.

In my Ubuntu Gnome the default cursor theme (you can check it with gnome-tweak-tool) is called Adwaita; searching for it with

 locate -i adwaita | grep -i cursor

points to /usr/share/icons/Adwaita/cursors. The files there are not simple graphic files, but X11 cursor files, whose manipulation is explained in this question: Opening cursor files in a graphics editor?

unity-tweak-tool will point you to the correct site if you have Unity.

You can also check this Q&A: How to change mouse cursor and theme?.

In my standard gimp installation in Ubuntu I can simply open it; see:

% gimp left_ptr

gimp opening a cursor

as you can see, is a multi-layer image with the cursor for different size. If you just keep the biggest one, export to PNG, you have this:

adwaita left_ptr

7
  • I was hoping for an answer that didn't require installing Ubuntu; I wanted them so I could have a free, open-source image to use as a thumbnail for what a cursor looks like.
    – Ky -
    Mar 11, 2015 at 17:24
  • So... why don't simply ask that? You can use the gimp plugin to read the icon files and then simply browse the package gnome-themes-standard that contains them... no need to install anything --- well, the gimp plugin.
    – Rmano
    Mar 11, 2015 at 21:12
  • this one? It's for Debian/Redhat only
    – Ky -
    Mar 12, 2015 at 14:31
  • It's for GIMP. Now, it's a bit old and can have problem --- and Ubuntu is debian-based, so it should just work. See my update.
    – Rmano
    Mar 12, 2015 at 18:23
  • I mean it comes in .deb and .rpm files. How would I install this on Windows or OS X?
    – Ky -
    Mar 12, 2015 at 18:25

You must log in to answer this question.

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