开发者

Netbeans menu is awful in Ubuntu - completely unreadable and bleh to look at. Any fixes? [closed]

开发者 https://www.devze.com 2023-03-09 13:51 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 10 years ago.

Improve this question

Hey. A lot of my colleagues use the Netbeans IDE f开发者_StackOverflowor a few reasons and I would like to as well, however unlike them, I can't get over the look of the menus:

Netbeans menu is awful in Ubuntu - completely unreadable and bleh to look at. Any fixes? [closed]

Is there anything I can do to make the Netbeans menus look the same as the Eclipse menus?

Thanks.


Netbeans is using your default window behavior (Window Decorations), not a built in theme. I'm using Kubuntu, so it may not be exactly the same, but the idea will be the same:

1) Right click along top of window and choose configure window behavior

2) Select Windows Deocrations

3) Choose from installed themes or download new ones. Kubuntu uses one called Oxygen by default, it looks pretty nice


I'm Using Ubuntu 11.10 and Netbeans 7.1.2 and had the same problem.

This is the solution which works for me:

1.) Edit

{Netbeans-install-dir}/etc/netbeans.conf

2.) Extend following line

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true

with:

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true --laf Metal -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd"

You may replace "Metal" with "Nimbus".


Workaround by avoiding the GTK-theme: I use the Metal or Nimbus LookAndFeel (LAF)

./netbeans --laf (Nimbus or Metal)

This makes it useable, at least.


Further issues:

  • the LAF for sudo ./netbeans seems to be decent in contrast to plain ./netbeans (Discussion on NetBeans Mailing List, no solution named)
  • I also encountered a very long loading time especially after the Done loading modules... screen, which might be related to the GTK-theme issue. This was accompanied by a Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap". Fixing this warning also fixed the loading times. (Discussion and fix on askubuntu.com)
  • The aforementioned Gtk-WARNING is not thrown when executing netbeans via sudo
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号