![]() ![]() # Disable automatic termination of inactive apps #defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false `cd /tmp unidecode "\x" > cc.txt open -e cc.txt`ĭefaults write NSGlobalDomain NSTextShowsControlCharacters -bool true ![]() # Display ASCII control characters using caret notation in standard text views # Disable the “Are you sure you want to open this application?” dialogĭefaults write LSQuarantine -bool false # Automatically quit printer app once the print jobs completeĭefaults write "Quit When Finished" -bool true # Save to disk (not to iCloud) by defaultĭefaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false # Increase window resize speed for Cocoa applicationsĭefaults write NSGlobalDomain NSWindowResizeTime -float 0.001ĭefaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool trueĭefaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true # Disable opening and closing window animationsĭefaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false #defaults write NSGlobalDomain AppleShowScrollBars -string "Always" # Menu bar: hide the useless Time Machine and Volume iconsĭefaults write menuExtras -array "/System/Library/CoreServices/Menu Extras/nu" "/System/Library/CoreServices/Menu Extras/nu" "/System/Library/CoreServices/Menu Extras/nu" "/System/Library/CoreServices/Menu Extras/nu" # Menu bar: hide remaining battery time (on pre-10.8) hide percentageĭefaults write ShowPercent -string "NO"ĭefaults write ShowTime -string "NO" #sudo defaults write /Library/Preferences/SystemConfiguration/ NetBIOSName -string $LOCALHOSTNAMEĭefaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false #sudo scutil -set LocalHostName $LOCALHOSTNAME #sudo scutil -set ComputerName $COMPUTERNAME # Set computer name (as done via System Preferences → Sharing) While true do sudo -n true sleep 60 kill -0 "$$" || exit done 2>/dev/null & # Keep-alive: update existing `sudo` time stamp until `.osx` has finished # Ask for the administrator password upfront Osascript -e 'tell application "System Preferences" to quit' # Close any open System Preferences panes, to prevent them from overriding ![]() Into my terminal and I get a lot of command not found errors. How come I cannot execute this 2 shell script on my Mac? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |