MacOS X Tips: Difference between revisions

2,025 bytes added ,  10 November 2023
no edit summary
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
*sonoma メモ
Terminal.app でチカチカするので、カーソル付近のIM切り替え表示を消す。
<syntaxhighlight lang="bash" enclose="div">
defaults write kCFPreferencesAnyApplication TSMLanguageIndicatorEnabled 0
</syntaxhighlight>
capslockの吹き出しを消す
<syntaxhighlight lang="bash" enclose="div">
sudo defaults write /Library/Preferences/FeatureFlags/Domain/UIKit.plist redesigned_text_cursor -dict-add Enabled -bool NO
</syntaxhighlight>
*同一人物でTouchIDでFast User Switch
当たり前なのですが、同じ指は使えないw
私は2つのアカウント使い分けたら良かったので、左右の手の人差し指と中指をそのアカウントに設定する用にした。サクッとアカウントが切り替わって超便利!
*homebrewで導入したpythonで"Unexpected error: PermissionError"
いろいろ調べたら、python-certifi あたりでエラーっぽい。ありがちだなと調べたらビンゴ。
<syntaxhighlight lang="bash" enclose="div">
chmod og+r /opt/homebrew/etc/ca-certificates/cert.pem
</syntaxhighlight>
brew をインストールしたアカウントと違うアカウントで使っているので、乱暴だが仕方なし
*Terminal.appの折り返し表示
時々、行の折り返し表示がされなくなる。このエスケープシーケンスで復帰
<syntaxhighlight lang="bash" enclose="div">
printf '\033[?7h'
</syntaxhighlight>
*tmutil
仕様がどんどん変わっとる...
<syntaxhighlight lang="bash" enclose="div">
tmutil listbackups
/Volumes/.timemachine/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/2023-05-30-223338.backup/2023-05-30-223338.backup
</syntaxhighlight>
<syntaxhighlight lang="bash" enclose="div">
tmutil delete -d /Volumes/__マウントポイント__ -t 2023-05-30-223338
</syntaxhighlight>
てな感じ...
*雑多なメモ
*雑多なメモ
Magic Mouse 買った。マウスの軌跡の加速度合いが気に入らないので調べた。
Magic Mouse 買った。マウスの軌跡の加速度合いが気に入らないので調べた。
<syntaxhighlight lang="bash" enclose="div">
<syntaxhighlight lang="bash" enclose="div">
defaults write .GlobalPreferences com.apple.mouse.scaling -3100
defaults write .GlobalPreferences com.apple.mouse.scaling -1
</syntaxhighlight>
</syntaxhighlight>
情報では "-1" というのがほとんどなんだが "-3100" がしっくりきてる感じ。
情報では "-1" というのがほとんどなんだが "-3100" があるので調査中。
  https://logs.paulooi.com/how-to-set-to-the-best-mouse-sensitivity-for-apple-magic-mouse.php
  https://logs.paulooi.com/how-to-set-to-the-best-mouse-sensitivity-for-apple-magic-mouse.php


結局都市伝説だったらしい。わたしゃ2.5かな
https://discussions.apple.com/thread/252930818
最終的に linearmouse 使うことにした。
https://linearmouse.org/
で 0, 0.31
*雑多なメモ
*雑多なメモ
  https://apple.stackexchange.com/questions/434362/mac-m1-how-to-copy-dylib-file-to-usr-lib-in-macos-big-sur
  https://apple.stackexchange.com/questions/434362/mac-m1-how-to-copy-dylib-file-to-usr-lib-in-macos-big-sur