Introduction to VTE

The VTE package contains a termcap file implementation for terminal emulators.

Package Information

VTE Dependencies


GTK+-2.8.20 and XML::Parser-2.34


GTK-Doc-1.6, intltool-0.34.2, and PyGTK (requires Python-2.4.4)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/vte

Installation of VTE

Install VTE by running the following commands:

sed -i 's%\\177:%&kh=\\EOH:@7=\\EOF:%' termcaps/xterm &&
sed -i 's/FT2_LIBS $LIBS/& $X_LIBS/' configure &&
sed -i -e 's/^ssfe_LDADD =.*$/& -lncurses/' \
       -e 's/^LDFLAGS =.*$/& @X_LIBS@/' \
    src/Makefile.in &&

./configure --prefix=/usr \
            --libexecdir=/usr/lib/vte &&

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed -i ... termcaps/xterm: The Home and End keys are broken in the xterm termcap file. This sed command fixes them.

sed -i ... configure: If you pass the --with-glX parameter to the configure script, configure will fail because it doesn't include the X Window System library directory in the LDFLAGS in one of the checks. This command adds the required directory. This command is not required if your X Window System libraries are located in /usr/lib.

sed -i ... src/Makefile.in: For the same reason the previous sed command is used, this one does a similar modification to fix the Makefile used to build the programs and library. This sed also fixes an issue by adding the libncurses library to the LDFLAGS for building the ssfe program. This issue is also caused by passing the additional parameters to the configure script.

--libexecdir=/usr/lib/vte: This parameter causes the libexec files to be installed in the preferred location of /usr/lib/vte instead of /usr/libexec.

--with-xft2 --with-pangox --with-glX: These parameters can be passed to the configure script to enable additional drawing methods in the VTE library.

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


Installed Program: vte
Installed Libraries: libvte.{so,a} and the vtemodule.{so,a} Python module
Installed Directories: /usr/include/vte, /usr/lib/vte, /usr/share/gtk-doc/html/vte, and /usr/share/vte

Short Descriptions


is a test application for the VTE libraries.


provide the functions necessary to implement a “termcap file” for terminal emulators.

Last updated on 2006-06-25 14:48:15 -0500