Skip to content

Instantly share code, notes, and snippets.

@AvnerCohen
Last active March 7, 2023 09:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AvnerCohen/70bc60852d7b44f4d1cbb2e84ce2c012 to your computer and use it in GitHub Desktop.
Save AvnerCohen/70bc60852d7b44f4d1cbb2e84ce2c012 to your computer and use it in GitHub Desktop.
OSX Apple Script - Jabra mute fix (input volume) and Balance fix (just a wtf)
#!/bin/bash
while true ; do
osascript -e "set volume input volume 100"
echo "$(date): Increased volume"
sleep 1;
done;
@AvnerCohen
Copy link
Author

AvnerCohen commented Sep 20, 2022

Simple script to fix this WTF Jabra auto mute and balance issue:
https://www.reddit.com/r/Jabra/comments/qjwxdu/muting_during_slackzoom_calls_on_mac_elite_85t/
https://www.reddit.com/r/Jabra/comments/qp006u/jabra_elite_7_being_automuted_on_google_hangouts/
https://richardbloomfield.blog/2021/12/my-ear-buds-keep-auto-muting-themselves/

To actually run:

osascript osx_volume_balance_fix.script

to run in a loop every, say, 20 seconds:

while true; do osascript osx_volume_balance_fix.script; sleep 20 ;done

@AvnerCohen
Copy link
Author

An improved solution that is not UI based:

#!/bin/bash
while true ; do
    osascript -e "set volume input volume 100"
    echo "up it"
    sleep 4;
done;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment