Telegram
Telegram 是一種基於雲的跨平台即時消息服務,具有可選的端到端加密。創建帳戶需要手機號。
官方客戶端是開源的,但最新版本的代碼並不總是立即發布。伺服器端代碼是專有的。
安裝[編輯 | 編輯原始碼]
在 Arch Linux 上,你可以這樣使用 Telegram:
聊天軟體的插件[編輯 | 編輯原始碼]
- telegram-tdlib-purple-gitAUR 為基於 libpurple包 的聊天軟體 (例如 Pidgin ) 提供了支持。
- 基於 Telepathy (例如 GNOME 的 empathyAUR)的軟體可以使用 telepathy-haze包,它也支持libpurple包,所以也可以用 telegram-tdlib-purple-gitAUR 提供支持。
- KDE 用戶可以使用 telepathy-morse包 將默認聊天程序設置為 Telegram。
圖形界面[編輯 | 編輯原始碼]
telegram-desktop包 提供了 官方桌面版客戶端。
三方客戶端:
終端客戶端[編輯 | 編輯原始碼]
- telegram-cli-gitAUR 提供在終端連接和使用 Telegram 的界面 這個項目的詳細信息可以在 Github 上找到.
- nctelegram-gitAUR 是基於 Ncurses 的客戶端,它也需要 telegram-cli-gitAUR 這個項目的詳細信息可以在 Github 上找到.
- telegram-tgAUR Telegram 終端客戶端,詳情參考 Github.
- python-telegram-sendAUR 不是完整客戶端,是一個可以通過 Telegram 發送消息和文件的工具。
- telega.el - GNU Emacs Telegram 客戶端.
- TelegramTUI - terminal Telegam client with a pseudo-graphic GUI
- nchat-gitAUR Terminal-based Telegram client for Linux and macOS with support for external editor compose, visit the program page on Github.
基於網頁的客戶端[編輯 | 編輯原始碼]
- 官方的 Telegram WebK。
- 官方網頁應用 Telegram Web。
- franzAUR 是 開源 的 Web 客戶端,可以作為 Telegram, WhatsApp, Facebook 等應用的客戶端。
- rambox-binAUR 是 Franz 的備選之一,也是開源的,提供了各個功能的對標組件。
- Telegram Web 的 Chrome app。
提示和技巧[編輯 | 編輯原始碼]
在 Telegram 中使用 GTK 對話框[編輯 | 編輯原始碼]
如果你想要使用 GTK 對話框來代替 Qt 對話框,將 QT_QPA_PLATFORMTHEME
環境變量 設置為 gtk3
。
KDE dialogs in Telegram Desktop[編輯 | 編輯原始碼]
If you want to use KDE file dialogs instead of Qt ones, set QT_QPA_PLATFORMTHEME
environment variable to xdgdesktopportal
.
使用 SVG 圖標主題[編輯 | 編輯原始碼]
如果您想使用基於 SVG 圖像的圖標主題 (e.g. papirus-icon-theme包),請安裝 qt5-svg包。參見 Qt#Icon theme is not applied。
Wayland 支持[編輯 | 編輯原始碼]
參見 Wayland#Qt。
Telegram Desktop 中的 xdg-open[編輯 | 編輯原始碼]
如果你想在 t.me 連結上使用 xdg-open 並收到一個錯誤,找不到 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[編輯 | 編輯原始碼]
如果獲得以下錯誤信息:
$ telegram-desktop
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
安裝 realtime-privileges包,並 添加 您自己到 realtime
用戶組並重啟。參見Realtime process management#Configuring PAM。
HiDPI 縮放[編輯 | 編輯原始碼]
如果系統啟用了 Qt 縮放,且縮放比例不是整數,你可能遇到 圖片和圖標出現馬賽克 的問題。此時可能需要單獨針對 Telegram 關閉 高 DPI 縮放。
將 /usr/share/applications/telegramdesktop.desktop
複製到用戶特定應用程式目錄下,並像這樣編輯:
$HOME/.local/share/applications/telegramdesktop-no-scaling.desktop
... Exec=env -u QT_SCREEN_SCALE_FACTORS telegram-desktop -- %u ...
您可能需要更新桌面項目資料庫。
音頻後端[編輯 | 編輯原始碼]
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.
選擇正確的攝像頭[編輯 | 編輯原始碼]
Telegram 版本 3.7.1 不允許切換用於視頻會議的攝像頭。如果要強制 telegram 使用其他攝像頭, 可以禁用不需要的攝像頭,參見 https://askubuntu.com/a/166819 。
Fcitx support for Qt 6 Telegram[編輯 | 編輯原始碼]
Telegram-desktop is built against Qt 6 since 3.4.2-2. Users upgrading from an older version might notice Fcitx stop working for this application. To make it work again, install fcitx-qt6包 or the fcitx-im包組 group. If using Fcitx5, install fcitx5-im包組.
Changing the default file browser[編輯 | 編輯原始碼]
On environments where the XDG_CURRENT_DESKTOP
environment variable is unset (like when not running desktop environments, i.e only window managers) telegram-desktop falls back to a very basic file browser. Using the above mentioned variable, the user can change the default one to the one they like that belongs to a certain desktop environment. Valid values for this variable can found here. For example to use Thunar from the XFCE project:
XDG_CURRENT_DESKTOP=XFCE telegram-desktop
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 - Arch Linux Wiki 搜索機器人。
- Planet Arch Linux & News - Channel with recent Planet Arch updates and Latest News in one place.
- Arch Linux: Recent package updates - Arch Linux 軟體包更新通知頻道。
- Arch Linux News - Arch 網站的新聞頻道 (2018 年起不再更新)。
- Planet Arch - Planet Arch 網站的文章頻道 (2018 年起不再更新)。