这个问题十分高级,随着Ubuntu版本的变迁这个问题的解决方案也在不断变化

最开始,SystemSettings里面可以设置工具条背景色,后来这个选项在新版本Ubuntu中消失了

我用过Ubuntu14.04,它用的是GTK2.0,配置文件的是gtkrc

我现在用Ubuntu15.10,它用的是GTK3.0,配置文件大都是.css格式的

==========方案一:直接设置eclipse========

==============方案二:设置主题==================

1.Good resource

stackoverflow
askubuntu
weblog :This is really a good passage!

2.Steps

If you want to apply your change to all the applications,modify "/usr/share/themes/Ambian/gtk-2.0/gtkrc":

  change 'gtk-color-scheme=...fg_color=#000000...bg_color=#f5f5f5'

If you just want to apply change to eclipse,edit one file with a random name.For example,I write a file '~/Desktop/style' whose contents is this:

  style "my-tooltips"
  {
    bg[NORMAL] = "#f5f5f5"
    fg[NORMAL] = "#000000"
  }
  widget "gtk-tooltip*" style "my-tooltips"
Then you can start eclipse with this style.Press 'Ctrl+Alt+T' to open terminal,input the command below:

  GTK2_RC_FILES=style eclipse

Now you will see everything change !  

3.Optimizaton

If you always start eclipse in terminal,just put this cmd above into global(There are many ways to accomplish this).

If you want to start eclipse by clicking the icon in the laungcher,edit the file "/usr/share/applications/eclipse.desktop"

change the 'exec' as your own cmd.

Actually you can create your own laungchers here.

5.My method

/usr/local/bin/eclipse-style

  style "haha"
  {
    bg[NORMAL] = "#f5f5b5"
    fg[NORMAL] = "#000000"
  }
  widget "gtk-tooltip*" style "haha"

/usr/local/bin/ec

  #!/bin/bash
  GTK2_RC_FILES=/usr/local/bin/eclipse-style eclipse

/usr/share/applications/eclipse.desktop

  Change one line:  
  Exec=ec

Change Eclipse Tooltip's Color in Ubuntu的更多相关文章

  1. How to change Eclipse loading image

    Eclipse IDE has many customize components, the splash welcome image (purple color loading image) is ...

  2. 如何为Eclipse安装主题(Color Theme)

    Eclipse开发环境默认都是白底黑字的,看到同事的Xcode中设置的黑灰色背景挺好看的,就去网上查了一下.发现Eclipse也可以设置主题. 方法1:你可以从Eclipse Marketplace中 ...

  3. Win7中使用Eclipse连接虚拟机中的Ubuntu中的Hadoop2.4<3>

    经过前几天的学习,基本上能够小试牛刀编写一些小程序玩一玩了,在此之前做几项准备工作 明白我要用hadoop干什么 大体学习一下mapreduce ubuntu重新启动后,再启动hadoop会报连接异常 ...

  4. Eclipse tooltip变黑的修正

  5. How to change the header background color of a QTableView

    You can set the style sheet on the QTableView ui->tableView->setStyleSheet("QHeaderView:: ...

  6. How to change statusbar text color to dark on android 4.4

    Because I haven't enough votes, so post picture at here, thank you. Almost 2 weeks ago, I was search ...

  7. 解决ubuntu 14.04 下eclipse 3.7.2 不能启动,报Could not detect registered XULRunner to use 或 org.eclipse.swt.SWTError: XPCOM 等问题的处理

    对于eclipse 3.7.2在ubuntu 14.04下不能启动,需要在 eclipse/configuration 目录下的config.ini文件内增加一行org.eclipse.swt.bro ...

  8. Ubuntu12.04 Eclipse 提示框背景色修改

    I had to edit these files: /usr/share/themes/Ambiance/gtk-3.0/settings.ini /usr/share/themes/Ambianc ...

  9. eclipse 的操作

    1.windows->Preferences...打开"首选项"对话框,左侧导航树,导航到general->Workspace,右 侧Text file encodin ...

随机推荐

  1. 2. Docker - 安装

    一.Docker介绍 1. Docker是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的容器中,然后发布到任何流行的Linux机器上, 也可以实现虚拟化. 容器时完全使用沙 ...

  2. vim linux SecureCRT vim颜色的设置

    解决方法: 1.首先按照环境一的方法检查一下,如果环境一的情况不在进行第二步. 2.修改终端TERM这个环境变量: 1)export命令 临时生效 # echo $TERM xterm   #如果结果 ...

  3. CentOS7 安装MySQL

    从官网下载源再用yum安装: # wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm # rpm -ivh m ...

  4. spark-env.sh 配置示例

    #spark-env.sh JAVA_HOME=/home/hadoop/app/jdk1..0_60 SCALA_HOME=/home/hadoop/app/scala- SPARK_HOME=/h ...

  5. [转]C#网络编程(异步传输字符串) - Part.3

    本文转自:http://www.tracefact.net/CSharp-Programming/Network-Programming-Part3.aspx 这篇文章我们将前进一大步,使用异步的方式 ...

  6. MMORPG大型游戏设计与开发(客户端架构 part6 of vegine)

    客户端的变量模块部分主要是将一些常用可变的值集中管理,如窗口的大小,是否开启音乐,音量的大小等等.这些变量通常会应该到客户端的操作,一般来说变量改变的时候会调用一个回调进行处理.下面我们就看看该模块的 ...

  7. Core Dump [Linux]

    I have known Core-Dump for a long time. But I just know it little. Now, I am about to study it.

  8. C#添加测量运行时间

    使用范围 使用模块化开发,每个模块都有初始化功能,初始化功能可能包括:加载配置表,初始化事件,初始化设置 那么如果想测量每个模块的Init时间呢?Net框架已经提供了测量运行的方法 System.Di ...

  9. [转]MVC整合Ajax

    MVC教程第五篇:MVC整合Ajax   2010-02-01 作者:张洋 来源:张洋的BLOG   摘要 本文将从完成“输入数据验证”这个功能出发,逐渐展开ASP.NET MVC与Ajax结合的方法 ...

  10. [No000016]为什么假期计划总是做不到?