The background color of the eclipse prompt box is the color configuration of the system prompt box. It is yellow in windows, but it is black in ubuntu12.04 (gnome), making the prompt content hard to see.
In eclipse, we cannot modify the color configuration. We can only modify the color configuration of the system. After Ubuntu 12.04, you can only modify the configuration file. This file is located in the corresponding topic folder under/usr/share/themes/. If you use the radiance topic, go to the/usr/share/themes/radiance/directory,
CD/usr/share/themes/radiance
Open the gtk-2.0/gtkrc file,
Sudo Vim Co., gtk-2.0/gtkrc
Modify the values of the tooltip_fg_color and tooltip_bg_color attributes in the first line. If the attributes are not modified, you can add them by yourself. The values are set based on the default values of windows:
Tooltip_fg_color: # 000000tooltip_bg_color: # f2edbc
Save and exit, enable the system appearance configuration, and switch the topic. When the topic is switched back, the modification takes effect.