Install tg-telegram TUI

Requirements

The only requirement for tg to run is

Also you need pip, if is not installed in your system

Archi Linux

Void Linux

Arch Linux AUR

Tg is in the AUR repos in arch

Install from source

To install tg from source here are the repo and the commands you need to run

In *Void Linux* the executable file is installed in /home/user/.local/bin/tg, you need to move the tg file to /usr/local/bin/

Also we can do a symlink

Configuration

The configuration file for tg is located in /home/user/.config/tg/confi.py

Simple config

Configuration

Advanced configuration

Mailcap file

Mailcap file is used for deciding how to open telegram files (docs, pics, voice notes, etc.). Path to the file can be overriden with MAILCAP_FILE in config file.

Example .mailcap

Keybindings

Here

----------

Home

Linux

Notes

MicroLog

----------

© DarknessCode