Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know it's a weird question but the scenario is that I am a Windows user and I made a script which reports "something" with a sound in a Debian virtual machine, but when I have it minimized I can not hear the sound.

I wonder if there is a way to listen to the audio of a virtual machine while it's in the background?

share|improve this question
2  
Which virtualization software are you using to host the VM? –  Ƭᴇcʜιᴇ007 Jun 11 at 17:19
    
Hi, I use Oracle VM virtual box –  Squox Jun 11 at 17:26
    
can i ask why you need to report with a sound? wouldn't it be easier to send some kind of message to a monitoring proccess elsewhere? –  Jarry Jun 11 at 20:53
    
I don't know how to that, btw the script just reports me once my laptop's battery reach 100% so i can disconect it and prevent overcharging –  Squox Jun 11 at 21:53

1 Answer 1

up vote 3 down vote accepted

I cannot test it on Windows because I'm using Linux but I found this feature request in which the opener would like to have the feature that the sound gets minimized when window has been minimized. This makes me assume that your problem happens because of a Windows settings (somewhere) and not a VirtualBox setting as VirtualBox seems not to have that "feature".

An alternative might be to use Seamless Mode. This integrates windows (and alert boxes) from the guest OS into the current Windows desktop session. This way you should be able to hear the sound.

To achieve this, select "View" in the menu bar of the VM window and then "Switch to seamless mode"

share|improve this answer
    
It works perfect thanks ! –  Squox Jun 11 at 18:21
    
Nice to hear that it works :) –  hek2mgl Jun 11 at 18:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.