You can refer to the document:
https://learn.microsoft.com/en-us/microsoftteams/known-issues#linux
It mentions that this is a known issue. Engineer team is working on the fix. I recommend you continuously pay attention to the follow-up release.
Teams autostart not working on Fedora / Gnome3
Teams generates it's own ~/.config/autostart/teams.desktop file which is broken in many ways.
State after initial install before lauching Teams for the first time:
/usr/share/applications/teams.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Microsoft Teams - Preview
Comment=Microsoft Teams for Linux is your chat-centered workspace in Office 365.
Exec=/usr/bin/teams %U
Icon=teams
Terminal=false
StartupNotify=true
StartupWMClass=Microsoft Teams - Preview
Categories=AudioVideo;Network;
MimeType=x-scheme-handler/teams;
X-KDE-Protocols=teams
~/.config/autostart/teams.desktop
N/A
After launching Teams for the first time:
~/.config/autostart/teams.desktop is generateed as a file with mode 644, e.g. not executable and not working as an autostart item.
And Exec line reveals another issue why it would not work:
/usr/share/teams/electron: No such file or directory
~/.config/autostart/teams.desktop
[Desktop Entry]
Version=1.0
Type=Application
Encoding=UTF-8
Name=Microsoft Teams - Preview
Exec=/usr/share/teams/electron %U
Icon=teams
Terminal=false
StartupNotify=false
Categories=Network;Application;
MimeType=x-scheme-handler/teams;
X-GNOME-Autostart-enabled=true
X-KDE-Protocols=teams
How to temporarily fix:
cd ~/.config/autostart
rm teams.desktop
ln -s /usr/share/applications/teams.desktop teams.desktop
I'm not entirely sure if ~/.config/autostart/.desktop -entries are supposed to be symlinks to /usr/share/applications/.desktop -files, but that seems to work and yields 50% less files and only one file to update in case something has to be changed.
-
Sharon Zhao-MSFT 25,101 Reputation points Microsoft Vendor
2020-01-02T03:21:35.247+00:00
2 additional answers
Sort by: Most helpful
-
Sharon Zhao-MSFT 25,101 Reputation points Microsoft Vendor
2020-01-01T09:23:08.473+00:00 I test it and the result is same.
In my research, you could try to add Microsoft Teams to the auto start programs.
For more details, you can refer to the link:
https://www.cyberciti.biz/faq/how-to-list-startup-services-at-boot-time-in-fedora-linux/ -
Rudolf Tomori 401 Reputation points Microsoft Employee
2020-01-10T15:40:05.5+00:00 We have published teams-insiders package version 1.3.00.958 that fixes the autostart issues. We keep the file mode to 644 though, as it does not need executable bit for autostart. The executable bit is used for desktop files that serve as launchers that user can double click on your desktop for example. The autostart specification does not mention it.