<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">>I don't think there is a way to actually limit the mixer level. But you</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">>could run a script in the background to check the mixer level. If the</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">>level is higher than a specified value, it would reduce it to the max.</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">>allowed level. The script would use amixer which is useful for scripts</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">>while alsamixer is made for interactive operation. If you need help</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">>writing the script, please provide the output of the command</span><br style="font-family:arial,sans-serif;font-size:13px">
<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">>amixer controls</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">>(only from one machine for a start).</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">>Anyway, I'm not so sure it is useful to try to solve social problems</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">>with technical means.</span><div class="" style="font-family:arial,sans-serif;font-size:13px"></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">I would like to see that type of script. Would be amazing if that were possible.</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sun, Apr 7, 2013 at 4:21 PM, Nils Kassube <span dir="ltr"><<a href="mailto:kassube@gmx.net" target="_blank">kassube@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Phil Dobbin wrote:<br>
> My three kids all have Ubuntu machines (2 off 12.04 & 1 off 12.10) &<br>
> boy, do they love You Tube. Which, in itself, is no big thing but,<br>
> kids being kids, the volume levels can get ear shattering when all<br>
> three are at it together.<br>
><br>
> Is there anyway I can ssh into each machine (ssh & ssh keys are<br>
> already set up) & lock alsamixer's output levels to say, 25%? Or,<br>
> indeed, any other way to tame the output levels. They're using You<br>
> Tube in Firefox if that's any help.<br>
<br>
</div>I don't think there is a way to actually limit the mixer level. But you<br>
could run a script in the background to check the mixer level. If the<br>
level is higher than a specified value, it would reduce it to the max.<br>
allowed level. The script would use amixer which is useful for scripts<br>
while alsamixer is made for interactive operation. If you need help<br>
writing the script, please provide the output of the command<br>
<br>
amixer controls<br>
<br>
(only from one machine for a start).<br>
<br>
Anyway, I'm not so sure it is useful to try to solve social problems<br>
with technical means.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Nils<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</div></div></blockquote></div><br></div>