Kali Linux Install NextCloud Client: Difference between revisions
(Created page with "Telegram is available within the Kali's repository, but the version is little bit older than the current version of [https://desktop.telegram.org/ Telegram for Desktop]. Here is short script how to download and deploy the latest version via the command line.<syntaxhighlight lang="shell" line="1" class="force-prompt"> cd ~/Downloads wget https://telegram.org/dl/desktop/linux -O telegram-desktop-linux.tar.xz tar -xvf telegram-desktop-linux.tar.xz mv Telegram ~/.local/share...") |
m (Стадий: 1 [Фаза:Идентифициране, Статус:Създаване]; Категория:Linux Desktop) |
||
Line 1: | Line 1: | ||
<noinclude><!--[[Category:Linux_Desktop|?]]-->{{ContentArticleHeader/Linux_Desktop}}</noinclude> | |||
== References == | |||
* ... | |||
* ... | |||
== Section 1 == | |||
... | |||
Telegram is available within the Kali's repository, but the version is little bit older than the current version of [https://desktop.telegram.org/ Telegram for Desktop]. Here is short script how to download and deploy the latest version via the command line.<syntaxhighlight lang="shell" line="1" class="force-prompt"> | Telegram is available within the Kali's repository, but the version is little bit older than the current version of [https://desktop.telegram.org/ Telegram for Desktop]. Here is short script how to download and deploy the latest version via the command line.<syntaxhighlight lang="shell" line="1" class="force-prompt"> | ||
cd ~/Downloads | cd ~/Downloads | ||
Line 19: | Line 28: | ||
dbus-launch gio set ~/Desktop/Telegram.desktop "metadata::trusted" true | dbus-launch gio set ~/Desktop/Telegram.desktop "metadata::trusted" true | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<noinclude> | |||
<div id='devStage'> | |||
{{devStage | |||
| Прндл = Linux Desktop | |||
| Стадий = 1 | |||
| Фаза = Идентифициране | |||
| Статус = Създаване | |||
| ИдтПт = {{REVISIONUSER}} | |||
| ИдтДт = {{Today}} | |||
| ИдтРв = {{REVISIONID}} | |||
}} | |||
</div> | |||
</noinclude> |
Revision as of 21:41, 26 August 2022
References
- …
- …
Section 1
…
Telegram is available within the Kali's repository, but the version is little bit older than the current version of Telegram for Desktop. Here is short script how to download and deploy the latest version via the command line.
cd ~/Downloads
wget https://telegram.org/dl/desktop/linux -O telegram-desktop-linux.tar.xz
tar -xvf telegram-desktop-linux.tar.xz
mv Telegram ~/.local/share/TelegramDesktop
~/.local/share/TelegramDesktop/Telegram &
rm telegram-desktop-linux.tar.xz
Penultimate command above will start the Telegram application. One it is started it will create automatically the necessary .desktop files, so you can find Telegram within the GNOME's applications list. Also you could setup Telegram to automatically start at user log-in from within its settings.
If you want to put a Telegram icon at the desktop execute the following command. Note Telegram must be started at least one time before running the find/copy command below.
find ~/.local -type f -name 'appimagekit*Telegram*.desktop' -exec cp {} ~/Desktop/Telegram.desktop \;
sed -r -e '/^(Version|SingleMainWindow)/d' -e 's/^(Name=Telegram).*$/\1/' ~/Desktop/Telegram.desktop -i
Then right click on the new icon at the desktop and choice on the Allow Launching
option. Or run the following commands which will do the same for you.
desktop-file-install --mode=0755 --dir=$HOME/Desktop ~/Desktop/Telegram.desktop
dbus-launch gio set ~/Desktop/Telegram.desktop "metadata::trusted" true