Search code examples
javalinuxnetbeansgnomemouse-cursor

Change Cursor for Netbeans on Linux


I am recently have been successfully installed NetBean 6.8 on Ubuntu Box (10.04). But the problem is, NetBeans doesn't use the Gnome mouse Cursor by default. instead, It uses some freak mouse cursor that I hate!

So, do you have any idea about how to change the cursor that appears inside netbeans.(I have looked inside tools> options but without any output)

Also I have did:

$ grep -iR cursor  *
Binary file var/cache/all-resources.dat matches
Binary file var/cache/all-layers.dat matches
Binary file var/cache/index/s2/javascript/8/1/_0.cfs matches

(note, I didn't talked here about how to change the cursor inside some Java program written in NetBeans)

Thanks in advance.


Solution

  • I had a similar problem. Following workaround works for me.

    In my case, I discovered netbeans uses the first cursor theme in "/usr/share/icons" and ignores whatever I set as cursor theme for the desktop.

    Let's say the first cursor theme, which is used by netbeans is "/usr/share/icons/firsttheme" and the theme that I want to use is "/usr/share/icons/mytheme".

    To solve the problem I simply copy the content of the "/usr/share/icons/mytheme" into "/usr/share/icons/firsttheme".

    Do not forget to backup the original theme before copy!