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?

Ky -
  • 306

1 Answers1

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

Rmano
  • 31,947
  • 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 '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 – Ky - 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? – Ky - Mar 12 '15 at 18:25
  • I know nothing about Windows and OS-X --- ask in the respective places. But you can just try; my GIMP opens the files just ok. (And by the way, installing a plugin in GIMP normally is just a matter of downloading the .tar.gz --- look down in the page you linked --- and decompress it in the right place.) – Rmano Mar 12 '15 at 18:30
  • oh, thanks! I didn't see the .tar.gzs down there. I'll get back and say how it went! – Ky - Mar 12 '15 at 19:47