$Id: $

MacOS tips


  1. $ ln -s /Users /home now allowed.
    1. % sudo nano /etc/synthetic.conf
    2. home Users # Use tab not space for the separator.
    3. reboot
  2. mount EFI:
  3. $diskutil list # find the EFI partition.
    $sudo diskutil mount disk0s1 # disk0s1 is the partition found by the command above.
  4. disable sleep:
  5. $sudo pmset -a disablesleep 1 # to disable sleep
    $sudo pmset -a disablesleep 0 # to enable sleep again.
  6. register ssh-key in the keychain
  7. $ssh-add -K ~/.ssh/id_rsa
  8. svn locale related issue: complaining UTF-8
  9. $env |grep LC_CTYPE
    $LC_CTYPE=C
    $export LC_CYPTE

Go back to Computer

2026/03/30.