0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Mac】コマンドでシステム設定の特定のパネルを開く方法

Posted at

システム設定を開く

ターミナルからシステム設定を開くには以下のコマンドを実行します。

open -a "System Settings"

または

open "/System/Applications/System Settings.app"

システム設定の「一般」パネルが開きます。

特定のパネルを開く

以下のようにすると特定のパネルを指定して開けます。

open "/System/Library/PreferencePanes/パネル.prefPane"

「外観」パネルを開く場合は次のようになります。

open "/System/Library/PreferencePanes/Appearance.prefPane"

指定できるパネルの一覧はls /System/Library/PreferencePanes/で取得できます。

$ ls /System/Library/PreferencePanes/
Accounts.prefPane/                 Mouse.prefPane/
Appearance.prefPane/               Network.prefPane/
AppleIDPrefPane.prefPane/          Notifications.prefPane/
Battery.prefPane/                  Passwords.prefPane/
Bluetooth.prefPane/                PrintAndFax.prefPane/
ClassKitPreferencePane.prefPane/   PrintAndScan.prefPane/
ClassroomSettings.prefPane/        Profiles.prefPane/
DateAndTime.prefPane/              ScreenTime.prefPane/
DesktopScreenEffectsPref.prefPane/ Security.prefPane/
DigiHubDiscs.prefPane/             SharingPref.prefPane/
Displays.prefPane/                 SoftwareUpdate.prefPane/
Dock.prefPane/                     Sound.prefPane/
EnergySaver.prefPane/              Speech.prefPane/
EnergySaverPref.prefPane/          Spotlight.prefPane/
Expose.prefPane/                   StartupDisk.prefPane/
Extensions.prefPane/               TimeMachine.prefPane/
FamilySharingPrefPane.prefPane/    TouchID.prefPane/
InternetAccounts.prefPane/         Trackpad.prefPane/
Keyboard.prefPane/                 UniversalAccessPref.prefPane/
Localization.prefPane/             Wallet.prefPane/

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?