Use Telegram with Chrome in Manjaro

When using Telegram in Manjaro, there has been a problem of being unable to input Chinese through gcin.,I have tried several methods on the Internet,For example, setting the QT_IM_MODULE path,Although you can switch to "Ciyin",But what comes out is still in English,Some people also say that this method only applies to the official version,But I tried and failed,In the end, I had to compare Line,Simulate it as an app through Chrome。

2024/03/16 Update
When I want to use Telegram today,Get out of blocked messages on Telegram For PC,It seems like it violates some of Chrome's rules。Later, I tried two or three Extensions of the same nature.,They are all directly connected to Telegram’s web address.,Therefore, it cannot pass through the following Let Telegram For PC run independently to call Extension。Later, I simply tried to use the App mode directly but changed it to the Web address linked to Telegram.,The results are equally feasible,So the new approach isSkip the following Install Telegram For PCConfirm that it can be used,then in Let Telegram For PC run independently Change the link to:

google-chrome-stable --start-maximized --app='https://web.telegram.org'
# 如果不想最大化視窗,可以拿掉 --start-maximized。



Install Telegram For PC
Open Chrome and go to the "Online App Store" (Chrome Web Store)"search"Telegram For PC” and installation。

Confirm that it can be used
Find "Telegram For PC" in "Extensions" in the upper right corner of Chrome,Click and log in to confirm that it can be used normally。

Let Telegram For PC run independently
"The next step is to imitate the previous one"Let Line on Manjaro (Chrome extension) Operate independently"This,Make a launcher for Telegram For PC。

1. Open the Menu Editor (MenuLibre),Click "+" in the "Internet" item to add。

2. Set the following fields in order
◎ icon:If there is no such thing in the computer,You can download the icon online,Put it in a fixed directory such as:
  ”/usr/share/icons/telegram/” Or
  ”/home/yourID/.local/share/icons/telegram/”。
◎ Title:Enter it yourself。
◎ Description:Enter it yourself
◎ Command:Enter the following command。

google-chrome-stable --start-maximized --app='chrome-extension://ndigigcelppbfkojeoejcailklonljah/index.html'
# ndigigcelppbfkojeoejcailklonljah 這串可以在 app 的網址中找到。
# 如果不想最大化視窗,可以拿掉 --start-maximized。

◎Finally click "Save Launcher" on the upper left。

3. Then you can search for Telegram in the menu,And can be executed directly。



【參考連結】

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.