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?

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

  • 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. – Ben Leggiero Mar 11 '15 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 '15 at 21:12
  • this one? It's for Debian/Redhat only – Ben Leggiero Mar 12 '15 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 '15 at 18:23
  • I mean it comes in .deb and .rpm files. How would I install this on Windows or OS X? – Ben Leggiero Mar 12 '15 at 18:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.