mirror of
https://github.com/Cheviiot/Nivora.git
synced 2026-08-03 15:51:12 +00:00
Matching Exec to the real binary path wasn't enough: Telegram also compares the installed .desktop's DBusActivatable field against what it expects and still self-installs a shadow copy in ~/.local/share/applications when it sees DBusActivatable=false, producing the same duplicate-icon symptom. Setting it to true stops the shadow copy. Bumped release and checksum.
23 lines
603 B
Desktop File
23 lines
603 B
Desktop File
[Desktop Entry]
|
|
Name=Telegram
|
|
Comment=New era of messaging
|
|
TryExec=/opt/telegram-desktop/Telegram
|
|
Exec=/opt/telegram-desktop/Telegram -- %U
|
|
Icon=org.telegram.desktop
|
|
Terminal=false
|
|
StartupWMClass=TelegramDesktop
|
|
Type=Application
|
|
Categories=Chat;Network;InstantMessaging;Qt;
|
|
MimeType=x-scheme-handler/tg;x-scheme-handler/tonsite;
|
|
Keywords=tg;chat;im;messaging;messenger;sms;tdesktop;
|
|
Actions=quit;
|
|
DBusActivatable=true
|
|
SingleMainWindow=true
|
|
X-GNOME-UsesNotifications=true
|
|
X-GNOME-SingleWindow=true
|
|
|
|
[Desktop Action quit]
|
|
Exec=/opt/telegram-desktop/Telegram -quit
|
|
Name=Quit Telegram
|
|
Icon=application-exit
|