Google Chrome でプロトコル ハンドラーを変更し、Telegram リンクを開く

Google Chrome でプロトコル ハンドラーを変更し、Telegram リンクを開く

インストールしましたテレグラムデスクトップLinux 64 ビット用。Telegram チャンネルに参加するには、チャンネル URL を Google Chrome (例telegram.me/channel_name) で開くと、ブラウザにプロンプ​​トが表示され、どのアプリケーションでプロトコルを処理するかを尋ねられます。

しかし、これはデフォルトで選択されておりxdg-open、変更する方法はありません。「Lunch Application」をクリックしても何も起こりません。このリクエストをTelegramアプリケーションに渡すにはどうすればよいですか?

Chromeがプロンプトを表示

結局のところ、Telegram デスクトップ アプリから直接チャンネルに参加する方法があれば、それを知りたいです。

編集:

以下の内容です.local/share/applications/telegramdesktop.desktop:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Telegram Desktop
Comment=Official desktop version of Telegram messaging app
Exec=/home/user/Desktop/Telegram/Telegram -- %u
Icon=/home/user/.TelegramDesktop/tdata/icon.png
Terminal=false
Type=Application
Categories=Network;
MimeType=application/x-xdg-protocol-tg;x-scheme-handler/tg;
X-Desktop-File-Install-Version=0.22

関連情報