This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
st
st is a simple terminal implementation for X environment made by suckless.org community.
Installation
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
Emerge
Install x11-terms/st:
root #
emerge --ask x11-terms/st
Configuration
If you didn't install it with
savedconfig
local 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 offical site that greatly extend the functionality of st. See /etc/portage/patches on how to apply these patches automatically.
Troubleshooting
Keyboard
Delete key is not working properly
Add following to the /etc/inputrc to make a system-wide change:
/etc/inputrc
set enable-keypad on
Or to the relative user's ~/.inputrc file:
~/.inputrc
$include /etc/inputrc set enable-keypad on