Skip to content

Using the Computer

What is this section about?

This section covers day-to-day tasks on a TechLit computer, from changing settings to managing apps and games.


Changing System Settings (tl-sys-configure)

Section titled “Changing System Settings (tl-sys-configure)”

This is the main tool for setting up a computer’s name and its role in the classroom.

Settings Menu

Settings Menu

Use arrow keys to move, Space to select, and Enter to finish.

What you can do here
  • Set Role: Make the computer a server (main) or a client (network role).
  • Wi-Fi Setup: Set the name of the classroom Wi-Fi network.
  • Computer Name: Give the computer a unique name (like tl-1234).
  • Fix Hardware: Turn on special fixes for older computers.

Use this tool to see which apps are installed and to free up disk space by removing old files.

Manage Components

Manage Components

Search for ‘Manage Components’ in the menu to start.

How to use this tool
  • See a list of all installed parts and how much space they use.
  • Remove old parts or Btrfs Snapshots to get more free space.

Use this tool to update the computer’s software using a USB drive.

Update Components

Update Components

Search for ‘Update Components’ in the menu to start.

How to use this tool
  • Update apps and tools from a USB drive.
  • Perform a full update of the computer system.

TechLit computers support adding games and other software as “package bundles”. These bundles are managed similarly to other system components and can be pulled from the network and installed locally.


Installing a game involves pulling the bundle files to the computer and then running the installation command provided by the tool.

  1. Pull the Bundle

    First, ensure the game bundle is available on your computer. You can pull it from the internet (Bastion) or another computer on the network (LAN).

    From the Internet (Bastion):

    # Example for SuperTux
    tl-comp-pull supertux-bundle https://bastion

    From a Local Computer (LAN):

    # Replace 'tl-1234' with the hostname of the source computer
    tl-comp-pull supertux-bundle tl-1234.local
  2. Run the Installation Command

    Once the bundle is pulled, the tl-comp-pull command will display the specific instructions for installing it. It usually involves running a command like this:

    # Copy the exact command from your terminal output
    sudo pacman -U /srv/packages/bundle-name/*.pkg.tar.zst

If you need to remove a game, you have several options depending on whether you want to remove just the game or revert recent system changes.

The recommended way to remove a specific game package is to use the package manager.

# Replace 'game-name' with the actual package name (e.g., supertuxkart)
sudo pacman -Rs game-name

You can also use TechLit’s built-in tools to revert the system to its previous state.

  • Restore Snapshot:tl-img-restore
  • Reconfigure System:tl-sys-configure

What are admin scripts?

These are the scripts you will be using to maintain your TechLit System (fresh install, upgrade, reinstall, etc.)

How are scripts named?

The scripts follow a naming convention to make them easy to identify and use

  • All admin scripts follow a consistent format: tl-*-*.
  • Each script begins with the prefixtl-.
  • The second part represents the group of commands it belongs to (e.g., hw, img, comp, sys, or usb).
  • Finally, the third part specifies the specific action or command within that group (e.g., prepare, update, etc.).
What are the command groups?

The admin scripts are organized into distinct groups, each serving a specific purpose.

Hardware related commands

Hardware related commands (partitioning, installing components, updating bootloaders).

  • tl-hw-prepare: Creates partitions and installs components for the TechLit system.

  • Takes a hard drive and a tag as parameters.

  • Example tl-hw-prepare /dev/sdX tl-2054

  • tl-hw-update-desktop: Unpacks the TechLit system archive into an already-provisioned desktop system on /dev/sdX. Takes a hard drive and an optional version as parameters. Example: tl-hw-update-desktop /dev/sdX

  • tl-hw-update-bootloader: Installs and configures the bootloader on /dev/sdx.

  • tl-hw-chroot-desktop: Mounts the required partitions and chroots into the TechLit system on /dev/sdx.

See command examples

Some examples of some common command usage

  • A TechLit system for the first time on a computer with a hard drive /dev/sda and tag tl-2054
tl-hw-prepare /dev/sda tl-2054
  • With environment variables
WIFI_NAME="TechLit Vim" tl-hw-prepare /dev/sda tl-2054
  • A TechLit system from a desktop image hosted in /dev/sda
tl-hw-update-desktop /dev/sda
  • A TechLit system first time after preparing
tl-sys-configure
  • On a TechLit Computer unable to boot because of bootloader or wrong fstab by reinstalling Grub bootloader on a TechLit system installed at /dev/sda
sudo tl-hw-update-bootloader /dev/sda

Setting Up Programming LanguagesInstall and switch the programming languages used in class.
  • System Updates: You mostly use the Update Components tool for this. The method changes if you use a USB drive or the local network. For full steps on all update methods, see the Update Guide.