alsamixer: lock levels

Istimsak Abdulbasir saqman2060 at gmail.com
Thu Apr 11 23:18:36 UTC 2013


>I don't think there is a way to actually limit the mixer level. But you
>could run a script in the background to check the mixer level. If the
>level is higher than a specified value, it would reduce it to the max.
>allowed level. The script would use amixer which is useful for scripts
>while alsamixer is made for interactive operation. If you need help
>writing the script, please provide the output of the command

>amixer controls

>(only from one machine for a start).

>Anyway, I'm not so sure it is useful to try to solve social problems
>with technical means.

I would like to see that type of script. Would be amazing if that were
possible.


On Sun, Apr 7, 2013 at 4:21 PM, Nils Kassube <kassube at gmx.net> wrote:

> Phil Dobbin wrote:
> > My three kids all have Ubuntu machines (2 off 12.04 & 1 off 12.10) &
> > boy, do they love You Tube. Which, in itself, is no big thing but,
> > kids being kids, the volume levels can get ear shattering when all
> > three are at it together.
> >
> > Is there anyway I can ssh into each machine (ssh & ssh keys are
> > already set up) & lock alsamixer's output levels to say, 25%? Or,
> > indeed, any other way to tame the output levels. They're using You
> > Tube in Firefox if that's any help.
>
> I don't think there is a way to actually limit the mixer level. But you
> could run a script in the background to check the mixer level. If the
> level is higher than a specified value, it would reduce it to the max.
> allowed level. The script would use amixer which is useful for scripts
> while alsamixer is made for interactive operation. If you need help
> writing the script, please provide the output of the command
>
> amixer controls
>
> (only from one machine for a start).
>
> Anyway, I'm not so sure it is useful to try to solve social problems
> with technical means.
>
>
> Nils
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130411/495ccfcb/attachment.html>


More information about the ubuntu-users mailing list