ikelike88: What does the URI look like that ultimately gets sent to the Teams client? I'm trying to send my client meeting links, but it seems to be just treating the links as an attempt to relaunch the application.
If I run:
xdg-open teams://teams.microsoft.com/l/meetup-join/19%3ameeting_${rest_of_meeting_uri}
Then Teams gets focus and I get this in the logs from Teams:
Thu Dec 12 2019 12:35:34 GMT-0700 (Mountain Standard Time) <593424> -- info -- Running command line from source: handleCommandLine
Thu Dec 12 2019 12:35:34 GMT-0700 (Mountain Standard Time) <593424> -- info -- Command Line State - Unknown
Thu Dec 12 2019 12:35:34 GMT-0700 (Mountain Standard Time) <593424> -- info -- App subsequent launch - restoring existing app
Thu Dec 12 2019 12:35:34 GMT-0700 (Mountain Standard Time) <593424> -- event -- startReason: Unknown, status: success, scenario: 6d3fe47e-cac3-4d89-9471-4c5f3684f801, scenarioName: desktop_application_respawn, name: desktop_application_respawn, step: start, sequence: 0, delta: 0, scenarioDelta: 0, elapsed: 3741674, stepDelta: 0, vdiMode: 0, eventpdclevel: 2, Scenario.Name: desktop_application_respawn, Scenario.Step: start, Scenario.Status: success,
Thu Dec 12 2019 12:35:34 GMT-0700 (Mountain Standard Time) <593424> -- event -- startReason: Unknown, status: success, scenario: 6d3fe47e-cac3-4d89-9471-4c5f3684f801, scenarioName: desktop_application_respawn, name: desktop_application_respawn, step: stop, sequence: 1, delta: 1, scenarioDelta: 1, elapsed: 3741675, stepDelta: 1, vdiMode: 0, eventpdclevel: 2, Scenario.Name: desktop_application_respawn, Scenario.Step: stop, Scenario.Status: success,
Thu Dec 12 2019 12:35:34 GMT-0700 (Mountain Standard Time) <593424> -- info -- Focusing main window
I've tried all different variations on the URI, and tried triggering it both from `xdg-open` and from Firefox (which does correctly prompt me to open it in Teams if I put `teams://` at the beginning of the URI).
Edit: I'm trying to use teams built-in handler though, not creating my own custom one. It sets this in teams.desktop:
MimeType=x-scheme-handler/teams;
X-KDE-Protocols=teams