can i change background gedit to balck?

Asked by RONI VINCENT

can i change background gedit to balck?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gedit Edit question
Assignee:
No assignee Edit question
Solved by:
Curtis Hovey
Solved:
Last query:
Last reply:
Revision history for this message
Thomas Krüger (thkrueger) said :
#1

Sure, go into the settings → 3rd tab → Choose "Oblivion"!
To get more color schemas and to know how to edit them, check: https://wiki.gnome.org/GtkSourceView/StyleSchemes !

Revision history for this message
Best Curtis Hovey (sinzui) said :
#2

You can select the colour rules at
    Edit > Preferences > Fonts & Colors > Color Scheme

Oblivion has a dark background.

You can create your own colour schemes by copying a scheme and editing it. Such as
    cp /usr/share/gtksourceview-3.0/styles/oblivion.xml ~/.local/share/gtksourceview-3.0/styles/mystyle.xml
    gedit ~/.local/share/gtksourceview-3.0/styles/mystyle.xml
    <make changes>
    <quit gedit>
    <restart gedit>
   <per above, select mystyle>

Revision history for this message
RONI VINCENT (vincentroni93) said :
#3

Thanks Curtis Hovey, that solved my question.