How to Disable Caps Lock Indicator on macOS Sonoma

How to Disable Caps Lock Indicator on macOS Sonoma Sample Over Text

Knowing how to disable the Caps Lock indicator on macOS Sonoma will be helpful whenever you find it intrusive. The symbol is pretty discreet for the most part. However, speaking from experience, it will look distracting while you’re playing games or programming. Here’s how to do it.

How to Disable Caps Lock Indicator on macOS Sonoma?

There’s no official way to disable the Caps Lock indicator on macOS Sonoma. If it’s really bothersome, you could turn off the Caps Lock key altogether. Click the Apple menu > System Settings > Keyboard > Keyboard Shortcuts > Modifier Keys and set the Caps Lock key to No Action.

Experienced coders, however, could consider bypassing this feature by running custom JavaScript codes and executing command lines on Terminal. The only downside is they don’t always guarantee results. You might have to modify the scripts to suit your device’s system settings.

It took some trial and error, but I found several effective ways to remove the Caps Lock indicator on my Mac. I had to adjust the scripts and codes for relevance. See if these methods will also work on your device—make sure you copy-paste the codes correctly.

Note icon NOTE
Some users say you can turn off the Caps Lock indicator temporarily if you click it as it appears. Try doing so before moving to the complex solutions.

1. Run Custom Codes on Terminal

You’ll find several Terminal command lines that claim to remove the Caps Lock indicator online. Unfortunately, most of them are outdated. To ensure you don’t end up running risky codes, I’ll share which command line actually works on Mac. Here’s how to execute it on Terminal:

  1. Click Launchpad > Terminal, which you’ll find in the folder named Other.
  2. Copy-paste the code sudo mkdir -p /Library/Preferences/FeatureFlags/Domain and press Return.
    Writing Simple Command to Disable Caps Lock Indicator on macOS Sonoma
  3. Enter Administrator profile’s password and hit Return.
  4. Copy-paste sudo /usr/libexec/PlistBuddy -c "Add 'redesigned_text_cursor:Enabled' bool false" /Library/Preferences/FeatureFlags/Domain/UIKit.plist and hit Return.
    Writing Another Command Line to Disable Caps Lock Indicator on macOS Sonoma
  5. Enter your Administrator profile’s password again.
  6. The Caps Lock indicator should disappear after you restart your Mac.
  7. To enable the indicator again, copy-paste sudo /usr/libexec/PlistBuddy -c "Delete 'redesigned_text_cursor:Enabled'" /Library/Preferences/FeatureFlags/Domain/UIKit.plist into Terminal. It’ll appear after you restart your Mac.
    Writing a Command Line to Restored the Deleted Caps Lock Indicator

2. Create a Custom PLIST File on the Library Preferences Folder

If you have experience running command lines on XCode, you can also use it to create custom property list (PLIST) files in the Library Preferences folder.

  1. Open XCode and click Create New Project.
    Creating a New Project on XCode
  2. Click File in the menu bar > New > File…
    Creating a New File on XCode Program
  3. Select macOS in the window’s navigation bar, then scroll down to Property List under Resource.
  4. Name your PLIST file as com.apple.disable-caps-lock-indicator.plist and save it in your Desktop folder.
  5. Click the drop-down menu under Type and select Array.
    Selecting the Array Type on XCode
  6. Copy-paste the below code into the window, then transfer it to the /Library/Preferences/ folder:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>TSMLanguageIndicatorEnabled</key>
    <false/>
    </dict>
    </plist>
    Creating a PLIST File on XCode to Disable Caps Lock Indicator on macOS Sonoma

3. Run a Custom JavaScript Code

Write and run a custom JavaScript code that will disable the Caps Lock indicator on macOS Sonoma. It should automatically create a PLIST file in your library.

  1. Open Launchpad > Script Editor, which you’ll find in the Other folder.
  2. Click New Document.
    Creating a New Document on Script Editor
  3. Select the drop-down menu in the top-left corner of the window that says AppleScript, then change it to JavaScript.
    The Drop-Down Menu for AppleScript and JavaScript
  4. Copy-paste this entire script into the window.
  5. Click the play icon in the top-right corner of the window to run your script.
    Running a Custom JavaScript on Script Editor
  6. Enter your administrator’s password and restart your Mac.
    Enter the Admin Password on Script Editor
  7. To enable the Caps Lock indicator again, return to your home screen, click Go in the menu bar > Go to Folder, input /Library/Preferences/FeatureFlags/Domain/UIKit.plist, and then delete the PLIST file that appears.
    Deleting PLIST File Made to Disable Caps Lock Indicator on macOS Sonoma

4. Downgrade to an Older macOS Version

Since the Caps Lock indicator only appeared on macOS Sonoma, downgrading to an older macOS version might disable it. Please note that the process is quite risky. Only consider downgrading if you can navigate Recovery Mode and utilize bootable installers; otherwise, you might damage your logic board.

Try restarting your macOS Sonoma device a few times if these workarounds don’t disable your Caps Lock indicator—just ensure you double-check your codes beforehand. Incorrect commands will merely cause more problems. If you’re inexperienced in executing Terminal command lines on Mac, consider leaving the indicator symbol alone.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.