r/tasker • u/19leo82 • 23d ago
Help Need help to create this simple task pls
Whenever I open my Gboard and hit on the mic icon to say something to type in, I get the high-tone beep which is so annoying. Is there a way to switch to DND mode or just mute the system volume or something to get rid of this beep sound? Please help
0
Upvotes
1
u/Exciting-Compote5680 23d ago
https://www.reddit.com/r/tasker/s/ar2P9BDrvE
4
u/osmols_b 23d ago
If you want a cleaner solution than the other one posted which is a bit like a hammer to crack an egg...
That tone is controlled by the Media volume, you don't need to mute the System volume.
If you want to mute Media volume only when Gboard is open, you can set up a logcat Profile to detect when it opens and a second for when it closes. (This way, you don't have to worry about the one second delay referenced in the other comment's link).
When it opens, you can make a Task to set Media volume to 0. When it closes, a second Task can set it back to whatever level you choose. Link your two Profiles to the respective Tasks.
If you haven't yet given Tasker permission to read the logcat, you can use the ADB command:
Following the grant, you must force stop Tasker using another ADB command to make the permission take effect:
Logcat Profile to detect Gboard open:
Component:
Filter:
Logcat Profile to detect Gboard closed:
Component:
Filter:
0
u/[deleted] 23d ago
[deleted] — view deleted comment