Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Meld 1.5.1 uses gtksourceview (via pygtksourceview) for its syntax-highlighting, however I'm unable to figure out how to configure it to use a specific style (color scheme/theme) from the ones available to gtksourceview.

Maybe the solution is outside of meld - eg, settings the default style used for gtksourceview in general, or something similar.

share|improve this question
add comment

2 Answers

The process seems to involve creating a file ~/.gtkrc-2.0 to overwride the meld defaults.

You can find some examples for Dark Themes in the wiki (just recently added).

Also, do not forget to change the theme name from the predefined one, or it will use that.

share|improve this answer
add comment

I had trouble doing this in .gtkrc-2.0 for meld-1.3.0 under Solaris

Instead I found I could affect them in ~/.meld/meldrc.ini

Example, under the [DEFAULT] section

color_delete_bg = #003300
color_delete_fg = red
color_replace_bg = #112233
color_replace_fg = gray80
color_conflict_bg = pink
color_conflict_fg = white
color_inline_bg = #223344
color_inline_fg = white
color_edited_bg = gray20
color_edited_fg = white
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.