Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What is going on with this article?
@MacroBox

ちょっとしたTerminalコマンド【Mac OS X】

Appleのアプリを閉じて(cmd+q)開けたら以前使っていたものが開く問題

defaults write com.apple.[App Name] NSQuitAlwaysKeepsWindows -bool false
([App Name]はアプリの名前、例:Preview)と書くと開かなくなる。逆に、元に戻したい場合は
defaults write com.apple.[App Name] NSQuitAlwaysKeepsWindows -bool true
と書けばよい。

PLAYボタンを押してもiTunesを開かないようにする

launchctl disable gui/"$(id -u)"/com.apple.rcd
launchctl kill SIGTERM gui/"$(id -u)"/com.apple.rcd

元に戻す:

launchctl enable gui/"$(id -u)"/com.apple.rcd
launchctl kickstart gui/"$(id -u)"/com.apple.rcd

PDFやmp3などのサムネールの矢印ボタンを消す

defaults write com.apple.finder QLInlinePreviewMinimumSupportedSize -int 514
元に戻す:
defaults write com.apple.finder QLInlinePreviewMinimumSupportedSize -int 0

おまけ:システム起動音がなくなった?復活方法

sudo nvram StartupMute=%00
と書けば起動後に「ブーン」となる。音は前と少し変わってる....。

0
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
0
Help us understand the problem. What is going on with this article?