Zero-Fork-Storage / mbp-2019-Ubuntu-audio

This is a simple bash script for Ubuntu to install, enable woofer and increase the mic level in MacBook Pro 2019 16"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation of config files:

Clone this git repository to your home directory:

cd
git clone https://github.com/mahboobkarimian/mbp-2019-Ubuntu-audio.git

cd into it:

cd mbp-2019-Ubuntu-audio

then just run:

bash install.sh

Note that you will prompt for root password in order to run installer as some files go to /usr/...

DO NOT USE sudo bash install. The script will invokes for root access whenever needed.

Mic volume monitoring service (systemd)

This will help you to always maintain the volume of the built-in mic at 400%. Basically it will set back it to 400% if something resets it to 100%. By this, you can hold your online events, calls, mettings without having low mic volume in the middle of the event.

bash install_mic_vol_service.sh

Manual installation:

The files go to:

/usr/share/alsa/cards/AppleT2.conf
/usr/share/pulseaudio/alsa-mixer/profile-sets/apple-t2.conf
/usr/lib/udev/rules.d/91-pulseaudio-custom.rules
$HOME/.config/pulse/default.pa
$HOME/.config/pulse/daemon.conf

and then: systemctl --user restart pulseaudio.service or restart.

Source:

https://gist.github.com/kevineinarsson/8e5e92664f97508277fefef1b8015fba

About

This is a simple bash script for Ubuntu to install, enable woofer and increase the mic level in MacBook Pro 2019 16"


Languages

Language:Shell 100.0%