The background color of the eclipse prompt box in Ubuntu is black and looks uncomfortable. This is because eclipse uses the system subject by default. Versions earlier than ubuntu11.10 can be set through the System & gt; appearance & gt; modify the custom color of a topic. However, ubuntu11.10 version later does not provide direct modification to the topic interface, can only modify the file:/usr/share/themes/Ambiance/gtk-2.0/gtkrc (Note: Ambiance is the topic folder name)
The background color of the eclipse prompt box in Ubuntu is black and looks uncomfortable. This is because eclipse uses the system subject by default. Versions earlier than ubuntu11.10 can be changed through system Settings> appearance> modify the custom color of the topic. However, ubuntu11.10 version later does not provide direct modification to the topic interface, can only modify the file:/usr/share/themes/Ambiance/gtk-2.0/gtkrc (Note: Ambiance is the topic folder name, modify the subject according to your system. My topic here is Ambiance, so take Ambiance as an example)
However, the gtkrc file is read-only and requires the root permission. Therefore, you can only use gedit on the terminal to open this folder. The command is as follows:
Sudo-I gedit/usr/share/themes/Ambiance/gtk-2.0/gtkrc
After opening the file, we need to modify the following two places:
Tooltip_fg_color: the foreground color of the prompt box (changed to: #000000)
Tooltip_bg_color: background color of the prompt box (changed to: # f2edbc)
After saving the file and exiting, log out and log on again to see the effect.
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2