Preferensi Sistem macOS
Dokumen ini merekam preferensi sistem macOS di mesin ini supaya bisa direproduksi di mesin baru.
Nilai diukur di mesin ini pada 2026-09-27. Hanya nilai yang menyimpang dari default yang perlu direproduksi. Nilai yang sudah default tidak perlu diubah. Setiap nilai di bawah berasal dari pengukuran langsung, bukan asumsi.
Informasi Sistem
| Komponen | Nilai |
|---|---|
| Model | MacBook Air M2 (Mac14,2) |
| Chip | Apple M2 8-core |
| Memori | 16 GB |
| macOS | 27.0 (build 26A428) |
| Arsitektur | arm64 |
Dock (com.apple.dock)
NON-DEFAULT (perlu direproduksi):
| Key | Nilai | Default | Arti |
|---|---|---|---|
autohide | 1 | false | Dock sembunyi otomatis |
tilesize | 39 | 64 | Ukuran ikon Dock |
mineffect | scale | genie | Efek saat minimize |
minimize-to-application | 1 | false | Minimize ke ikon aplikasi, bukan ke window |
show-recents | 0 | true | Tidak menampilkan aplikasi terakhir |
launchanim | 0 | true | Animasi saat membuka aplikasi dimatikan |
expose-group-apps | 1 | false | Kelompokkan window per aplikasi di Mission Control |
Nilai default (tidak diubah): autohide-delay, autohide-time-modifier, magnification, orientation.
Urutan persistent-apps di Dock:
Apps, Dia, Kaku, Notes, TV, Music, Games, App Store, iPhone Mirroring, Siri, System SettingsCatatan: urutan persistent-apps disimpan sebagai array data biner yang kompleks. Nilai ini tidak bisa ditulis dengan defaults write sederhana seperti key skalar di atas, jadi tidak dimasukkan ke blok skrip. Susun ulang secara manual bila perlu.
Hot Corners (com.apple.dock, key wvous-*)
Semua modifier bernilai 0, artinya tanpa tombol modifier. Key wvous-<corner>-modifier harus ditulis ke 0.
NON-DEFAULT (perlu direproduksi):
| Pojok | Key corner | Nilai | Key modifier | Nilai | Arti |
|---|---|---|---|---|---|
| Kiri atas | wvous-tl-corner | 2 | wvous-tl-modifier | 0 | Mission Control |
| Kanan atas | wvous-tr-corner | 12 | wvous-tr-modifier | 0 | Notification Center |
| Kiri bawah | wvous-bl-corner | 11 | wvous-bl-modifier | 0 | Launchpad |
| Kanan bawah | wvous-br-corner | 14 | wvous-br-modifier | 0 | Quick Note |
Referensi kode: 1 disabled, 2 Mission Control, 3 App Windows, 4 Desktop, 5 Start Screensaver, 6 Disable Screensaver, 7 Dashboard, 10 Put Display to Sleep, 11 Launchpad, 12 Notification Center, 13 Lock Screen, 14 Quick Note.
Finder (com.apple.finder)
NON-DEFAULT (perlu direproduksi):
| Key | Nilai | Default | Arti |
|---|---|---|---|
FXPreferredViewStyle | Nlsv | icnv | Tampilan List |
ShowPathbar | 1 | false | Tampilkan path bar |
ShowStatusBar | 1 | false | Tampilkan status bar |
FXDefaultSearchScope | SCcf | SCev | Cari di folder saat ini, bukan This Mac |
Nilai default (tidak diubah): AppleShowAllFiles, _FXShowPosixPathInTitle, CreateDesktop.
NSGlobalDomain
NON-DEFAULT (perlu direproduksi):
| Key | Nilai | Arti |
|---|---|---|
AppleLocale | en_ID | Locale Indonesia dengan antarmuka Inggris |
AppleLanguages | (en-ID, id-ID) | Bahasa utama Inggris (Indonesia), cadangan Indonesia |
NSAutomaticCapitalizationEnabled | 1 | Kapitalisasi otomatis aktif |
NSAutomaticPeriodSubstitutionEnabled | 1 | Substitusi titik otomatis aktif |
AppleMiniaturizeOnDoubleClick | 0 | Double-click pada title bar tidak minimize |
AppleInterfaceStyleSwitchesAutomatically | 1 | Tampilan terang/gelap mengikuti jadwal otomatis |
Nilai default (tidak diubah): AppleMeasurementUnits, AppleMetricUnits, AppleTemperatureUnit, AppleShowScrollBars, NSScrollbarSetting, KeyRepeat, InitialKeyRepeat, NSAutomaticSpellingCorrectionEnabled, NSAutomaticQuoteSubstitutionEnabled, NSAutomaticDashSubstitutionEnabled, com.apple.swipescrolldirection, ApplePressAndHoldEnabled.
Catatan mode tampilan: key AppleInterfaceStyle sempat teramati bernilai Dark lalu hilang pada sesi yang sama. Key yang hilang berarti mode Light. Karena AppleInterfaceStyleSwitchesAutomatically bernilai 1, ini adalah pergantian otomatis, bukan preferensi tetap. Jangan mengunci mode terang atau gelap kecuali memang diinginkan.
Trackpad (com.apple.AppleMultitouchTrackpad dan com.apple.driver.AppleBluetoothMultitouch.trackpad)
Nilai identik di kedua domain.
NON-DEFAULT (perlu direproduksi):
| Key | Nilai | Default | Arti |
|---|---|---|---|
Clicking | 1 | false | Tap untuk klik aktif |
TrackpadThreeFingerDrag | 1 | false | Tiga jari untuk drag |
DragLock | 0 | - | Drag lock nonaktif |
Dragging | 0 | - | Dragging nonaktif |
TrackpadThreeFingerHorizSwipeGesture | 0 | - | Swipe horizontal tiga jari nonaktif |
TrackpadThreeFingerVertSwipeGesture | 0 | - | Swipe vertikal tiga jari nonaktif |
Catatan: DragLock, Dragging, dan kedua key ...SwipeGesture tidak lazim dianggap sebagai pasangan “default” yang diekspos macOS dengan jelas, jadi kolom default dikosongkan. Nilai TrackpadThreeFingerDrag diukur berbeda dari patokan umumnya (false), sedangkan gesture swipe tiga jari dimatikan supaya tidak bentrok dengan fitur drag.
Screenshots (com.apple.screencapture)
NON-DEFAULT (perlu direproduksi):
| Key | Nilai | Default | Arti |
|---|---|---|---|
location | ~/Pictures/Screenshots | ~/Desktop | Lokasi simpan screenshot |
location-last | ~/Pictures/Screenshots | - | Lokasi terakhir yang dipakai |
location-screenrecording | ~/Pictures/Screenshots | - | Lokasi rekaman layar |
location-screenshot | ~/Pictures/Screenshots | - | Lokasi screenshot |
style | window | - | Gaya tangkapan default |
target | file | - | Simpan sebagai file |
video | 0 | - | Rekaman video nonaktif |
disable-shadow | 1 | 0 | Tanpa bayangan di sekitar tangkapan |
Direktori ~/Pictures/Screenshot sudah ada di mesin ini.
Menu Bar Clock (com.apple.menuextra.clock)
NON-DEFAULT (perlu direproduksi):
| Key | Nilai | Arti |
|---|---|---|
ShowAMPM | 1 | Tampilkan AM/PM |
ShowDayOfWeek | 1 | Tampilkan nama hari |
ShowDate | 0 | Tidak tampilkan tanggal |
Power (pmset)
Nilai menonjol yang terukur:
| Key | Baterai | AC |
|---|---|---|
displaysleep | 2 | 10 |
sleep | 1 | 1 |
Key lain yang terukur: disksleep 10, standby 1, hibernatemode 3, powernap 1, tcpkeepalive 1, lowpowermode 0, networkoversleep 0, hibernatefile /var/vm/sleepimage.
Catatan ketidakpastian: pengukuran ini tidak membandingkan nilai power terhadap default pabrik. Jadi tidak bisa dipastikan mana yang non-default tanpa pengukuran ulang. Blok skrip di bawah tidak menyertakan pmset karena alasan ini. Bila ingin menyamakan persis, jalankan perintah pmset yang setara secara manual dan verifikasi dulu: misalnya sudo pmset -b displaysleep 2, sudo pmset -c displaysleep 10.
Security
| Item | Status | Catatan |
|---|---|---|
| FileVault | On | Enkripsi disk aktif |
| SIP | enabled | System Integrity Protection aktif |
Gatekeeper (spctl) | assessments enabled | Penilaian aplikasi aktif |
| Time Machine | tidak ada destination | “No destinations configured” |
| Login items | tidak ada | Hasil osascript kosong |
Aksesibilitas
| Item | Nilai | Catatan |
|---|---|---|
com.apple.universalaccess reduceMotion | 1 | Reduce Motion aktif |
com.apple.Accessibility ReduceMotionEnabled | 1 | Kunci kembar |
Nilai ini sudah aktif sebelum repositori dotfiles ini ada, dan tidak pernah
ditulis oleh script mana pun di sini. Status non-default itu tetap dicatat agar
tidak hilang saat membangun ulang mesin. Rincian setelan animasi ada di
ANIMASI.md.
Papan Ketik
| Key | Nilai | Bawaan | Fungsi |
|---|---|---|---|
NSGlobalDomain InitialKeyRepeat | 2 | 25 | Jeda sebelum tombol yang ditahan mulai mengulang |
NSGlobalDomain KeyRepeat | 1 | 2 | Jarak antar pengulangan |
Nilai dalam satuan 15 ms. Jadi nilai 2 berarti jeda 30 ms, dan nilai 1
berarti mengulang tiap 15 ms.
Sebelum diubah, tidak ada key repeat yang diset, sehingga macOS memakai bawaannya: jeda 375 ms lalu mengulang sekitar 33 karakter per detik. Saat tombol delete ditahan untuk menghapus teks banyak, itu terasa sangat lambat, dan berlaku di semua aplikasi karena ini setelan sistem, bukan milik aplikasi sekali pun).
Sesudah diubah: jeda 30 ms lalu sekitar 66 karakter per detik, jadi sekitar dua kali lebih cepat.
Slider di System Settings > Keyboard berhenti di 15 untuk jeda dan 2 untuk
kecepatan, jadi nilai di sini berada di bawah batas slider dan hanya bisa
dicapai lewat defaults.
Catatan: nilai ini berlaku untuk semua tombol, bukan hanya delete. Menahan
tombol huruf sedikit saja bisa langsung menghasilkan pengulangan. Bila itu
terjadi, naikkan KeyRepeat ke 2.
Aplikasi yang sudah berjalan mungkin perlu dimulai ulang, dan sebagian setting keyboard baru berlaku penuh setelah logout.
Cara Menerapkan Kembali
Blok berikut hanya menulis nilai non-default. Jalankan sebagai user biasa (tanpa sudo), karena defaults bekerja pada preferensi milik user.
# Dock
defaults write com.apple.dock autohide -bool true
defaults write com.apple.dock tilesize -int 39
defaults write com.apple.dock mineffect -string scale
defaults write com.apple.dock minimize-to-application -bool true
defaults write com.apple.dock show-recents -bool false
defaults write com.apple.dock launchanim -bool false
defaults write com.apple.dock expose-group-apps -bool true
# Hot Corners (semua modifier = 0, tanpa tombol modifier)
defaults write com.apple.dock wvous-tl-corner -int 2
defaults write com.apple.dock wvous-tl-modifier -int 0
defaults write com.apple.dock wvous-tr-corner -int 12
defaults write com.apple.dock wvous-tr-modifier -int 0
defaults write com.apple.dock wvous-bl-corner -int 11
defaults write com.apple.dock wvous-bl-modifier -int 0
defaults write com.apple.dock wvous-br-corner -int 14
defaults write com.apple.dock wvous-br-modifier -int 0
# Finder
defaults write com.apple.finder FXPreferredViewStyle -string Nlsv
defaults write com.apple.finder ShowPathbar -bool true
defaults write com.apple.finder ShowStatusBar -bool true
defaults write com.apple.finder FXDefaultSearchScope -string SCcf
# NSGlobalDomain
defaults write NSGlobalDomain AppleLocale -string en_ID
defaults write NSGlobalDomain AppleLanguages -array en-ID id-ID
defaults write NSGlobalDomain NSAutomaticCapitalizationEnabled -bool true
defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -bool true
defaults write NSGlobalDomain AppleMiniaturizeOnDoubleClick -bool false
defaults write NSGlobalDomain AppleInterfaceStyleSwitchesAutomatically -bool true
# Trackpad (dua domain, nilai identik)
for domain in com.apple.AppleMultitouchTrackpad \
com.apple.driver.AppleBluetoothMultitouch.trackpad; do
defaults write "$domain" Clicking -bool true
defaults write "$domain" TrackpadThreeFingerDrag -bool true
defaults write "$domain" DragLock -bool false
defaults write "$domain" Dragging -bool false
defaults write "$domain" TrackpadThreeFingerHorizSwipeGesture -int 0
defaults write "$domain" TrackpadThreeFingerVertSwipeGesture -int 0
done
# Screenshots
mkdir -p "$HOME/Pictures/Screenshot"
defaults write com.apple.screencapture location -string "$HOME/Pictures/Screenshot"
defaults write com.apple.screencapture location-last -string "$HOME/Pictures/Screenshot"
defaults write com.apple.screencapture location-screenrecording -string "$HOME/Pictures/Screenshot"
defaults write com.apple.screencapture location-screenshot -string "$HOME/Pictures/Screenshot"
defaults write com.apple.screencapture style -string window
defaults write com.apple.screencapture target -string file
defaults write com.apple.screencapture video -bool false
# Menu Bar Clock
defaults write com.apple.menuextra.clock ShowAMPM -bool true
defaults write com.apple.menuextra.clock ShowDayOfWeek -bool true
defaults write com.apple.menuextra.clock ShowDate -bool false
# Muat ulang agar berlaku
killall Dock
killall Finder
killall SystemUIServerPeringatan:
- Beberapa perubahan baru berlaku setelah logout atau restart, terutama preferensi di
NSGlobalDomaindan trackpad. killallakan menutup dan membuka ulang Dock, Finder, dan SystemUIServer. Ini normal dan tidak menghilangkan data.pmsettidak disertakan karena klasifikasi default/non-default belum terukur. Bila perlu, jalankan manual dengansudo.
Yang Tidak Dikelola Dotfiles
- FileVault dan SIP diatur di level OS dan tidak bisa ditulis lewat
defaults. FileVault dinyalakan dari System Settings (Privacy & Security) atausudo fdesetup enable. SIP hanya bisa diubah dari Recovery Mode (csrutil). Keduanya sengaja tidak diskripkan. - Time Machine tidak punya destination di mesin ini. Bila ingin backup, destination harus dipilih manual lewat System Settings atau
tmutil setdestination. - Login items tidak terisi. Bila ada item yang perlu dijalankan otomatis, tambahkan manual lewat System Settings (General > Login Items), karena daftar ini tidak ikut pindah antar mesin.