Telegram (简体中文)
Telegram 是一种基于云的跨平台即时消息服务,具有可选的端到端加密。创建帐户需要手机号。
官方客户端是开源的,但最新版本的代码并不总是立即发布。服务器端代码是专有的。
安装
在 Arch Linux 上,你可以这样使用 Telegram:
作为其它聊天软件的插件
- telegram-purpleAUR 或 telegram-purple-gitAUR 为基于 libpurple 的聊天软件 (例如 Pidgin ) 提供了支持。
- 基于 Telepathy (例如 GNOME 的 empathyAUR)的软件可以使用 telepathy-haze,它提供了对 libpurple 的支持。
- KDE 用户可以使用 telepathy-morse 将默认聊天程序设置为 Telegram。
图形界面应用程序
- telegram-desktop-binAUR :来自上游的预编译版本。
- telegram-desktop :需要同时编译 Qt。
- telegram-desktop-systemqtAUR[损坏的链接:package not found] :使用系统 Qt 的实验性版本。
- telegram-desktop-systemqt-notoemojiAUR[损坏的链接:package not found] 使用系统 Qt 并替换 Emoji 为 Noto Color Emoji 的实验性版本。
- telegram-desktop-systemqt-emojioneAUR[损坏的链接:package not found] 使用系统 Qt 并替换 Emoji 为 Emoji One 的实验性版本。
其它非官方客户端:
- cutegramAUR[损坏的链接:package not found], 由 aseman 开发,基于 Qt 但是与官方客户端设计不同。安装 cutegram-gitAUR[损坏的链接:package not found] 获得最新的开发版本。
终端应用
- telegram-cli-gitAUR 提供在终端连接和使用 Telegram 的界面 这个项目的详细信息可以在 Github 上找到.
- nctelegram-gitAUR 是基于 Ncurses 的客户端,它也需要 telegram-cli-gitAUR 这个项目的详细信息可以在 Github 上找到.
网页应用
- 官方网页应用 Telegram Web.
- Firefox 的官方网页应用扩展[失效链接 2021-05-17 ⓘ] .
- Telegram Web 的 Chrome app .
提示和技巧
GTK dialogs in Telegram Desktop
If you want to use GTK file dialogs instead of Qt ones, set QT_QPA_PLATFORMTHEME
environment variable to gtk3
.
SVG icon theme in Telegram Desktop
If you want to use an icon theme based on svg image (e.g. papirus-icon-theme) install qt5-svg. See Qt#Icon theme is not applied for details.
Wayland 支持
参见 Wayland#Qt。
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:
xdg-mime default telegramdesktop.desktop application/x-xdg-protocol-tg xdg-mime default telegramdesktop.desktop x-scheme-handler/tg
Failed to set real-time priority for thread: Operation not permitted
If you get the following error
$ telegram-desktop
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
Install realtime-privileges, add yourself to the realtime
group and reboot. See Realtime process management#Configuring PAM for details.
高分屏的显示模糊问题
如果你系统启用了 QT 缩放,需要单独针对 Telegram 关闭 QT 缩放(假设你是 KDE,编辑 $HOME/.local/share/applications/telegramdesktop.desktop):
Exec=QT_SCREEN_SCALE_FACTORS= telegram-desktop -- %u
HiDPI 缩放
如果系统启用了 QT 缩放,可能需要单独针对 Telegram 关闭 高 DPI 缩放。
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,
$HOME/.local/share/applications/telegramdesktop-no-scaling.desktop
Exec=env -u QT_SCREEN_SCALE_FACTORS telegram-desktop -- %u
You may need to update database of desktop entries.
音频后端
As Telegram makes use of OpenAL, it is possible to configure the audio settings by editing its config files, i.e. ~/.config/alsoft.conf
, 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 ALSOFT_DRIVERS
or the drivers
property in the [general]
section of the OpenAL config. The drivers value "pulse,"
for example would try pulseaudio first and then fallback to the default driver list.
Choose correct web camera
Telegram version 3.7.1 does not allow to select the web camera to use in video conference. If you want to force telegram to use a different camera, as a workaround you can disable the unwanted camera device as described in [1].
Arch Linux 中文社区的 Telegram 群组和频道
- Arch Linux CN News - 翻译 Arch Linux 官方网站的最新消息,和社区内大家遇到的踩坑预警。
- #archlinux-cn - 同步到 IRC #archlinux-cn 的中文讨论
- #archlinux-cn-offtopic - 同步到 IRC #archlinux-cn-offtopic ,中文水群
参见
- Arch Linux - 讨论有关 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 news from Arch web site (not updated since 2018).
- Planet Arch - Channel with posts from Planet Arch web site (not updated since 2018).