On 31/08/08 17:39, Tzafrir Cohen wrote:
On Sat, Aug 30, 2008 at 08:25:05PM +0100, Michal R. Hoffmann wrote:
Hi,

Is it possible to control sound volume on each user account independently? So when user A logs in and changes the sound volume (with gnome alsa mixer) to max it won't affect user's B settings.
It is desktop debian (sid) machine, ALSA, Gnome.

For two users running concurrently?

When switching users with "switch user" in GDM?

Or two sessions that never intersect?


Preferably (if it's possible) when switching users with GDM; if not, login/logout should be sufficient. The desktop is used locally by myself and my family.

Thanks to few other responses I know I can use alsactl; I tried as a mere user (not a root) and it allows me to store / restore the settings; ie
/usr/sbin/alsactl -f /home/userA/.alsa-config store
/usr/sbin/alsactl -f /home/userA/.alsa-config restore

Now, what are the ideal places to put these commands in? So it would store on switch user/logout and restore on login? I'm afraid that if I just modify the gdm configuration files (like gdm.conf) they will be overridden soon with some gdm update (quite possible in sid). On the other hand I'd prefer to get it working globally (not to add a script on each user's account).

--
Kind regards,
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to