[lug] Locking the volume control at %100
qhartman at gmail.com
Wed Jun 4 10:02:22 MDT 2014
Nope, not selinux. Once upon a time most audio operations happened via
/dev/dsp or similar psuedo-files. I poked around a little bit and that
seems to no longer be the case (at least on Ubuntu), so the permissions
thing is probably not an option.
On Tue, Jun 3, 2014 at 9:18 PM, Bruce Long <qstream at gmail.com> wrote:
> Hmmm. I'd like to know how it would be done with permissions. Are you
> talking about seLinux?
> The cron job would probably be easier given the way I hear people talk
> about seLinux as if it were an arcane art.
> Good memory, BTW. The actual command differed by only two characters:
> "amixer sset Master 100%"
> On Tue, Jun 3, 2014 at 4:53 PM, Quentin Hartman <qhartman at gmail.com>
>> I don't know about locking the control, maybe some permission changes on
>> the audio devices? It's hackish and ugly, but maybe a cronjob that maxes
>> the volume via one of the many cli-mixer utilities would do the trick? As
>> I recall the syntax for alsamixer is something like "amixer set master
>> 100%". Should double-check that though. As you allude to though, audio has
>> gotten complicated enough that I'm not sure you'll find a universally
>> reliable fix.
>> On Tue, Jun 3, 2014 at 3:51 PM, Bruce Long <qstream at gmail.com> wrote:
>>> One of the people who call me for tech help accidentally mutes the
>>> volume sometimes. With all the volume controls in different apps / web
>>> pages and on the panel it is hard for this (elderly) person to fix the
>>> problem himself. Once a month or so I get called because the sound is
>>> broken and it's usually that the volume is muted or that the speakers are
>>> plugged into the microphone jack. Is there a way to lock all volume
>>> controls to %100? Then he can use the physical knob on the external
>>> speakers. Simply removing the volume control applet isn't enough by itself
>>> because other apps will change the volume and random key presses would
>>> cause it to be be muted via function key.
>>> He is using Mint LMDE (because it automatically upgrades itself.)
>>> Give me immortality or give me death!
>>> Web Page: http://lug.boulder.co.us
>>> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>>> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>> Web Page: http://lug.boulder.co.us
>> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
> Give me immortality or give me death!
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LUG