Why is 'gedit' going back to default tab sizes all the time?
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.
For GNOME 3, go here
GNOME 2
Go to Edit > Preferences
in gedit. Then, switch to the Editor
tab:
Edit those preferences to your hearts content.
(Please excuse the ugly GTK theme, the latest Oneiric updates broke my XFCE themes)
Open Terminal and type:
gsettings set org.gnome.gedit.preferences.editor tabs-size 4