Bug 1211990 - twinkle needs a better .desktop file for xdg handling of callto: and tel: links
Summary: twinkle needs a better .desktop file for xdg handling of callto: and tel: links
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Network (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Michal Kubeček
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-05 03:31 UTC by Jeff Stern
Modified: 2023-08-03 09:41 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
proposed twinkle.desktop fixed file (359 bytes, application/x-desktop)
2023-06-05 03:31 UTC, Jeff Stern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Stern 2023-06-05 03:31:52 UTC
Created attachment 867395 [details]
proposed twinkle.desktop fixed file

After installing twinkle, my OpenSUSE system still does not know about it, when clicking for instance on tel: or callto: links in Thunderbird.

I fixed this on my system with a better /usr/share/applications/twinkle.desktop file.  Instead of this...

=====CURRENTLY PACKAGED====================================
[Desktop Entry]
Categories=Network;Telephony;
Encoding=UTF-8
Name=Twinkle
GenericName=SIP VoIP Phone
Type=Application
Exec=twinkle
Icon=twinkle
===========================================================

...I now have this...

=====FIX===================================================
[Desktop Entry]
Categories=Network;Telephony;
Encoding=UTF-8
Name=Twinkle
GenericName=SIP VoIP Phone
Type=Application
Exec=bash -c '/usr/bin/twinkle --call `echo $0 | sed "s/callto://" | sed "s/tel://"`' %U
Icon=twinkle
Comment=Twinkle Telephony
Categories=Network;Application;
MimeType=x-scheme-handler/tel;x-scheme-handler/callto
X-KDE-Protocols=tel;callto
===========================================================

...and this fixes it. I can now click on a callto: or tel: link in Thunderbird, Firefox, or elsewhere, and it calls up twinkle.

N.B.- Zoom's zoom.desktop file also likes to list itself as handling callto:'s and tel:'s, EVEN THOUGH Zoom cannot handle these (at least, the free addition). So Zoom can still (stupidly) try to compete with twinkle, when it shouldn't because Zoom can't make SIP calls anyway.

I offer the above fix to OpenSUSE for the next packaging of twinkle. Let me know if there is any more information or if I have left anything out. Thank you!