Microsoft tries to force linux users to use browser, but TEAMS can be opened via Terminal or script. The next script requires package yad be installed, so install yad if you use the script.
The script changes https as teams-for-linux msteams
Read also: https://www.puolanka.org/goto/chromium-and-chrome-teams-app-launcher-script/
The script:
#!/bin/bash
URL="${1/msteams/https}"
BOX=`yad --center --width=500 --height=100 --text-align=center --text="Put address to BOX" --entry --entry-label=BOX --entry-text=""`
if [ $? = 0 ];
then
yad --center --width=500 --height=100 --text-align=center --text="You put address: $BOX"
x-terminal-emulator -e /bin/bash -c "teams-for-linux --url $URL $BOX" && \
break
yad --width=200 --center --buttons-layout=center --borders=5 --text-align=center --title="READY" --text="bye bye" --button=gtk-ok:1 --center
else exit 0
fi
Read also: https://puolanka.org/goto/teams-for-linux/
With PCLinuxOS packages yad and xterm must be installed for the next script.
#!/bin/bash
URL="${1/msteams/https}"
BOX=`yad --center --width=500 --height=100 --text-align=center --text="Put address to BOX" --entry --entry-label=BOX --entry-text=""`
if [ $? = 0 ];
then
yad --center --width=500 --height=100 --text-align=center --text="You put address: $BOX"
xterm -e /bin/bash -c "teams-for-linux --url $URL $BOX" && \
break
yad --width=200 --center --buttons-layout=center --borders=5 --text-align=center --title="READY" --text="bye bye" --button=gtk-ok:1 --center
else exit 0
fi
#####################################################################
Edit 19.4.2023: If you have some convene meeting, it does not launch via the scrip, but it can be launched using teams-for-linux when adding to the browser windows user agent switcher, so the browser pretents to be Windows and meeting can launch using teams-for-linux
Convene meeting is running