Share via

Bug: Teams: no notification sound on browser version of teams integrated into Ubuntu 22.04 as an Edge Browser PWA app

Anonymous
2023-06-20T18:33:34+00:00

OS: Ubuntu 22.04.2 with X11 (NOT Wayland) window manager enabled.

Browser: Edge Version 114.0.1823.51 (Official build) (64-bit)

Teams: the "App" version installed via the Edge Browser, with a shortcut in the Ubuntu launcher to open as a standalone app. ie: the integrated Edge Browser PWA app version of Teams.

The integrated Edge Browser PWA app version of Teams works great on Linux Ubuntu with the X11 window manager (not Wayland), but it won't play any sounds when notifications come in. The notifications which are integrated with Ubuntu come up, showing message snapshots, but no sound.

My settings:

3 dots --> Settings --> Notifications:

Enable everything. (Under Custom, I have everything enabled too).

"Play sound for incoming calls and notifications" is enabled.

Ubuntu Settings --> Sound --> System Sounds are turned all the way up. Main volume is up.

Ubuntu Settings --> Notifications --> Microsoft Teams --> "Notifications" and "Sound Alerts" are on.

Call sounds work, but no notification sounds for Teams messages or chats. I use Teams for work on this Linux computer every day.

Lame workaround: I unmute my phone and use its notifications to know when a message comes in on Teams, so I can reply on Teams on my computer.

Microsoft Teams | Microsoft Teams for business | Chats | Group chats

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

15 answers

Sort by: Most helpful
  1. Anonymous
    2023-06-26T19:09:16+00:00

    I'm having the same problem on both Edge and Chrome on Linux and on Teams for Linux unofficial app. If I had to guess the fact that Teams blocks any sounds if you have an active window is the culprit. It's the only thing that makes sense to cause 3 different programs to all fail to make any sound when I'm in 4th program, Discord, which has zero problems sending me notices of messages. Same with Google Chat working just as expected. They're all configured to send me sounds from direct messages regardless of what window is active. Teams is the only one that doesn't let me override that silly "feature" and so I must conclude it's to blame.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-08-25T09:29:41+00:00

    Same bug here. Have tried everything I can think of and followed all trouble shooting instructions I can find.

    Ubuntu: 23.04

    Chrome: 116.0.5845.96

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-08-04T10:49:50+00:00

    I have found a solution its a bit techy and needs tidying up because its a right butchering of someone elses code but it does work.

    You need to download the source code for dbus-1.12 and make changes to the print_iter function in the dbus-messsage.c file so that if if finds the text "teams.microsoft.com" it exits with a return code of 1.

    switch (type)

        {
    
        case DBUS\_TYPE\_STRING:
    
          {
    
            char \*val;
    
            dbus\_message\_iter\_get\_basic (iter, &val);
    
            if (val!=NULL && strstr(val,"teams.microsoft.com")!=NULL)
    
              exit(1);  
    

    then a bash file which runs in a loop and plays a sound when a message from teams comes in

    #!/bin/bash

    while true; do

    {location of new compiled version}\dbus-monitor
    
    if [ $? -eq 1 ]; then
    
        echo "Program terminated with exit status 1. Playing sound..."
    
        aplay /usr/share/sounds/sound-icons/pisk-up.wav
    
    fi
    
    sleep 1
    

    done

    obviously this is not the place to post the full set of instructions but it does work. i can get a sound to play when a teams message comes in.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-06-26T16:19:53+00:00

    Hi Roberta,

    Yes, I confirmed that my Edge browser settings have "Allow sites to save and read cookie data (recommended)" on, and "Block third-party cookies" off. Since I don't have third-party cookies blocked, I don't need to add any exceptions for Microsoft. So, yes, cookies are allowed per the instructions. This was the setting I already had, so this has not yet solved the problem either.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2023-06-20T20:20:10+00:00

    Hi Roberta, thanks for your reply. I first came across that post before posting my question. That thread is locked, has no replies to it, and has no instructions to fix anything. What exactly do you mean?

    Also note that my bug appears to be the same issue as that bug. They are also on Linux, except using the Manjaro distribution with the KDE front-end. I'm on Ubuntu with the Gnome front-end. They and I appear to be describing the same bug though, and I see no replies nor solutions there.

    Image

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments