Change Cursor for NetBeans on Linux

Recently, I successfully installed NetBean 6.8 on an Ubuntu Box (10.04). But the problem is that NetBeans does not use the default Gnome mouse cursor. instead, it uses some kind of ugly mouse cursor, which I hate!

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

Also I 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 talk here about how to change the cursor inside any Java program written in NetBeans)

Thanks in advance.

+4
source share
2 answers

I had a similar problem. A workaround works for me.

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

Say the first cursor topic used by netbeans is "/ usr / share / icons / firsttheme" and the theme I want to use is "/ usr / share / icons / mytheme".

To solve the problem, I simply copy the contents of / usr / share / icons / mytheme to / usr / share / icons / firsttheme.

Remember to back up the original theme before copying!

+2
source

Here is the correct way to do this:

  • Open a terminal.
  • sudo update-alternatives --config x-cursor-theme
  • Select an option from the list.

This is a Ubuntu error. The above is the right workaround.
No need to copy files to / usr / share / icons.

+3
source

Source: https://habr.com/ru/post/1312512/


All Articles