From Gentoo Wiki
Jump to: navigation, search


st is a simple terminal implementation for X environment.


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 global

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


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 offical site that greatly extend the functionality of st.



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