do you wanna Mute All But Current Desktop?
or just mute a desktop you select by number (Desktop 1, Desktop 2, Desktop 3)?
You can do both options with this: https://github.com/FuPeiJiang/mute-virtual-desktop
Instructions in the README.md
It is in ahk, you need to install the ahk interpreter for that. https://www.autohotkey.com/
but I have compiled it for you if you don't wanna install the ahk interpreter.
so you have the choice to run "muteDesktop.ahk" or "muteDesktop_compiled.exe"
then you can use the hotkeys to do what you want:
ctrl+Numpad1 : mute desktop 1
ctrl+Numpad2 : mute desktop 2
ctrl+Numpad3 : mute desktop 3
win+Numpad1 : unmute desktop 1
win+Numpad2 : unmute desktop 2
win+Numpad3 : unmute desktop 3
win+alt+m : Mute All But Current Desktop
win+alt+u : UnmuteAll
f3 : exitApp
you can comment this line like this (to not exitApp when you press f3)
; f3::Exitapp
Update(fix): now selecting app by PID instead of exe to not confuse apps