Hi,

On 05 Feb 2024 at 17:53:16, Andrew Black via GLLUG wrote:
> I used to have a script on my WIndoze PC that switched the speaker to 0 on
> resume from suspend or hibernate.   It saved me embarrassment of playing
> bombastic organ music in a quiet library!
> 
> I wonder if I could do the same of Ubuntu.    It is in two parts
> 
>    - Detecting when you suspend or resume (I am not bothered which!)
>    - Changing the volume level to 0 (or close to 0).


I use something similar (with desktop shortcuts) to change the volume
and toggle mute or not in Debian.

This sets it to 0, to me (I think that depends of the audio
configuration will work or not for you):

amixer set Master 0%

Regarding the suspend and resume: I know that there are scripts that are
executed, but I don't know which ones right now (and might be
different on Debian or Ubuntu). Hopefully someone else will know!

Cheers,

-- 
Carles Pina i Estany
https://carles.pina.cat

Attachment: signature.asc
Description: PGP signature

-- 
GLLUG mailing list
GLLUG@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/gllug

Reply via email to