Introduction to gedit

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

Package Information

gedit Dependencies


libgnomeui-2.14.1, GNOME Doc Utils-0.6.1, gtksourceview-1.6.2, and which-2.16


intltool-0.34.2, Aspell-0.60.4, PyXML-0.8.4, and gnome-python-desktop (requires PyGTK and can use GNOME-Python and PyORBit)

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.14.3 \
            --localstatedir=/var/lib \
            --mandir=$(pkg-config \
                --variable=prefix ORBit-2.0)/share/man &&

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.14.3: This parameter causes the configuration files to be installed in /etc/gnome/2.14.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.

--mandir=$(pkg-config --variable=prefix ORBit-2.0)/share/man: This parameter causes the man.(X) files to be installed in $GNOME_PREFIX/share/man/man(X) instead of $GNOME_PREFIX/man/man(X).

Configuring gedit

Configuration Information

There is no way in the preferences to change the color of highlighted (such as when you search for text and it is found) text. If you wish to change the color, issue the following command as the root user (substitute your color of choice):

sed -i 's/FFFF78/<some-color-you-like>/' gedit/gedit-document.c


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

Short Descriptions


is a lightweight text editor.


is a symlink to gedit.

Last updated on 2007-01-15 18:08:14 -0600