Difference between revisions of "Mac os x"

From Wasya Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 +
 +
=== disable DS_Store ===
 +
  defaults write com.apple.desktopservices DSDontWriteLocalStores -bool true
 +
 +
  defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
  
 
=== Save screenshots as jpg ===
 
=== Save screenshots as jpg ===

Latest revision as of 03:25, 11 April 2026

disable DS_Store

 defaults write com.apple.desktopservices DSDontWriteLocalStores -bool true
 defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true

Save screenshots as jpg

defaults write com.apple.screencapture type jpg;killall SystemUIServer

time

 sudo sntp -sS time.apple.com

Change default screenshot filename

defaults write com.apple.screencapture name "iDB"
killall SystemUIServer

Spotlight

Kill it: add the HD to privacy, in apple system settings

Restart, Command+r, shell, then:

csrutil disable

Then, unload the service:

 sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist