I want to add <key>LSUIElement</key> <true/>
to the plist of Calendar.app like I would other apps because I don't want it in the dock or my task bar. This being a super-special Apple app, I need special permission. Could anyone tell me how to safely do this?
Safely alter the plist on Calendar.app
calendardockplist
Related Question
- MacOS – Dragging an app’s icon across in Dock without ended up pinning
- MacOS – How to customize the Guest user Dock in Yosemite
- Why (else) would the Calendar icon have a red badge (with numbers) on it
- macOS – Hiding Items from Applications Folder
- App Store Review – Is NSPhotoLibraryAddUsageDescription Required for Saving Images?
- How to make a LaunchDaemon run an app at login
Best Answer
To safely alter the file just make a copy or backup of the file and then work with the original:
To modify the file log-in as a sudoer (usually an admin account) and open Terminal.
Enter the following to backup the file:
you have to enter your password then.
Open nano to modify the plist content:
now add
after the line containing
<dict>
(usually the 5th line).Hit ctrlo to write the changes to file. Then hit Hit ctrlx to quit nano.
to revert the changes enter:
to remove the modified file and rename the backup file.
Enter exit and quit Terminal