Skip to content

Instantly share code, notes, and snippets.

@AysadKozanoglu
Created September 9, 2022 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AysadKozanoglu/a7bece629fbeeff200c9acc8d11511a1 to your computer and use it in GitHub Desktop.
Save AysadKozanoglu/a7bece629fbeeff200c9acc8d11511a1 to your computer and use it in GitHub Desktop.
telegram app desktop config shortcut for menu entry item
### 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