gedit 配色方案

gedit(以及gnome中诸多编辑软件)都是基本 GtkSourceView 的,它的配色方案是用xml文件写的。安装新的配色方案,只需要把相应配色文件放到指定位置即可。

配色方案文件放的地址是:

GtkSourceView 3

A typical search path for GtkSourceView version 3 looks like:

  1. ~/.local/share/gtksourceview-3.0/styles/

  2. /usr/share/gnome/gtksourceview-3.0/styles/

  3. /usr/local/share/gtksourceview-3.0/styles/

  4. /usr/share/gtksourceview-3.0/styles/

http://live.gnome.org/GtkSourceView/StyleSchemes

对gedit来说,这两个网站有比较多的现成的配色方案:

http://live.gnome.org/GtkSourceView/StyleSchemes

https://github.com/mig/gedit-themes

有意思的是vim2gtksourceview2 可以 让你把gvim的配色方案转换过来使用

ubuntu 12.04 gedit的配色方案默认在/usr/share/gtksourceview-3.0/styles/目录下

 

posted @ 2013-08-30 10:06  taotaowill  阅读(653)  评论(0编辑  收藏  举报