[pulseaudio-discuss] set volume all sinks

Colin Guthrie gmane at colin.guthr.ie
Mon Feb 15 07:29:29 PST 2010


'Twas brillig, and poort at 15/02/10 14:32 did gyre and gimble:
> On multi-user computers, some users set the volume to zero as they leave the 
> computer.The next user that is loggin in on the computer does not know the 
> the volume is muted and gets no sound.
> How can I set the volume to maximum at login for the default sink of this 
> user, or better set the volume to max at boot(or with gdm login or rc.local) 
> for all output sinks?

This will be solved when http://pulseaudio.org/ticket/572 is fully resolved.

Effectively the following will happen:

1. Brand new installation + new user accounts.
2. Machine boots and initial volume is set for the ALSA hardware during
boot.
3. GDM fires up and as it's a new user account it inherits the volume
from ALSA and saves it in it's own user-specific volume settings database.
4. A real user logs in, and also inherits initial volume from ALSA.
5. User sets volume to 0 and logs out.
6. GDM's PA fires up again and restores the volume to it's saved value
form 3.
7. A new user logs in and inherits the value from ALSA which has been
restored by GDM to the initial value.
8. User logs out and the first user from 4 logs in again.
9. User's saved volume (0) is restored.

So once that is fixed everything will flow and work correctly from there.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list