gedit的配色方案

来源:互联网 发布:linux 命令参数格式 编辑:程序博客网 时间:2024/04/29 19:00

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的配色方案转换过来使用