diff options
author | ubuntuperonista <30541016+ubuntuperonista@users.noreply.github.com> | 2023-01-28 21:03:36 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-28 21:03:36 -0300 |
commit | bbba5fd9542ee0bcbd362ef9803998849c0b4e11 (patch) | |
tree | 00490df210e38859a9d3548241a8b5b954c37bde | |
parent | b8d0c66f75675ba487286e01a19466e3cfc93c9f (diff) | |
download | headphones_on-bbba5fd9542ee0bcbd362ef9803998849c0b4e11.tar.gz |
Create headphones_on.sh
-rw-r--r-- | headphones_on.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/headphones_on.sh b/headphones_on.sh new file mode 100644 index 0000000..99249b9 --- /dev/null +++ b/headphones_on.sh @@ -0,0 +1,21 @@ +#!/bin/bash +## Unmute headphones output (problema con pulseaudio 22.04?) +amixer set 'Front' on +read -t 0.0025 +amixer set 'Front' 100 +read -t 0.0025 +amixer set 'Surround' on +read -t 0.0025 +amixer set 'Surround' 100 +read -t 0.0025 +amixer set 'LFE' on +read -t 0.0025 +amixer set 'LFE' 100 +read -t 0.0025 +amixer set 'Center' on +read -t 0.0025 +amixer set 'Center' 100 +read -t 0.0025 +amixer set 'Headphone' on +read -t 0.0025 +amixer set 'Headphone' 100 |