Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dump this stuff #97

Open
todd-dsm opened this issue Sep 12, 2022 · 0 comments
Open

dump this stuff #97

todd-dsm opened this issue Sep 12, 2022 · 0 comments

Comments

@todd-dsm
Copy link
Owner

todd-dsm commented Sep 12, 2022

These parameters are no longer valid; at least some of them anyway. Research the rest:

defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false
defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}/" #verify before deletion
defaults read com.apple.menuextra.battery ShowPercent
defaults write com.apple.menuextra.battery ShowPercent -string 'YES'

### The Print Dialog Box - haven't printed anything for years
printInfo "Expand Print panel by default..."
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint2 -bool true

### Set default Tile Size to 42px - REVIEW
defaults write com.apple.dock tilesize 42

### Set default Tile Size to 42px - REVIEW
defaults write com.apple.dock tilesize 42

### Auto-Hide the Dock - REVIEW
printInfo "Auto-hide The Dock..."
defaults write com.apple.dock autohide -bool true

### Optionally: adjust timing with these settings  - REVIEW
defaults write com.apple.dock autohide-delay -float 0
defaults write com.apple.dock autohide-time-modifier -float 0

### Disable Guest User at the Login Screen - OFF BY DEFAULT
printInfo "Disable Guest User at the Login Screen..."
sudo defaults write /Library/Preferences/com.apple.loginwindow GuestEnabled -bool NO
sudo defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled

### Apple File Protocol - DISABLED IN BIG SUR
printInfo "Disable AFP Guest Access..."
defaults write com.apple.AppleFileServer.plist AllowGuestAccess -int 0

### Default Window Size - RESEARCH
printInfo "New Windows will open at H:45 x W:100..."
defaults write com.apple.TextEdit WidthInChars -int 100
defaults write com.apple.TextEdit HeightInChars -int 45

### Perform some font maintenance - REVIEW: this no longer works as expected after os update
printInfo "Refreshing the Fonts directory..."
atsutil server -ping
sudo atsutil databases -remove
atsutil server -shutdown
atsutil server -ping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant