From ArchWiki
< GNOME(Redirected from Gedit)
Jump to: navigation, search

Related articles

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:GNOME/Gedit#)


Install the gedit package.


Do not end files with a new line

If you want to ensure that gedit does not end files with a newline, execute the following:

$ gsettings set org.gnome.gedit.preferences.editor ensure-trailing-newline false

Save backup versions of edited files

If desired, gedit can create a backup copy of an edited file - the contents of the backup file will be the same as the contents of the original file before the edit was made and then saved. The backup file's name will be the same as original file's name but suffixed with a ~ symbol. Hence, for the file called file1 the backup copy would have the name file1~. Backup files are hidden by default.

To enable this behaviour, access gedit's Preferences panel (for GNOME Shell users, this can be found in gedit's global menu). In the preferences panel, click on the Editor tab and tick the option Create a backup copy of files before saving.

Spell Checking

In order to use spell checking in gedit you need an aspell dictionary. See the aspell article.


Some plugins are available in the gedit-plugins package.

Adding and making custom plugins

A plugin that shows errors while you type for languages like C, C++, etc, available in the AUR: gedit-code-assistance-gitAUR[broken link: archived in aur-mirror].

See also