Change the settings of GEDIT in Ubuntu

GEDIT is a tool used to write and save text files. you can write programs of any type and save by ts extension using this GEDIT. Instead of using VIM or VI, we can use GEDIT because it provides us with beautiful user interface.


The options which are not enabled for us previously are :-




  1. Auto Indentation.

  2. Bracket Matching.

  3. Highlighting of current line.

  4. Display line numbers.

  5. Auto saving of the file.


All the above things are not provided for the user previously. So to enable all these fantastic features, we have to do little modification by which all the above things can be enabled.


Here are the steps to carry out :-




  • Press Alt+F2. This will open up the “Run Application”.



  • Type gconf-editor and click on “Run”.

  • Goto /apps/gedit-2/preferences/editor


[stextbox id="black"]Enable Auto Indentation[/stextbox]

Click on auto_indent and tick the value button in right panel.

[stextbox id="black"]Enable Bracket Matching[/stextbox]

Click on bracket_matching and tick the value button in right panel.

[stextbox id="black"]Enable Highlighting of current line[/stextbox]

Click on current_line and tick the value button in right panel.

[stextbox id="black"]Enable Display line numbers[/stextbox]

Click on line_numbers and tick the value button in right panel.

[stextbox id="black"]Enable Auto saving of the file[/stextbox]

Click on save and tick the value button of auto_save in right panel.

That's it :) Stay tuned for some more tricks here.