这个问题十分高级,随着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

转载于:https://www.cnblogs.com/weiyinfu/p/4948021.html

Change Eclipse Tooltip's Color in Ubuntu相关推荐

  1. 怎样把java换主题_如何为Eclipse安装主题(Color Theme)

    Eclipse版本: Eclipse Java EE IDE for Web Developers. Version: Juno Service Release 1 Build id: 2012092 ...

  2. 2023-01-03 Echarts学习笔记(二) 常见Option配置项介绍:xAxis,yAxis,series,grid,toolbox,legend,tooltip,title,color等

    Echarts的基础配置 1.color:调色盘颜色列表 2.title:标题组件 2.1.设置图表的标题 2.2.同时主标题和副标题(了解) 3.tooltip:提示框组件 触发类型 4.legen ...

  3. eclipse theia_如何在Ubuntu 18.04上设置Eclipse Theia Cloud IDE平台

    eclipse theia 介绍 (Introduction) With developer tools moving to the cloud, adoption of cloud IDE (Int ...

  4. ubuntu下安装eclipse

    安装: 参考:https://blog.csdn.net/u013216156/article/details/78677740 解决eclipse找不到jdk的方法: 在eclipse目录下新建jr ...

  5. linux卸载eclipse,ubuntu卸载eclipse

    1. 安装JDK6 先确认已经添加了软件源,在系统-系统管理-软件源-其它软件,确保已经选中http://archive.canonical.com/ubuntu lucid partner这个源. ...

  6. Ubuntu中下载和安装Eclipse

    [背景] 需要在Ubuntu下弄一个Eclipse项目的编译. 其是C语言的,嵌入式项目. 所以,先要在Ubuntu中,下载和安装Eclipse. [折腾过程] 1.Ubuntu下,用Firefox打 ...

  7. 开发Eclipse自定义控件

    摘自:http://www.ibm.com/developerworks/cn/opensource/os-eclipcntl/ 我们在开发自定义控件时主要考虑以下问题: 1. 自定义控件的绘制:通常 ...

  8. Eclipse Android插件中的“调试证书已过期”错误

    我正在使用Eclipse Android插件来构建项目,但是在控制台窗口中出现此错误: [2010-02-03 10:31:14 - androidVNC]Error generating final ...

  9. Ubuntu下编译Android源代码

    上一次将了Ubuntu下下再Android源代码,地址:http://blog.csdn.net/zqiang_55/article/details/7173392 现在来说说Ubuntu下边缘And ...

最新文章

  1. R语言ggplot2可视化自定义可视化结果的背景色(background color)实战:改变整个画板(panel)的背景色、改变图像(plot)区域的背景色
  2. [现代操作系统] 考前突击
  3. 【文本信息抽取与结构化】目前NLP领域最有应用价值的子任务之一
  4. 正则表达式真的很骚,可惜你不会写
  5. python输入日期时间转换格式_python如何格式化日期?
  6. 12 SD配置-企业结构-分配-给销售范围分配销售办公室
  7. python socket多线程并发_【Python之旅】第五篇(三):Python Socket多线程并发
  8. 英特尔推出锐炬Xe MAX独立显卡 可提升AI及视频编码速度
  9. 2018.8.29牛客OI测试赛A-斐波那契题解(找规律)
  10. 数据结构——队列(银行叫号系统)
  11. 谷歌金山词霸正式发布--免费午餐越来越多
  12. C++一本通在线测评网站 题目1224
  13. java手机号码加密_用户名-手机号加密特殊处理
  14. 国内外优秀的设计素材网站推荐
  15. TJA1403状态模式
  16. android面试题之四(红黑联盟)
  17. SVPWM的一些理解
  18. 程序员的奋斗史(四十一)——大学断代史(五)——我的娱乐方式
  19. vm 虚拟服务器 文件上传,vmware虚拟机怎么和主机之间互传文件?
  20. vc驿站视频教程笔记1

热门文章

  1. NET Micro FrameworkのTimerクラス攻略
  2. SICP习题解答2.22
  3. python中的多进程与多线程(一)
  4. UI----------------Toggle
  5. WebHeaderCollection 类
  6. Asp.Net Mvc3.0(MEF依赖注入理论)
  7. 鼠标指向表格时 显示更多信息 toolTipController1
  8. noip2010乌龟棋解题报告
  9. 自动量策略的开发和优化
  10. 程序员加班制作了30张可视化大屏模板,套用数据直接用