ubuntu eclipse代码提示黑色背景的解决办法
2012-05-21 14:43
344 查看
#/bin/sh # Tooltip fix # A script to fix themes files in Ubuntu 11.10 # to have readable tooltips in applications such # as eclipse. # The script edits the gtk.css, settings.ini and gtkrc files # Author: Victor Pillac # http://victorpillac.wordpress.com if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" 1>&2 exit 1 fi path=/usr/share/themes theme=Ambiance if [ $# = 1 ]; then theme=$1 fi echo "Fixing tooltips for theme $theme" echo " (you can select a different theme by passing its name as argument)" sed -i 's/tooltip_bg_color #000000/tooltip_bg_color #f5f5b5/g' $path/$theme/gtk-3.0/gtk.css sed -i 's/tooltip_fg_color #ffffff/tooltip_fg_color #000000/g' $path/$theme/gtk-3.0/gtk.css sed -i 's/tooltip_bg_color:#000000/tooltip_bg_color:#f5f5b5/g' $path/$theme/gtk-3.0/settings.ini sed -i 's/tooltip_fg_color:#ffffff/tooltip_fg_color:#000000/g' $path/$theme/gtk-3.0/settings.ini sed -i 's/tooltip_bg_color:#000000/tooltip_bg_color:#f5f5b5/g' $path/$theme/gtk-2.0/gtkrc sed -i 's/tooltip_fg_color:#ffffff/tooltip_fg_color:#000000/g' $path/$theme/gtk-2.0/gtkrc echo "Done"
相关文章推荐
- Ubuntu下Eclipse CDT 代码悬浮提示窗口背景黑色设置方法
- Ubuntu12.10 设置Eclipse修改代码提示黑色背景
- 解决Ubuntu Eclipse 代码浮层黑色背景问题
- ubuntu 12.04 中eclipse下面提示框背景为黑色的解决方法
- 解决Ubuntu Eclipse 代码浮层黑色背景问题
- 解决Ubuntu Eclipse 代码浮层黑色背景问题
- [转]ubuntu中eclipse的悬浮提示窗口背景黑色的修改方法
- ubuntu12.04 Eclipse 代码提示第一个背景灰色 xml字体过小 自动格式化宽度修改 解决
- 解决ubuntu eclipse代码提示崩溃自动退出
- eclipse 代码提示黑色的处理办法
- ubuntu中eclipse的悬浮提示窗口背景黑色的修改方法
- ubuntu下更改eclipse提示框的背景颜色(原来为黑色)
- ubuntu14在kDE界面下的关于eclipse提示框黑色背景的修改!
- ubuntu下更改eclipse提示框的背景颜色(原来为黑色)
- Ubuntu 14.04 Eclipse提示框背景为黑色问题完全解决方案
- ubuntu 下eclipse提示背景黑色的修改
- eclipse content assist 代码提示功能失效解决办法
- 在eclipse下是的编写HTML/CSS/JS/JSP代码时可以自动提示的解决办法
- "ubuntu 下 eclipse 代码提示功能显示后焦点不在eclipse内,需点击窗口才行 “ 问题的解决
- mint下Eclipse的代码提示背景是黑色解决方法