From Gentoo Wiki
Jump to:navigation Jump to:search
This page contains changes which are not marked for translation.

st is a simple terminal implementation for X environment made by the community.


USE flags

USE flags for x11-terms/st simple terminal implementation for X

savedconfig Use this to restore your config from /etc/portage/savedconfig ${CATEGORY}/${PN}. Make sure your USE flags allow for appropriate dependencies

Preferably, savedconfig USE flag can be enabled and save a customized configuration file to /etc/portage/savedconfig/x11-terms/st for later editing pleasure.

root #euse --enable savedconfig


Install x11-terms/st:

root #emerge --ask x11-terms/st


If you didn't install it with savedconfig USE flag, upon recompilation you will lose your custom settings stored in /etc/portage/savedconfig/x11-terms/st depending of the option chosen, upon an etc-update.

As stated previously, the main st configuration file is the /etc/portage/savedconfig/x11-terms/st file and after each change, st needs to be recompiled for any changes to take effect.

Patches and additional features

There are many user-created patches available from the official site that greatly extend the functionality of st. See /etc/portage/patches on how to apply these patches automatically.



Delete key is not working properly

Add following to the /etc/inputrc to make a system-wide change:

FILE /etc/inputrc
set enable-keypad on

Or to the relative user's ~/.inputrc file:

FILE ~/.inputrc
$include /etc/inputrc
set enable-keypad on