Make Teams-For-Linux Work with Multiple Accounts

Steps

  • First you need to have teams-for-linux installed from flatpak
  • Then you create a directory on some place that you want to hold he configurations and required files mkdir -p <some_place>
  • Then you run:
HOME=$HOME/<some_place> flatpak run com.github.IsmaelMartinez.teams_for_linux
  • If you want something more easily integrated with Desktop managers you may write a .desktop file:

[Desktop Entry]

# The type as listed above
Type=Application

# Version
Version=1.12.5

# App name
Name=<name_you_wannagive_your_instance>

# Comment
Comment=Teams for Linux instance for <whatever_you_want>

# Path from where the executable is run
Path=

# The executable of the Application
Exec=/bin/sh -c "HOME=$HOME/<some_place_youve_set> flatpak run com.github.IsmaelMartinez.teams_for_linux"


# The absolute path of the Icon used
Icon=

# Describes wheter this application needs to be run in a terminal or not
Terminal=false

# Describes the categories in which this entry should be should
Categories=Internet;chat;communication

And thats it. Run xdg-desktop-menu install <file_path_you gave>.desktop --novendor && xdg-desktop-menu forceupdate And it should appear as an application you can launch.