[pulseaudio-discuss] set media.role for VMware client
sben1783 at yahoo.de
Wed Jan 19 16:36:10 UTC 2022
Am 19.01.22 um 06:46 schrieb Sean Greenslade:
> On Mon, Jan 17, 2022 at 10:38:31PM +0100, sben1783 wrote:
>> Hi there,
>> I'm using VMware Horizon client from kubuntu to work on my companies
>> machine. My idea was to play some music from my own machine while
>> monkey work within VMware. I was very happy to read about the "cork"
>> mechanism in order to mute that music as soon as I get a business call
>> or am
>> attending an online meeting within VMware. Unfortunately, I haven't
>> able to figure out how to set the "media.role" for the VMware binary.
>> I see,
>> f.ex., that vlc has media.role=video, but the VMware client doesn't
>> any. I tried to set it via a .desktop file, but that fails - probably
>> because the VMware application I start (vmware-view) spawns some other
>> binary and the media.role property is not passed on to the child
> I think using the .desktop file is probably your best bet (though I
> haven't tried it myself; this is just from a quick scan of the PA
> You can see specifically which binary has spawned the pulseaudio
> connection by running the command "pacmd list-sink-inputs" and looking
> at the application.process.binary attribute. [...]
That did the trick! I created a
and now the "cork" works. Thank you very much!
BUT: it doesn't "uncork" when my phone call within vmware is done. I
this is supposed to work..? My media player just stays muted forever.
hints here? Where would I have to start looking to possibly find details
why it doesn't unmute the media player?
More information about the pulseaudio-discuss