Guest User

Untitled

a guest
Nov 19th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. I've found a fix for removing the developer category.
  2.  
  3. Go to ~/Library/Preferences/
  4.  
  5. Open Terminal. You will need to convert the Spotlight plist file to XML (from binary) so you can edit it in TextEdit. The command you need is:
  6. plutil -convert xml1 ~/Library/Preferences/com.apple.spotlight.plist
  7.  
  8. Open this file in TextEdit. Just before </array> at the bottom, add the following:
  9.  
  10. <dict>
  11. <key>enabled</key>
  12. <false/>
  13. <key>name</key>
  14. <string>SOURCE</string>
  15. </dict>
  16.  
  17. Convert the file back to binary using:
  18. plutil -convert binary1 ~/Library/Preferences/com.apple.spotlight.plist
  19.  
  20. Log out and back in again.
Add Comment
Please, Sign In to add comment