MacOS

From VVCWiki
Revision as of 13:28, 21 April 2012 by Vvc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Time Machine

  • To show hidden files
defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder
  • To change Computer name
scutil --set HostName servername.example.com
scutil --set ComputerName servername
scutil --set LocalHostName servername
  • To check what is preventing MacBook to go to sleep
pmset -g assertions

In my case it was a stuck job in a printer queue:

Listed by owning process:
  pid 19: [0x0000012c00000013] PreventSystemSleep named: "org.cups.cupsd"