Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Everytime I open a file in gedit, I have to change again the tab with from 8 to 4, as I prefer it.

Is there any configuration file where I can make 4 the default tab width?

share|improve this question

2 Answers 2

up vote 9 down vote accepted

In gedit's menu, go to Edit -> Preferences. When the "gedit Preferences" window pops up, click on the "Editor" tab, and you'll be able to change the Tab Width setting.

share|improve this answer

Go to Edit > Preferences in gedit. Then, switch to the Editor tab:

enter image description here

Edit those preferences to your hearts content.

(Please excuse the ugly GTK theme, the latest Oneiric updates broke my XFCE themes)

share|improve this answer

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.