Difference between revisions of "Telegram"

From ArchWiki
Jump to navigation Jump to search
(grammer and minor text fixes)
m (→‎Tips and tricks: add blank line between section titles)
 
(79 intermediate revisions by 30 users not shown)
Line 1: Line 1:
[[Category:Internet applications]]
+
[[Category:Instant messaging]]
 
[[fa:Telegram]]
 
[[fa:Telegram]]
 +
[[ja:Telegram]]
 
[[pt:Telegram]]
 
[[pt:Telegram]]
[[zh-cn:Telegram]]
+
[[zh-hans:Telegram]]
{{Expansion|This article are going to be completed soon.}}
+
[[ru:Telegram]]
From Wikipedia:[[wikipedia:Telegram (software)|Telegram]] is a cloud-based instant messaging service. Telegram clients exist for both mobile (Android, iOS, Windows Phone, Ubuntu Touch) and desktop systems (Windows, OS X, Linux). Users can send messages and exchange photos, videos, stickers and files of any type. Telegram also provides optional end-to-end-encrypted messaging, which has been criticized by security experts because of its custom nature.
+
[[wikipedia:Telegram (software)|Telegram]] is a cloud-based cross-platform instant messaging service with optional end-to-end encryption. Account creation requires a phone number.
  
== Install ==
+
The official clients are open-source but the code for recent versions is not always immediately published. The server-side code is proprietary.
  
You can use following methods in order to use [https://telegram.org/ telegram] in Arch:
+
== Installation ==
  
=== Using available messaging software and adding capability of connecting to telegram to them ===
+
You can use one of following methods in order to use Telegram in Arch:
  
*By using {{AUR|telegram-purple}} package, connection to telegram  through massenger softwares based on {{Pkg|libpurple}} such as [[Pidgin]] is provided.
+
=== Chat client plugins ===
*Messaging apps that are using [[wikipedia:Telepathy|Telepathy]] such as {{Pkg|empathy}} (the default messenger for [[GNOME]]) can make use of  {{Pkg|telepathy-haze}} package, which provides possibility of using {{Pkg|libpurple}} and thus {{AUR|telegram-purple}} to connect telegram.
 
*In the [[KDE]] desktop environment using {{AUR|telepathy-morse}} provides capability of connecting the default messenger to telegram.
 
  
=== Using GUI and desktop applications for Telegram ===
+
* By using {{AUR|telegram-purple}} or {{AUR|telegram-purple-git}} packages, connection to Telegram through (graphical or command-line) messenger softwares based on {{Pkg|libpurple}} such as [[Pidgin]] is provided.
 +
* Messaging apps that are using [[wikipedia:Telepathy_(software)|Telepathy]] such as {{Pkg|empathy}} (the default messenger for [[GNOME]]) can make use of {{Pkg|telepathy-haze}} package, which provides possibility of using {{Pkg|libpurple}} and thus {{AUR|telegram-purple}} to connect Telegram.
 +
* In the [[KDE]] desktop environment using {{Pkg|telepathy-morse}} provides capability of connecting the default messenger to Telegram.
  
Available applications in order to use Telegram in graphical environment are divided into two categories:
+
=== Graphical clients ===
#The official app from [https://desktop.telegram.org/ Telegram].
 
#Non-formal programs that are provided by others.
 
  
To install applications provided by Telegram, one can use the following packages:
+
The [https://desktop.telegram.org/ official app]:
  
*{{AUR|telegram-desktop-bin}} that have been compiled and is available on [https://desktop.telegram.org/ Telegram].
+
* {{Pkg|telegram-desktop}}, built by Arch Linux
*{{AUR|telegram-desktop}} that needs [[Qt]] libraries to be compiled.
+
* {{AUR|telegram-desktop-bin}}, built by upstream
*{{AUR|telegram-desktop-light}} that needs [[Qt]] libraries and Telegram's source using the system software libraries to be compiled.
 
  
Unofficial other programs are as follows:
+
{{Tip|Telegram uses Open Sans as the default font, which is provided by the optional dependency {{Pkg|ttf-opensans}}.}}
  
*Package {{Pkg|cutegram}} exists in the Arch official repositories and many other Linux distributions and BSDs. This package has been created by Iranian programmers from [http://aseman.co/en/products/cutegram aseman]. The package is based on [[Qt]] and has different capabilities from pure Telegram. But it's recommended to use official Telegram package in order to be able to get most latest features Telegram provides.
+
Third-party clients:
  
=== Telegram applications for the command line and CLI environment ===
+
* {{AUR|bettergram}}
 +
* {{AUR|kepka-git}}
 +
* {{AUR|cutegram-git}}
 +
* {{AUR|telegreat-git}}
  
*{{AUR|telegram-cli}} provides command-line interface to connect and use Telegram. For more information about the program, visit program page on [https://github.com/vysheng/tg Github].
+
=== Command-line clients ===
  
*{{AUR|nctelegram}} is a command-line interface for telegrams based on [[wikipedia:Ncurses|Ncurses]]. It needs {{AUR|telegram-cli}} to run. For more information about the program, visit program page on [https://github.com/Nanoseb/ncTelegram Github].
+
* {{AUR|telegram-cli-git}} provides command-line interface to connect and use Telegram. For more information about the program, visit the program page on [https://github.com/vysheng/tg Github].
 +
* {{AUR|nctelegram-git}} is a command-line interface for Telegram based on [[wikipedia:Ncurses|Ncurses]] and needs {{AUR|telegram-cli-git}} to run. For more information about the program, visit the program page on [https://github.com/Nanoseb/ncTelegram Github].
 +
* {{AUR|python-telegram-send}}, not a full client but a command-line tool to directly send messages or files via Telegram.
 +
* [https://github.com/zevlg/telega.el telega.el] - GNU Emacs Telegram client.
  
=== Using the Web-based version of Telegram ===
+
=== Web-based clients ===
  
*To use the web version of telegram, you can use your favorite internet browser for openning [https://telegram.org/dl/webogram webogram] page, and after you have confirmed your account, you can use telegram.
+
* The official [https://web.telegram.org Telegram Web].
*{{AUR|franz}} is a web-based application that can be used for web-based interface of various instant messenger software such as [[wikipedia:Telegram|Telegram]], [[wikipedia:WhatsApp|WhatsApp]], [[wikipedia:Facebook|Facebook]], and more.
+
* {{AUR|franz}} is an [https://github.com/meetfranz/franz open-source] web-based application that can be used for web-based interface of various instant messaging software such as [[wikipedia:Telegram (software)|Telegram]], [[wikipedia:WhatsApp|WhatsApp]], [[wikipedia:Facebook|Facebook]], and more.
*Using the [https://addons.mozilla.org/en-US/firefox/addon/telegram-desktop/ telegram-desktop] plug-in for [[Firefox]] browser, provide the possibility of using the web version of telegram.
+
* {{AUR|rambox-bin}} is an alternative to Franz, also open source. It offers all features of its counterpart.
 +
* Use [https://addons.mozilla.org/en-US/firefox/addon/telegram-desktop/ Telegram Desktop] addons for [[Firefox]], to connect to Telegram in your browser via web interface.
 +
* Use [https://telegram.org/dl/webogram/chromeapp Telegram Chrome app] for [[Chromium]], to connect to Telegram in your browser via web interface.
  
 
== Tips and tricks ==
 
== Tips and tricks ==
  
*{{AUR|telegram-desktop}} and {{AUR|telegram-desktop-light}} packages need to download [http://download.qt.io/official_releases/qt/5.7/5.7.0/submodules/qtbase-opensource-src-5.7.0.tar.xz qtbase-src] file to compile. This requires approximately 40 MB to download for building package.
+
=== Wayland support ===
*Use unofficial repository [[Unofficial_user_repositories#archlinuxcn|archlinuxcn]] to install packages {{AUR|telegram-desktop}} and {{AUR|telegram-desktop-bin}} in which case there is no need to download [http://download.qt.io/official_releases/qt/5.7/5.7.0/submodules/qtbase-opensource-src-5.7.0.tar.xz qtbase-src] file, mentioned in the previous point for making {{AUR|telegram-desktop}}. To use this repository, add following code to the end of the ‎{{ic|pacman.conf}}‎ file, and update your repositories database:
 
{{bc|1=
 
<nowiki>
 
[Archlinuxcn]
 
SigLevel = Never
 
Server = http://repo.archlinuxcn.org/$arch
 
</nowiki>
 
}}
 
  
Some other related packages for telegram can also be found in this repository.
+
Official [https://github.com/telegramdesktop/tdesktop/releases Telegram binary] does not support Wayland, but {{Pkg|telegram-desktop}} from Arch Linux does. See [[Wayland#Qt 5]] for instructions.
 +
 
 +
=== Telegram resources about Arch Linux ===
 +
 
 +
* [https://t.me/archlinuxgroup Arch Linux] - Unofficial group for discussing everything about Arch Linux.
 +
* [https://t.me/archewikibot ArchWikiBot] - Inline bot for searching through ArchWiki pages.
 +
* [https://t.me/planetarch Planet Arch Linux & News] - Channel with recent Planet Arch updates and Latest News in one place.
 +
* [https://t.me/archlinux_updates Arch Linux: Recent package updates] - Channel with recent package updates in Arch Linux repositories.
 +
* [https://t.me/archlinuxnews Arch Linux News] - Channel with latest news from Arch web site ''(not updated)''.
 +
* [https://t.me/archplanet Planet Arch] - Channel with latest posts from Planet Arch web site ''(not updated)''.
 +
* [https://t.me/archlinuxfr Archlinux.fr News] - Channel with latest posts from Archlinux.fr forums and other stuff about Arch Linux.
 +
* [https://t.me/archlinux_FR Archlinux.fr Chat] - Unofficial group for discussing everything about Arch Linux for french users.
 +
 
 +
=== Unread messages counter for Telegram Desktop ===
 +
 
 +
By default, only the icon in the system tray will show the number of unread messages.
 +
If you want to have the actual app icon to show the unread message counter as well, you can use the Unity badge integration, which can be handled by KDE and Gnome as well.
 +
To enable the Unity integration, you will have to install {{AUR|libunity}} and start Telegram Desktop with the {{ic|XDG_CURRENT_DESKTOP}} environment variable set to {{ic|Unity}}, e.g. copy the {{ic|.desktop}} file to {{ic|~/.local/share/applications/}} and change the {{ic|Exec}} line to start Telegram Desktop with the environment variable set instead.

Latest revision as of 19:12, 23 February 2020

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 in Arch:

Chat client plugins

Graphical clients

The official app:

Tip: Telegram uses Open Sans as the default font, which is provided by the optional dependency ttf-opensans.

Third-party clients:

Command-line clients

  • telegram-cli-gitAUR provides command-line interface to connect and use Telegram. For more information about the program, visit the program page on Github.
  • nctelegram-gitAUR is a command-line interface for Telegram based on Ncurses and needs telegram-cli-gitAUR to run. For more information about the program, visit the program page on Github.
  • python-telegram-sendAUR, not a full client but a command-line tool to directly send messages or files via Telegram.
  • telega.el - GNU Emacs Telegram client.

Web-based clients

Tips and tricks

Wayland support

Official Telegram binary does not support Wayland, but telegram-desktop from Arch Linux does. See Wayland#Qt 5 for instructions.

Telegram resources about Arch Linux

  • Arch Linux - Unofficial group for discussing everything about Arch Linux.
  • ArchWikiBot - Inline bot for searching through ArchWiki pages.
  • Planet Arch Linux & News - Channel with recent Planet Arch updates and Latest News in one place.
  • Arch Linux: Recent package updates - Channel with recent package updates in Arch Linux repositories.
  • Arch Linux News - Channel with latest news from Arch web site (not updated).
  • Planet Arch - Channel with latest posts from Planet Arch web site (not updated).
  • Archlinux.fr News - Channel with latest posts from Archlinux.fr forums and other stuff about Arch Linux.
  • Archlinux.fr Chat - Unofficial group for discussing everything about Arch Linux for french users.

Unread messages counter for Telegram Desktop

By default, only the icon in the system tray will show the number of unread messages. If you want to have the actual app icon to show the unread message counter as well, you can use the Unity badge integration, which can be handled by KDE and Gnome as well. To enable the Unity integration, you will have to install libunityAUR and start Telegram Desktop with the XDG_CURRENT_DESKTOP environment variable set to Unity, e.g. copy the .desktop file to ~/.local/share/applications/ and change the Exec line to start Telegram Desktop with the environment variable set instead.