Edit Menu Context on macOS

The drawback is that the context menu on macOS is not as flexible as the context menu on Windows. On Windows, users can easily tweak the Registry to add applications to the right-click menu or perform a certain action. However, macOS is famous for being a "difficult to unlock" operating system, so it is understandable that editing the context menu is more difficult.

Edit Menu Context on macOS Picture 1

How to edit Menu Context on macOS

This way of editing context menus on MacOS requires users to have a lot of experience. So in this article TipsMake will guide you through some simple ways to edit the context menu on macOS in the most detailed way so you can easily follow.

Add/remove services in context menu on Mac

The main method for adding and removing items in the context menu (the context menu when you right-click) on macOS is through services. Services appear in the Services drop-down menu when the user hovers over the Service section in the bottom corner on the right-click menu. In addition, macOS also provides GUI-based methods for adding and removing items in the conext menu on Mac.

Step 1: Open the System Preferences application on the Apple menu.

Edit Menu Context on macOS Picture 2

Step 2: On the System Preferences window, find and click Keyboard .

Edit Menu Context on macOS Picture 3

Step 3: Next click on the Shortcuts tab in the top corner of the window.

Edit Menu Context on macOS Picture 4

Step 4: Select Services from the menu in the left pane.

Edit Menu Context on macOS Picture 5

Step 5: The screen will display a list of all available services, arranged in main categories. Check the services to enable or disable the display of related services.

Edit Menu Context on macOS Picture 6

Step 6: Applications can add their own services here. You can find these services based on the items (files, folders, text) used as input on the context menu. For example, if the item displays on the context menu when you right-click on selected text, you will find this service in the Text drop-down menu.

Edit Menu Context on macOS Picture 7

Displays services in the main context menu

If you have many services or use them frequently, you will notice the limitations of having to wait for a drop-down menu to appear to open the services. However, with just one Terminal command to edit the context menu on MacOS, you can display all services on the dropdown menu.

Step 1: Open Terminal in " Applications => Utilities => Terminal.app ".

Step 2: Paste the command below into the Terminal window:

defaults write -g NSServicesMinimumItemCountForContextSubmenu -int 999

Edit Menu Context on macOS Picture 8

The above command will default to the minimum services needed to create the Services submenu. The last number in the command (999 in this example) sets the number of items needed to create the Services submenu. If the service number is less than this value, the Services submenu will not appear.

In this case 999 has no different meaning from infinity, so you will see the Services submenu.

Step 3: Exit and restart Finder by entering the Terminal command below:

killall Finder

Edit Menu Context on macOS Picture 9

Edit the "Open With" menu

The Open With submenu on the context menu is arranged a bit haphazardly. However, you can completely edit the Open With menu to your liking.

1. Remove duplicates on the Open With context menu

Sometimes the LauchServices database can be corrupted or corrupted, leading to duplicate items in the Open With menu.

Step 1 : Run the Terminal command below to rebuild the LaunchServices database:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user

Edit Menu Context on macOS Picture 10

Step 2: Kill and restart finder with killall Finder command .

You may have to wait a few minutes before restarting to rebuild the LaunchServices database.

2. Prevent specific applications from linking to extensions

You can also prevent a specific application from linking to a specific extension file in the Open With menu.

Step 1: Right-click on the application that has the item you want to edit and then click Show Package Contents .

Edit Menu Context on macOS Picture 11

Step 2: Open the Contents folder .

Edit Menu Context on macOS Picture 12

Step 3: Copy the file ' Info.plist ' and rename the file to another name, such as ' info-backup.plist ' to create a backup file.

Step 4 : Open the Info.plist file in a text editor like TextEdit.

Edit Menu Context on macOS Picture 13

Step 5: Search for information by pressing the key combination Command + F , then enter " CFbundleTypeExtensions " into the box.

Edit Menu Context on macOS Picture 14

Step 6: The above operation will display a lot of information. With complex applications like Photoshop, you will find related extensions. Locate the " . " containing the file type you want to prevent. For example, if you want to remove Photoshop from the Open With menu on PNG files, you search for "png" in CFbundleTypeExtensions.

Step 7 : Delete the related entry " . " . In this example, delete " png ".

Edit Menu Context on macOS Picture 15

Step 8: Open Terminal and run the killall Finder command to apply the changes.

Although on macOS you don't have as much control over the context menu as on Windows, you can still take a few steps to edit the context menu on macOS. In addition, you can add more options to the Services menu, create thumbnails on Mac using the built-in Automator application on macOS, and create services.


When using Mac, users will need shortcuts to operate faster, save time doing other tasks, a list of keyboard shortcuts for Mac is available on the site Thuthuat.taimienphi.vn, in the list of shortcuts in Mac has many keys that you will feel familiar with if you are familiar with Windows.

4.5 ★ | 2 Vote

May be interested

  • How to broadcast wifi on MacBook, create Wifi Hotspot on MacBookPhoto of How to broadcast wifi on MacBook, create Wifi Hotspot on MacBook
    iphones have long had a great built-in personal wifi hotspot feature that converts your iphone or ipad into a wireless router that your mac and other devices can connect to. the following article will show you how to use the instant wi-fi hotspot feature on mac os x.
  • Simple way to fix Camera error on MacbookPhoto of Simple way to fix Camera error on Macbook
    how to fix the camera on the macbook if it is faulty, not working or not working properly? readers, please refer to tipsmake's article below to learn more details.
  • How to fix Wifi error saying No Hardware Installed on MacbookPhoto of How to fix Wifi error saying No Hardware Installed on Macbook
    there are 2 ways to fix wifi error saying no hardware installed on macbook, the first way is to reset pram / nvram or the other way is to try resetting smc.
  • How to open and view GIF images and animations on MacPhoto of How to open and view GIF images and animations on Mac
    although the preview application can handle and allow users to view all types of image formats on mac, the limitation of the application is that it cannot open and process gif image formats properly. in the article below tipsmake will guide you how to open and view gif images and animations on mac.
  • How to fix font errors in Word on MacbookPhoto of How to fix font errors in Word on Macbook
    font error in word on macbook is one of the common errors that apple fans often encounter while using and editing documents. the article below tipsmake will guide you how to fix this font error.
  • How to fix speaker loss of sound on MacbookPhoto of How to fix speaker loss of sound on Macbook
    initially, everything seems as normal as any other day on your mac, but just when you turn on music or watch videos, a strange problem appears and the sound disappears without a trace. and this problem makes you explore potential solutions to fix speaker no sound on macbook pro 2021.... if this scenario sounds familiar, then you've found the right troubleshooting guide with the article that thuthuat.taimienphi.vn shares right below.