On Monday 15 February 2010 16:29:29 Colin Guthrie wrote: > '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 Thanks, But I was thinking on a script that will be called with GDM's Postlogin default script.The script should find the user's default sink and put the volume to max or 80 % with set-sink-volume "users default sink" 55000