Introduction to gedit

The gedit package contains a lightweight UTF-8 text editor for the GNOME desktop.

Package Information

gedit Dependencies


libgnomeui-2.18.1, libgnomeprintui-2.18.0, GNOME Doc Utils-0.10.3, gtksourceview-1.8.5, and which-2.19

Optional (to Provide Spell-Checking Capability)

ISO Codes-1.2 and Enchant*

Optional (to Provide Python Bindings and Plugins)

PyGTK-2.10.6 (including the gtk, pango and gtk.libglade modules) and Gnome-Python-Desktop-2.18.0 (including the gtksourceview module)


intltool-0.35.5, GTK-Doc-1.8, libattr

* Aspell-0.60.5 is just one of many backend spell libraries Enchant can use. See the Enchant project page (URL above) for additional information about the available backends.

User Notes:

Installation of gedit

Install gedit by running the following commands:

./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
            --sysconfdir=/etc/gnome/2.18.3 \
            --localstatedir=/var/lib \
            --disable-spell &&

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

--prefix=$(pkg-config --variable=prefix ORBit-2.0): Setting the prefix using this parameter instead of with $GNOME_PREFIX will ensure that the prefix is consistent with the installation environment and the package will be installed in the correct location.

--sysconfdir=/etc/gnome/2.18.3: This parameter causes the configuration files to be installed in /etc/gnome/2.18.3 instead of $GNOME_PREFIX/etc. Additionally (if applicable), the parameter ensures that the GConf-2 database is correctly updated.

--localstatedir=/var/lib: This parameter is used so that all ScrollKeeper files are installed in, and the ScrollKeeper database is properly updated in /var/lib/scrollkeeper instead of some files being installed in $GNOME_PREFIX/var/scrollkeeper.

--disable-spell: This parameter disables spell-checking capability and is required if Enchant is not installed. Remove the parameter if Enchant is installed.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild the API documentation.


Installed Programs: gedit and gnome-text-editor
Installed Libraries: gedit plugin modules
Installed Directories: The following subdirectories of $GNOME_PREFIX/: include/gedit-2.16, lib/gedit-2, share/{gedit-2, {gnome/help, omf}/gedit}

Short Descriptions


is a lightweight text editor integrated with the GNOME desktop.


is a symlink to gedit.

Last updated on 2007-08-12 11:35:36 -0500