Created
September 9, 2022 21:14
-
-
Save AysadKozanoglu/a7bece629fbeeff200c9acc8d11511a1 to your computer and use it in GitHub Desktop.
telegram app desktop config shortcut for menu entry item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### create desktop file | |
#### user specific shortcut ~/.local/share/applications/telegram.desktop | |
#### globaly for all users shortcut /usr/share/applications/telegram.desktop | |
``` | |
[Desktop Entry] | |
Version=1.5 | |
Name=Telegram Desktop | |
Comment=Official desktop version of Telegram messaging app | |
TryExec=/home/ghost/packages/Telegram/Telegram | |
Exec=/home/ghost/packages/Telegram/Telegram -workdir /home/ghost/.local/share/TelegramDesktop/ -- %u | |
Icon=telegram | |
Terminal=false | |
StartupWMClass=TelegramDesktop | |
Type=Application | |
Categories=Chat;Network;InstantMessaging;Qt; | |
MimeType=x-scheme-handler/tg; | |
Keywords=tg;chat;im;messaging;messenger;sms;tdesktop; | |
Actions=Quit; | |
SingleMainWindow=true | |
X-GNOME-UsesNotifications=true | |
X-GNOME-SingleWindow=true | |
[Desktop Action Quit] | |
Exec=/home/ghost/packages/Telegram/Telegram -workdir /home/ghost/.local/share/TelegramDesktop/ -quit | |
Name=Quit Telegram | |
Icon=application-exit | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment