Introduction to Gedit

The Gedit package contains a lightweight UTF-8 text editor for the GNOME Desktop.

This package is known to build and work properly using an LFS-10.1 platform.

Package Information

Gedit Dependencies


git-2.30.1, gsettings-desktop-schemas-3.38.0, gspell-1.8.4, gtksourceview4-4.8.0, itstool-2.0.6, libpeas-1.28.0, and tepl-5.0.1



GTK-Doc-1.33.2, Vala-0.50.3, and zeitgeist

User Notes:

Installation of Gedit

Install Gedit by running the following commands:

mkdir build &&
cd    build &&

meson --prefix=/usr -Dbuildtype=release .. &&

To test the results, issue: ninja test.

Now, as the root user:

ninja install


If you installed the package to your system using a DESTDIR method, /usr/share/glib-2.0/schemas/gschemas.compiled was not updated/created. Create (or update) the file using the following command as the root user:

glib-compile-schemas /usr/share/glib-2.0/schemas

Command Explanations

-Duser_documentation=false: This switch disables generating the user documentation. Omit this switch if you have GTK-Doc-1.33.2 installed and wish to generate the user documentation.

-Dgtk_doc=true: Use this option to build the reference manual (needs GTK-Doc-1.33.2).


Installed Program: gedit
Installed Libraries:
Installed Directories: /usr/include/gedit-3.38 and /usr/{lib,share,share/gtk-doc/html,share/help/*}/gedit

Short Descriptions


is a lightweight text editor integrated with the GNOME Desktop

Last updated on 2021-02-25 11:57:49 -0800