st
st standards for Simple Terminal, a simple terminal implementation for X made by the suckless team.
This post walks through the dependencies needed and process to build and
install st
on Fedora Workstation.
Obtain Files
To start, obtain the source files for st
via
git clone
.
&&
&&
Dependencies
Once you have the files and are in the st
directory, ensure
the following packages are installed.
&&
Building
Before building, ensure that you read the README file.
Once you've read the instructions, open the config.mk
file
and ensure it matches your setup. If you're not sure, leave the default
options within the file.
Finally, you can build st
with the following command.
Ensure you run as root (e.g., sudo
) or else you may not end
up with a usable application file.
Customization (Patches)
Note that customizing st
requires you to modify the source
files or to download one of the available
patches for suckless.org.
If you've already installed st
and want to customize or
install a patch, start by uninstalling the current program.
Next, grab the <path>.diff
file from the page of the patch
you chose. For example, I will be using the
defaultfontsize
patch in the below example.
Once the file is downloaded inside the st
folder, apply the
patch and re-install the program. You may need to install the
patch
command if you don't have it installed already (you
should have installed it above).
Once installed, you can use the default font size patch to launch
st
with any font size you wish: