SOLVED

Teams for Linux does not use Freedesktop dbus notifications

%3CLINGO-SUB%20id%3D%22lingo-sub-1070215%22%20slang%3D%22en-US%22%3ETeams%20for%20Linux%20does%20not%20use%20Freedesktop%20dbus%20notifications%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1070215%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20any%20plans%20to%20implement%20Freedesktop%20dbus%20notifications%20as%20an%20option%20to%20the%20Teams%20for%20Linux%3F%3C%2FP%3E%3CP%3EAt%20the%20moment%20it's%20a%20custom%20notification%20which%20I%20can't%20control%2C%20and%20it%20breaks%20in%20tiling%20window%20managers%20such%20as%20Sway%20or%20i3.%20(Steals%20focus%20and%20position%20is%20always%20on%20the%20middle%20of%20the%20screen.)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1070215%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1070275%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20for%20Linux%20does%20not%20use%20Freedesktop%20dbus%20notifications%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1070275%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F491584%22%20target%3D%22_blank%22%3E%40jonasks%3C%2FA%3E%2C%20%3CBR%20%2F%3E%3CBR%20%2F%3EAFAIK%2C%20not%20currently.%20%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20opened%20a%20uservoice%20here%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F39279040-introduce-freedesktop-dbus-notifications-for-linux%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F39279040-introduce-freedesktop-dbus-notifications-for-linux%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EWould%20recommend%20for%20you%20to%20vote%20on%20it%20to%20push%20it%20up%20the%20agenda%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20answers%20your%20question%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1070297%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20for%20Linux%20does%20not%20use%20Freedesktop%20dbus%20notifications%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1070297%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers.%20For%20a%20hacky%20workaround%20for%20this%20specific%20app%20i3%20and%20Sway%20users%20can%20do%20this%20(where%20they%20edit%20the%20position%20to%20their%20own%20needs)%20in%20their%20configs%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22post-code%20post-code--wrap%22%3E%3CEM%3Eno_focus%20%5Btitle%3D%22Microsoft%20Teams%20Notification%22%5D%3C%2FEM%3E%3C%2FDIV%3E%3CDIV%20class%3D%22post-code%20post-code--wrap%22%3E%3CEM%3Efor_window%20%5Btitle%3D%22Microsoft%20Teams%20Notification%22%5D%20move%20absolute%20position%204812%20px%201316%20px%3C%2FEM%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1557158%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20for%20Linux%20does%20not%20use%20Freedesktop%20dbus%20notifications%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1557158%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F491584%22%20target%3D%22_blank%22%3E%40jonasks%3C%2FA%3EHi%2C%20thanks%20for%20the%20solution.%20But%20in%20my%20case%20it%20works%20for%20a%20first%20notification%20popup%20only%2C%20any%20others%20stay%20at%20the%20center%20of%20screen.%20Did%20you%20face%20it%3F%3C%2FP%3E%3CP%3ESway%201.5%2C%20Teams%201.3%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1557172%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20for%20Linux%20does%20not%20use%20Freedesktop%20dbus%20notifications%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1557172%22%20slang%3D%22en-US%22%3EOhhh%20yeah%20I%20did%20have%20that%20happen%20from%20time%20to%20time%2C%20but%20not%20every%20time%20but%20the%20first.%20Sounds%20like%20the%20window%20is%20renamed%20or%20should%20use%20a%20wildcard%2C%20or%20don%E2%80%99t%20support%20multiple%20notifications%20with%20the%20same%20name.%20I%E2%80%99m%20not%20sure%2C%20sorry.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20went%20back%20to%20the%20snap%20version%20as%20I%20could%20screen%20share%20on%20that%20one.%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Is there any plans to implement Freedesktop dbus notifications as an option to the Teams for Linux?

At the moment it's a custom notification which I can't control, and it breaks in tiling window managers such as Sway or i3. (Steals focus and position is always on the middle of the screen.)

4 Replies
Highlighted
Best Response confirmed by jonasks (New Contributor)
Solution
Hi @jonasks,

AFAIK, not currently.

I have opened a uservoice here

https://microsoftteams.uservoice.com/forums/555103-public/suggestions/39279040-introduce-freedesktop...

Would recommend for you to vote on it to push it up the agenda

Hope that answers your question

Best, Chris
Highlighted

@Christopher Hoard 

 

Cheers. For a hacky workaround for this specific app i3 and Sway users can do this (where they edit the position to their own needs) in their configs:

 

 

no_focus [title="Microsoft Teams Notification"]
for_window [title="Microsoft Teams Notification"] move absolute position 4812 px 1316 px
Highlighted

@jonasksHi, thanks for the solution. But in my case it works for a first notification popup only, any others stay at the center of screen. Did you face it?

Sway 1.5, Teams 1.3

Highlighted
Ohhh yeah I did have that happen from time to time, but not every time but the first. Sounds like the window is renamed or should use a wildcard, or don’t support multiple notifications with the same name. I’m not sure, sorry.

I went back to the snap version as I could screen share on that one.