Change Eclipse Tooltip's Color in Ubuntu
这个问题十分高级,随着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的更多相关文章
- How to change Eclipse loading image
Eclipse IDE has many customize components, the splash welcome image (purple color loading image) is ...
- 如何为Eclipse安装主题(Color Theme)
Eclipse开发环境默认都是白底黑字的,看到同事的Xcode中设置的黑灰色背景挺好看的,就去网上查了一下.发现Eclipse也可以设置主题. 方法1:你可以从Eclipse Marketplace中 ...
- Win7中使用Eclipse连接虚拟机中的Ubuntu中的Hadoop2.4<3>
经过前几天的学习,基本上能够小试牛刀编写一些小程序玩一玩了,在此之前做几项准备工作 明白我要用hadoop干什么 大体学习一下mapreduce ubuntu重新启动后,再启动hadoop会报连接异常 ...
- Eclipse tooltip变黑的修正
- How to change the header background color of a QTableView
You can set the style sheet on the QTableView ui->tableView->setStyleSheet("QHeaderView:: ...
- 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 ...
- 解决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 ...
- Ubuntu12.04 Eclipse 提示框背景色修改
I had to edit these files: /usr/share/themes/Ambiance/gtk-3.0/settings.ini /usr/share/themes/Ambianc ...
- eclipse 的操作
1.windows->Preferences...打开"首选项"对话框,左侧导航树,导航到general->Workspace,右 侧Text file encodin ...
随机推荐
- linux清理内存命令
1.清理前内存使用情况 free -m 2.开始清理 echo 1 > /proc/sys/vm/drop_caches3.清理后内存使用情况 free -m4.完成! 查看内存条数命令: # ...
- Mysql数据库上修改日期-->造数据
这次要给客户安装测试ineedle设备,但是安装后不会立刻有数据显示,不能够全面的展示给用户web界面的一些信息.此时需要有一个公网服务器能够展示一下ineedle统计数据,但是公司58设备上没有流量 ...
- c++11 新特性之lambda表达式
写过c#之后,觉得c#里的lambda表达式和delegate配合使用,这样的机制用起来非常爽.c++11也有了lambda表达式,形式上有细小的差异.形式如下: c#:(input paramete ...
- 理解 OpenStack Swift (1):OpenStack + 三节点Swift 集群+ HAProxy + UCARP 安装和配置
本系列文章着重学习和研究OpenStack Swift,包括环境搭建.原理.架构.监控和性能等. (1)OpenStack + 三节点Swift 集群+ HAProxy + UCARP 安装和配置 ( ...
- html5 datalist自动完成
1.传统输入框 <label for="favorite_team">Favorite Team:</label> <input type=" ...
- MMORPG大型游戏设计与开发(客户端架构 part15 of vegine)
一个接口需要统一的派生接口,这样做的好处在于能够统一的进行管理.我所知的脚本语言中,接口有多重接口,也还有所谓的虚基类,这些都是方便类的管理.在vengine(微引擎)中,统一的的接口管理为kerne ...
- vlan协议及端口类型
一.VLAN协议 1.协议的应用 802.1Q协议,即Virtual Bridged Local Area Networks协议,主要规定了VLAN的实现. 2.协议结构 每一个支持802.1Q协议的 ...
- POJ 1696 Space Ant --枚举,模拟,贪心,几何
题意: 有很多点,从最右下角的点开始走起,初始方向水平向右,然后以后每步只能向左边走,问最多能走多少个点. 解法: 贪心的搞的话,肯定每次选左边的与它夹角最小的点,然后走过去. 然后就是相当于模拟地去 ...
- POJ1742 Coins[多重背包可行性]
Coins Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 34814 Accepted: 11828 Descripti ...
- JAVA设计模式之工厂模式
工厂模式概念: 实例化对象,用工厂方法代替new操作 工厂模式包括工厂方法模式和抽象工厂模式 抽象工厂模式是工厂方法模式的扩展 工厂模式的意图: 定义一个接口来创建对象,但是让子类来决定哪些类需要被实 ...