Forcing volume to a certain level?

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
mithas
Level 1
Level 1
Posts: 4
Joined: Sat Dec 10, 2011 3:19 pm

Forcing volume to a certain level?

Postby mithas » Tue Mar 12, 2013 4:32 am

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

User avatar
catweazel
Level 7
Level 7
Posts: 1658
Joined: Fri Oct 12, 2012 9:44 pm

Re: Forcing volume to a certain level?

Postby catweazel » Tue Mar 12, 2013 5:19 am

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
Mint Testing Team & Mint Donor #3606
Intel i7 4820K @ 4.7GHz, 32GB Corsair Vengeance Pro
2133MHz XMP, 4 Samsung 850 PRO 512GB SSDs in
RAID0, 12TB HW RAID10, 3 x 24" Samsung UlHD,
Custom pre-emptive kernel 4.7.5,
Dual nVidia GTX 1080


Return to “Sound, Multimedia, & Codecs”

Who is online

Users browsing this forum: No registered users and 6 guests