FS#57620 - community/telegram-desktop: .desktop file icon name does not match with /usr/share/icons

Attached to Project: Community Packages
Opened by Pengcheng Xu (jsteward) - Saturday, 24 February 2018, 06:33 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 24 February 2018, 06:42 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 24 February 2018, 06:42 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#57615 
Comment by Pengcheng Xu (jsteward) - Saturday, 24 February 2018, 06:36 GMT
I accidentally pressed enter while still filling out the bug....

To be more specific, the PKGBUILD installs the icons with name "telegram-desktop", yet the vanilla desktop file expect them to be "telegram".

The following patch should fix this:

diff -Naur a/telegramdesktop.desktop b/telegramdesktop.desktop
--- a/telegramdesktop.desktop 2018-02-24 13:56:04.208509278 +0800
+++ b/telegramdesktop.desktop 2018-02-24 13:55:52.851509743 +0800
@@ -3,7 +3,7 @@
Name=Telegram Desktop
Comment=Official desktop version of Telegram messaging app
Exec=telegram-desktop -- %u
-Icon=telegram
+Icon=telegram-desktop
Terminal=false
StartupWMClass=TelegramDesktop
Type=Application

Loading...