FS#44837 - Teamspeak3 ts3server: protocol handler is not installed

Attached to Project: Community Packages
Opened by Jordan Klassen (forivall) - Monday, 04 May 2015, 05:43 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 22 October 2018, 15:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description: Teamspeak 3 should support opening protocol links like ts3server://some.teamspeak.server.com?port=12345&nickname=bug


Additional info:
* package version: 3.0.16-1


Steps to reproduce:
* Click on ts3server:// link from firefox
* "Not supported" is shown
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 22 October 2018, 15:22 GMT
Reason for closing:  Fixed
Comment by Jordan Klassen (forivall) - Monday, 04 May 2015, 05:47 GMT
the "not supported" is shown in firefox, not by teamspeak. launching "teamspeak ts3://..." from the commandline works perfectly
Comment by Doug Newgard (Scimmia) - Wednesday, 06 May 2015, 02:00 GMT
So the problem is that Firefox doesn't know what to do with that kind of URL. I'm not sure this is a TS3 problem.
Comment by Jordan Klassen (forivall) - Wednesday, 06 May 2015, 16:39 GMT
It's not necessarily firefox's problem, you should be able to do the same thing with xdg-open "ts3server:/..."
I tried adding "MimeType=x-scheme-handler/ts3server" to the teamspeak3.desktop file myself, and that almost works, but it doesn't seem to be passing along the url in the arguments; I'm probably missing something else that needs to be added to the .desktop file.
Comment by Javier Fernández (WyRe) - Monday, 27 February 2017, 01:32 GMT
I've got the same issue, would be fine implement that protocol handler ;)
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 19 April 2017, 19:54 GMT
I'd be very happy about a patch for this one because otherwise it's probably not happening.
Comment by Julio (The_Loko) - Friday, 19 October 2018, 10:47 GMT
Jordan Klassen, arguments aren't working because you need to add %u to Exec line. (https://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables)
So, in order to make ts3server protocol handler work you need to change ts3 desktop file adding this:
Exec=teamspeak3 %u
MimeType=x-scheme-handler/ts3server;
Sven-Hendrik could you add this to .desktop file?
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 22 October 2018, 02:02 GMT
Ok try now.
Comment by Julio (The_Loko) - Monday, 22 October 2018, 12:19 GMT
It's working now, thanks.

Loading...