Chinaunix首页 | 论坛 | 博客
  • 博客访问: 913142
  • 博文数量: 132
  • 博客积分: 9976
  • 博客等级: 中将
  • 技术积分: 1781
  • 用 户 组: 普通用户
  • 注册时间: 2007-08-30 20:40
文章分类

全部博文(132)

文章存档

2013年(1)

2011年(1)

2010年(15)

2009年(77)

2008年(36)

2007年(2)

我的朋友

分类: 系统运维

2008-11-28 13:11:40


=======================================================================
from:

How do I make my own color scheme?

In the prior releases of gedit you could set the background and text colors. Now it appears that you must use some form of defined color scheme. I don't like the four supplied. When I click to add a scheme it only allows me to find a pre-made scheme file. I can't figure out how to make my own color scheme. How do I do that? Can you at least provide a file name for an included scheme so I can figure it out for myself? It appears that these scheme files have a unique extension. Even that would help.

said on 2007-10-02:

This is a new framework for style schemes support that is being developed and the old functionality is being replaced with the new. In the near future there will be a graphical scheme editor but that doesn't exist yet unfortunatly. All you can do at the moment is create a new xml file your self based off of what's already there. You can find the existing schemes (tango, oblivion, kate etc) in:

/usr/share/gtksourceview-2.0/styles/

And you can edit these as you please but remember to save them under a different name before you do anything!

Alan

P.S For more details see the following link:

http://blogs.gnome.org/pbor/2007/08/01/gedit-style-schemes

said on 2007-10-02:

Also, there are one or two other schemes available here:

said on 2007-10-03:

Wow, somewhat retarded. Sorry, trollpost I know, but really??! sheesh :)

Best said on 2007-10-04:

Once everything has matured this new method will be MUCH better imo. How about marking this as solved if it is.

said on 2007-10-04:

Thanks Alan Mc, that solved my question.

said on 2008-05-06:

I created a scheme color based on dreamweaver:

Just save and add this XML on gedit's scheme colors by clicking Edit->Preferences -> font & colors tab.


====================================================================

阅读(1490) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~