Forcing volume to a certain level?

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mithas

Forcing volume to a certain level?

Post by mithas »

Hi,

I'm using Mint Linux 14 and the onboard soundcard/speaker. I'm trying to find a way to control the volume from the command line/cron, so that users can't turn the volume up too loud.

Anyone got any ideas around this?

Many thanks,

Simon
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Forcing volume to a certain level?

Post by catweazel »

If it's for work machines, ok, but it's not going to be very helpful if it's for a home machine. Videos are notorious for having wildly differing volume levels. Nevertheless, this is what you need:

Code: Select all

amixer --help
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Locked

Return to “Sound”