Telegram

Telegram is a cloud-based cross-platform instant messaging service with optional end-to-end encryption. Account creation requires a phone number.

The official clients are open-source but the code for recent versions is not always immediately published. The server-side code is proprietary.

Installation

You can use one of following methods in order to use Telegram:

Chat client plugins

Graphical clients

The official application built by Arch Linux: telegram-desktop.

Third-party clients:

Command-line clients

  • provides command-line interface to connect and use Telegram. For more information about the program, visit the program page on Github.
  • is a command-line interface for Telegram based on Ncurses and needs to run. For more information about the program, visit the program page on Github.
  • Telegram terminal client. For more information about the program, visit the program page on Github.
  • , not a full client but a command-line tool to directly send messages or files via Telegram.
  • telega.el - GNU Emacs Telegram client.
  • TelegramTUI - terminal Telegam client with a pseudo-graphic GUI

Web-based clients

Tips and tricks

GTK dialogs in Telegram Desktop

If you want to use GTK file dialogs instead of Qt ones, install xdg-desktop-portal and . See the relevant upstream wiki page for details.

SVG icon theme in Telegram Desktop

If you want to use an icon theme based on svg image (e.g. ) install . See Qt#Icon theme is not applied for details.

Wayland support

See Wayland#Qt for instructions.

xdg-open in Telegram Desktop

If you want to use xdg-open on t.me links and receive an error not finding a handler for tg:

Failed to set real-time priority for thread: Operation not permitted

If you get the following error

Install realtime-privileges, add yourself to the group and reboot. See Realtime process management#Configuring PAM for details.

HiDPI scaling

If you have QT scaling enabled on your system, you may need to disable high-DPI scaling for Telegram separately.

Copy desktop entry to user-specific folder,

cp /usr/share/applications/telegramdesktop.desktop $HOME/.local/share/applications/telegramdesktop-no-scaling.desktop

Edit Exec= line as follows,

You may need to update database of desktop entries.

Audio backend

As Telegram makes use of OpenAL, it is possible to configure the audio settings by editing its config files, i.e. , or the environment variables listed here.

In case sound is not working due to an invalid audio backend being used, it can be overwritten by setting the environment variable or the property in the [general] section of the OpenAL config. The drivers value for example would try pulseaudio first and then fallback to the default driver list.

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.