繁体   English   中英

在Linux上更改Netbeans的光标

[英]Change Cursor for Netbeans on Linux

我最近在Ubuntu Box(10.04)上成功安装了NetBeans 6.8。 但问题是,NetBeans默认情况下不使用Gnome鼠标Cursor。 相反,它使用了我讨厌的一些怪异的鼠标光标!

那么,你是否知道如何更改netbeans中出现的光标。(我查看了工具>选项但没有任何输出)

我也这样做了:

$ 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

(注意,我这里没有谈到如何在NetBeans中编写的某些Java程序中更改游标)

提前致谢。

这是正确的方法:

  1. 打开一个终端。
  2. sudo update-alternatives --config x-cursor-theme
  3. 从列表中选择所需的选项。

这是一个Ubuntu错误。 以上是正确的解决方法。
无需复制/ usr / share / icons中的文件。

我遇到了类似的问题。 以下解决方法适合我。

在我的例子中,我发现netbeans使用“/ usr / share / icons”中的第一个游标主题,忽略了我为桌面设置的游标主题。

假设netbeans使用的第一个光标主题是“/ usr / share / icons / firsttheme”,我想要使用的主题是“/ usr / share / icons / mytheme”。

为了解决这个问题,我只需将“/ usr / share / icons / mytheme”的内容复制到“/ usr / share / icons / firsttheme”中。

不要忘记在复制前备份原始主题!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM