PDA

View Full Version : Can't See Menu Items on Ubuntu 12.04



n5kzw
12-20-2012, 04:49 AM
Ok, it's taken a while, but Arduino 1.0.2 Teensy 3 Beta 9 is now working with teensy 2.0 and teensy 3.0 on 32-bit Vista, 64-bit Ubuntu 12.04, and 32-bit XP (running in a virtual machine under Ubuntu). I had a very hard time getting it to work on the Ubuntu system because the Arduino menu items are a very dark gray on a black background. It looked like there were no menu items. Is there someway to lighten the menu text color on the Ubuntu version of Arduino 1.0.2?

PaulStoffregen
12-20-2012, 09:00 AM
On linux, the "arduino" executable is a shell script. The last line is the one which actually runs it:



java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKL ookAndFeel processing.app.Base "$@"


If you edit the file (or a copy of it), try removing the -D stuff, like this:



java processing.app.Base "$@"


You might also try filing a bug report with Ubuntu. Often they ignore non-critical issues until an overwhelming number of people complain.

n5kzw
12-20-2012, 04:06 PM
Thanks, Paul, that did the trick. - Ed


On linux, the "arduino" executable is a shell script. The last line is the one which actually runs it:



java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKL ookAndFeel processing.app.Base "$@"


If you edit the file (or a copy of it), try removing the -D stuff, like this:



java processing.app.Base "$@"


You might also try filing a bug report with Ubuntu. Often they ignore non-critical issues until an overwhelming number of people complain.