The dark color palette Eclipse by using Compiz Color Filter



Here's the color scheme got me in the end.

Personally, I gravitate to the white letters (and green, of course) on a black background. Especially in the dark easier to read and not strike the eye.

sorry this solution is acceptable only for those who use Gnu/Linux or other OS which comes with the window Manager Compiz.


StackOverflow skrat someone suggested to use the Negative plugin for Compiz.

The negative was also negative. Was very bright letters on a black background. Fortunately, there is another Compiz plugin Color Filter that allows you to roll colors similar to assembler language (written, it is called OpenGL fragment program), a bit of tinkering with the examples, I riveted the filter that makes the negative image and reduces the contrast.

the

Howto


1) Go to the folder /usr/share/compiz/filters/
2) Create a file of the negative is low-contrast.
3) Insert the code below
4) Go to the Compiz settings (ccsm or Main Menu -> System -> Preferences -> CompizConfig ..)
5) Include ColorFilter
6) Add a new newly created filter
7) Use on health (in the literal sense of the word)


the

Code filter


!!ARBfp1.0
TEMP temp, neg;

# Dunno what's this... but every other filter starts with this :) ;
TEX temp, fragment.texcoord[0], texture[0], RECT;

# Applying negative filter ;
RCP neg.a, temp.a;
MAD temp.rgb, -neg.a, temp, 1.0;
MUL temp.rgb, temp.a, temp;
MUL temp, fragment.color, temp;

# Lowering contrast and shifting brightness ;
MUL temp.rgb, temp, 0.8;
ADD temp.rgb, temp, 0.25;

MOV result.color, temp;
END


the

total



* Get a good solution (unfortunately only in the presence of Compiz).
* Universal suitable for all editors and Windows as a whole (though the graphics in the negativity looks bad).
* Turns on and off at will!
* In my list of useful plugins Compiz (Expo, Scale, Grid) added another one =)

the

PS


For Eclipse there are... a dark color scheme, but with some problems. Basically there are volunteers that run all the settings highlights syntax and exhibit the desired color, and then export your settings (File->Export->General->Preferences).

Tried a few of these settings. Almost always begins to fail. This files most often was the color scheme for Java, but wasn't for PDT, Aptana, etc. Tried to put different, but continued, glycofi some features of Eclipse (such as window file compare — the background remained white).

the

P. S. S.


If you want to play with filters, remember that in-code comments begin with "#" and (!) must end with ";"
Article based on information from habrahabr.ru

Комментарии

Популярные сообщения из этого блога

Integration of PostgreSQL with MS SQL Server for those who want faster and deeper

Custom database queries in MODx Revolution

Parse URL in Zend Framework 2