36

When changing the volume on a Mac, you get a big ugly gray bezel showing the change in volume. This is super annoying when (say) watching a movie. Is there any way to disable this?

enter image description here

daviesgeek
  • 37,296
  • 51
  • 158
  • 200
Peter
  • 489
  • 1
  • 4
  • 5
  • Thanks Plastonick, I had a problem with the F5 key that goes nuts occasionally and auto-presses.....and this causes the annoying key brightness OSD to show up. I disabled all the OSD and even if I was a bit worried of losing the volume and lcd brightness notification, I have to say using the mac without EVERY overlay is a much better experience....they disturb you from concentrating and there's no need for an OSD when I can cleary see the effects of the keys we're pressing.... –  Apr 08 '15 at 23:31
  • I am looking to get rid of the Volume Overlay in Mac OS 10.15 Catalina. I know this thread is quite old so can anyone confirm the best way to do this in the current OS? – David Jenner May 26 '20 at 13:18

8 Answers8

36

Hold up, don't modify important system files!
Mac OS has a nice way to start/stop services without doing permanent damage.

To turn off bezels for this user until next login:
launchctl unload -F /System/Library/LaunchAgents/com.apple.BezelUI.plist
To undo, change unload to load, or just log out and back in.

For macOS 10.12 Sierra: Disable System Integrity protection, then:
launchctl unload -F /System/Library/LaunchAgents/com.apple.OSDUIHelper.plist
Don't forget to enable System Integrity protection when you're done.


To turn off bezels indefinitely for this user:
launchctl unload -wF /System/Library/LaunchAgents/com.apple.BezelUI.plist

For macOS 10.12 Sierra: Disable System Integrity protection, then:
launchctl unload -wF /System/Library/LaunchAgents/com.apple.OSDUIHelper.plist
You can now enable System Integrity protection again -- your settings will persist.

To undo, change unload to load.


To turn off bezels indefinitely for all users:
sudo defaults write /System/Library/LaunchAgents/com.apple.BezelUI Disabled -bool YES

For macOS 10.11 Sierra: Disable System Integrity protection before doing the above.

To undo, change YES to NO, or:
sudo defaults delete /System/Library/LaunchAgents/com.apple.BezelUI Disabled

For macOS 10.12 Sierra: Disable System Integrity protection, then:
sudo defaults write /System/Library/LaunchAgents/com.apple.OSDUIHelper Disabled -bool YES
You can now enable System Integrity protection again -- your settings will persist.

To undo, change YES to NO, or:
sudo defaults delete /System/Library/LaunchAgents/com.apple.OSDUIHelper Disabled

Users can override this global setting using the two methods above.


More info: launchctl is the command-line interface to launchd, the program that manages services and jobs on Mac OS.

  • To reverse any of the above actions, just change unload to load.
  • -w means write preference to disk so that it will be used for subsequent logins
  • -F means force un/load regardless of the global Disabled key

You can read more about it in man launchctl.

interestinglythere
  • 1,214
  • 9
  • 9
18

In automator, create a new service that takes no input. Give it a single action: Run AppleScript Enter the following AppleScript:

set x to get output volume of (get volume settings)
if x >  10 then 
    set volume output volume (x-10)
else
    set volume output volume 0
end if

Save the service with the name "Volume down", and bind the service to F11.

Create another new service that takes no input. Give it a single action: Run AppleScript Enter the following AppleScript:

set x to get output volume of (get volume settings)
if x < 90 then 
    set volume output volume (x+10)
else
    set volume output volume 100
end if

Save the service with the name "Volume up" and bind the service to F12.

Goodbye volume overlay.

Daniel
  • 34,003
  • 31
  • 147
  • 188
  • And thanks for the AppleScript blog posts, @Nathan Greenstein, that helped me to do this. I'm new to AppleScript. – Daniel Nov 03 '11 at 00:01
  • 6
    Awesome answer! What a great idea. Just FYI, those checks are unnecessary; the volume will automatically bottom out at 0 and top out at 100. – Nathan Greenstein Nov 03 '11 at 00:26
  • Don't go through all this hassle just run some of the commands interestinglythere mentioned in his answer. – WeDoTDD.com Apr 10 '16 at 19:25
4

If you just want a minimal HUD I've written one that works with mySIMBL. It just draws a bar in the top center of your screen. It may get more functionality in the future.

picture

https://github.com/w0lfschild/mySIMBL

https://github.com/w0lfschild/cleanHUD

w0lf
  • 91
  • 6
3

Simple solution:

/System/Library/LoginPlugins/BezelServices.loginPlugin/Contents/Resources/Bezel‌ UI/

'Show Package Contents' on 'BezelServices.loginPlugin' to access through Finder

Rename “BezelUIServer” to something else (I just put a space at the front of it) - this will disable the volume overlay.

grg
  • 192,762
  • 43
  • 337
  • 460
  • 1
    It won't let me modify it. It says that it is required by OSX. I'm using El Capitan 10.11. – Saturn Nov 02 '15 at 20:23
  • 1
    It's because of [System Integrity Protection](https://en.wikipedia.org/wiki/System_Integrity_Protection). You can actually disable it if you want, but it's not recommended and can expose you to security threats. Also, changes in system files can be overridden by future updates. – pietrodn Feb 13 '16 at 19:30
1

There's no built-in method for doing so, but Googling brings up suggestions such as overriding the image used for it so that it's less obtrusive.

Chuck
  • 1,690
  • 2
  • 12
  • 20
  • The post you link to suggests modifying images in a folder that doesn't exist under Lion. – Nathan Greenstein Oct 30 '11 at 17:12
  • Under Lion they are in `/System/Library/LoginPlugins/BezelServices.loginPlugin/Contents/Resources/BezelUI/HiDPI/` but the PDFs seem to be empty. – nohillside Oct 31 '11 at 18:28
  • There is indeed a built-in method for doing so. See [my answer](http://apple.stackexchange.com/questions/16849/how-do-i-disable-the-volume-control-overlay/212694#212694) below. – interestinglythere Oct 25 '15 at 23:33
1

I found the AppleScript solution didn't work for me, I wasn't able to bind the scripts to my volume up and down buttons (on my remote or keyboard). Due possibly to the much newer OS X.

Playing around however, I've found a solution which disables ALL Bezel services (anything that comes up in the grey translucent square; volume, screen brightness, keyboard brightness, etc.).

Working off patrix' information concerning where the relevant files are located, I renamed "BezelUIServer" to "mBezelUIServer" (although any rename is adequate, this one is easily reversed).

Find the file here: /System/Library/LoginPlugins/BezelServices.loginPlugin/Contents/Resources/Bezel‌​UI/

Hope this can help you or any future googler's.

Plastonick
  • 27
  • 1
1

For anyone who's interested, this worked like a charm for me on Yosemite:

sudo /bin/chmod -x /System/Library/LoginPlugins/BezelServices.loginPlugin/Contents/Resources/BezelUI/BezelUIServer
manishie
  • 119
  • 2
1

Don't use the volume keys. If you change the volume with the menu bar control the overlay does not display.

Note you only need to activate the menu item, and then the cursor keys can be used to manipulate it

Kevin
  • 4,102
  • 2
  • 21
  • 24
  • 2
    Is there a way to do this easily from the keyboard? The question mentions watching a movie, and showing the menu bar isn't really an improvement over the bezel in that case. – Nathan Greenstein Nov 01 '11 at 22:04
  • 1
    ^F8 will move focus to the status menus...cursor across to the volume control and up/down to adjust. Make sure this setting is enabled in System Preferences -> Keyboard -> Keyboard Shortcuts - Keyboard and Text Input – Kevin Nov 01 '11 at 22:11