foot-1.25.0

#### Supplemental Linux® From Scratch - Version 13.0

### Chapter 10. Terminal Emulators

- Prev

  Alacritty-0.16.1

- Next

  Launchers

- Up
- Home

# foot-1.25.0

## Introduction to foot

The foot package provides a Wayland terminal emulator.

- Download: https://codeberg.org/dnkl/foot/releases/download/1.25.0/foot-1.25.0.tar.gz

### Additional Downloads

- Required patch: https://www.linuxfromscratch.org/slfs/view/13.0/download/foot/foot-1.25.0-const_strchr-1.patch

### foot Dependencies

#### Required

fontconfig, libxkbcommon, Pixman, Wayland, and Wayland-Protocols

#### Recommended

fcft-3.3.3 (if not built, it will be downloaded), HarfBuzz, and tllist-1.1.0 (if not built, it will be downloaded)

#### Optional

libutempter-1.2.3, scdoc-1.11.4, and utf8proc

## Installation of foot

Ensure some variables have a matching type needed by glibc-2.43 function prototypes:

    patch -Np1 -i ../foot-1.25.0-const_strchr-1.patch

Install foot by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr --buildtype=release .. &&
    ninja

Now, as the `root` user:

    ninja install

If you built scdoc, make the documentation directory versioned as the `root` user:

    mv -v /usr/share/doc/foot{,-1.25.0}

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

## Configuring foot

### Config Files

`~/.config/foot/foot.ini`. The default version is in `/etc/xdg/foot` and will not be used and must be copied to `~/.config/foot`.

### Configuration Information

Create the config file:

    mkdir -pv ~/.config/foot &&
    cp /etc/xdg/foot/foot.ini ~/.config/foot

Now inspect the file and make any changes you see fit.

## Contents

Installed Programs: foot and footclient
Installed Libraries: None
Installed Directories: /etc/xdg/foot, /usr/share/doc/foot-1.25.0, and /usr/share/foot

### Short Descriptions

foot | is a Wayland terminal emulator
footclient | starts foot instances in a foot server

- Prev

  Alacritty-0.16.1

- Next

  Launchers

- Up
- Home