Modify the background color of the application prompt box in Ubuntu

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.