I want to install telegram-cli
in Ubuntu 17.04 AMD64. So I use this commands:
sudo snap install telegram-cli
But it not support Persian/Arabic letters. All Persian/Arabic letters has been messed up. And I can't type any Persian/Arabic characters.
And here is the question, How can I solve this problem.
Your issue has two reason, first one is
gnome-terminal
not supported Persian. And the second one issnap
not supported Persian.You can solve this problem, with this ways:
First way (easy way):
This PPA has packages for Ubuntu
16.04
,17.04
,17.10
. And installkonsole
alongside oftelegram-cli
, which is support Persian language.So you can run
konsole
and then runtelegram-cli
on it. As you can see it support Persian completely.Second way (hard way):
Install dependency:
Download sources from github:
Configure and compile it:
And make a symbolic link to its binary:
And you can use
telegram-cli
easily inkonsole
for Persian support.Optional:
You can make a launcher for this package.
So run this command:
And paste this contents to that file.
And run this command:
So you can run telegram-cli from applications menu.