mirror of
https://github.com/Cheviiot/Nivora.git
synced 2026-08-03 15:51:12 +00:00
Telegram's own Linux runtime checks whether the installed .desktop file's Exec matches its actual binary path, and silently writes a private copy to ~/.local/share/applications with a randomized name whenever it doesn't. Our desktop entry pointed at the /usr/bin/telegram-desktop symlink, which never matched /opt/telegram-desktop/Telegram, so Telegram regenerated a shadow launcher on every start, producing a second, unmatched icon. Exec/TryExec now point directly at the installed binary so Telegram's own check finds a match. Bumped release and updated the checksum for the changed desktop file.
23 lines
604 B
Desktop File
23 lines
604 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=false
|
|
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
|