How To: Change hidden preferences for gedit

Very long time, so see, but that’s a good story for another time. Now it is “time” which is of the essence right now so I just wanna lay down a few simple facts about gedit in Ubuntu 15.10.

There are no preferences / settings / options in the menus (anymore). If the premise is true, or you just happen to be also the ignorant victim of a weird setup, there’s a quick way to set some default settings.


This is a gnome settings configuration tool, as always, check the man page for more details. We’ll be using it to display line numbers in gedit and set the tab size to 4 instead of 8.

gsettings set org.gnome.gedit.preferences.editor display-line-numbers true
gsettings set org.gnome.gedit.preferences.editor tabs-size 4

Also, if you need to change any other settings for gedit, use this command to find a list of the available options.

gsettings list-recursively | grep gedit

Props go 3 years back in time to user76204 who had a nice informative post on That’s it for now, but remember kids: gedit is the notepad of gnome, for a real IDE you should check Sublime Text (if you haven’t already).

Man it’s been a long time… next post will probably have to cover my new Sublime Text 3 environment (which after long enough is indeed more awesome than my previous one). Also, note to self: there are still unpublished drafts for the Git section, I should get it over with.

I don’t know what exactly the future holds, so just in case I don’t make it back until much later on, I’d like to wish every one who landed here (by mistake or otherwise) merry xmas and a happy new year 🙂


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s