39

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

2
  • 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....
    – user121244
    Apr 8, 2015 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? May 26, 2020 at 13:18

8 Answers 8

38

Note: This solution no longer works on modern versions of macOS, unless you have System Integrity Protection disabled. See comments.


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.

17
  • From far the best answer! Dec 9, 2015 at 8:49
  • 1
    Thanks! Only problem is that my answer came 4 years later… Dec 9, 2015 at 10:38
  • 3
    Looks like this solution won't work in 10.12 because the launch agent and BezelUIServer is removed.
    – Zorg
    Jul 4, 2016 at 20:38
  • It works for this session, but it doesn't work indefinitely. It gives me com.apple.BezelUI.plist: Could not find specified service. Edit: It works!, It just needed to load the service again, so I can unload it.... Sep 12, 2016 at 22:47
  • 1
    BezelUI changed to OSDUIHelper in 10.12 – the new file is /System/Library/LaunchAgents/com.apple.OSDUIHelper.plist Dec 9, 2016 at 18:17
18
+50

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.

3
  • And thanks for the AppleScript blog posts, @Nathan Greenstein, that helped me to do this. I'm new to AppleScript.
    – Daniel
    Nov 3, 2011 at 0: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. Nov 3, 2011 at 0:26
  • Don't go through all this hassle just run some of the commands interestinglythere mentioned in his answer. Apr 10, 2016 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

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.

2
  • 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 2, 2015 at 20:23
  • 1
    It's because of 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, 2016 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.

3
  • The post you link to suggests modifying images in a folder that doesn't exist under Lion. Oct 30, 2011 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, 2011 at 18:28
  • There is indeed a built-in method for doing so. See my answer below. Oct 25, 2015 at 23:33
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

2
  • 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. Nov 1, 2011 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 1, 2011 at 22:11
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.

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
5
  • What does it do? Aug 4, 2015 at 5:39
  • It disables the volume control overlay, as the original poster wanted to do. It's just a simpler method and works in Yosemite.
    – manishie
    Aug 6, 2015 at 16:05
  • I mean what is it doing technically? Aug 6, 2015 at 19:12
  • 1
    You are removing the execute permission for all users for BezelUIServer. So it can't execute.
    – manishie
    Aug 6, 2015 at 20:37
  • Why not just tell the launchd job manager to not start BezelUIServer in the first place? See my answer below. Oct 25, 2015 at 23:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .