Re:Unofficial Microsoft Teams Client for Linux
by cromka on Saturday November 15, 2025 @07:02AM
(#45936845)
Would be great if it was also possible to have it open the Team URIs in that App Mode instance instead of the browser itself — I assume it does not.
[ Parent
| on HN ]
Re:Unofficial Microsoft Teams Client for Linux
by homebrewer on Saturday November 15, 2025 @08:05AM
(#45937177)
What kind of URLs does it use? If it's anything with a unique prefix (like Telegram's tg://), you can add it to the desktop file:
MimeType=x-scheme-handler/foobar;
and run `update-mime-database`.If not, I would write a shell wrapper and set it as the default browser; something to the effect of:
#!/usr/bin/bash
set -eu
for arg in "$@"; do
if [[ $arg == *whatever-url-teams-uses.com* ]]; then
exec gtk-launch teams "$@"
fi
done
exec gtk-launch firefox "$@"
(gtk-launch uses flags from the .desktop file so you don't have to repeat them)