The background color of the eclipse prompt box is the color configuration of the system prompt box, which is yellow in windows, but black in Ubuntu, which makes the prompt content hard to see.
In eclipse, we cannot modify the color configuration. We can only modify the color configuration of the system.
Before ubuntu11.10, We can customize the system appearance to modify the color configuration. However, after ubuntu11.10, there is no relevant operation interface, 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: #000000
Tooltip_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.
The background color of the eclipse prompt box is the color configuration of the system prompt box, which is yellow in windows, but black in Ubuntu, which makes the prompt content hard to see.
In eclipse, we cannot modify the color configuration. We can only modify the color configuration of the system.
Before ubuntu11.10, We can customize the system appearance to modify the color configuration. However, after ubuntu11.10, there is no relevant operation interface, 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: #000000
Tooltip_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.