Re: Sound volume user specific?
- From: "Michal R. Hoffmann" <misiek_spam@xxxxx>
- Date: Sun, 31 Aug 2008 19:00:28 +0100
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 debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- Sound volume user specific?
- From: Michal R. Hoffmann
- Re: Sound volume user specific?
- From: Tzafrir Cohen
- Sound volume user specific?
- Prev by Date: Re: website saver for linux?
- Next by Date: Re: aptitude --purge
- Previous by thread: Re: Sound volume user specific?
- Next by thread: creating IMAP Trash folder
- Index(es):