7,159
edits
No edit summary |
No edit summary |
||
(22 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 買った。マウスの軌跡の加速度合いが気に入らないので調べた。 | |||
<syntaxhighlight lang="bash" enclose="div"> | |||
defaults write .GlobalPreferences com.apple.mouse.scaling -1 | |||
</syntaxhighlight> | |||
情報では "-1" というのがほとんどなんだが "-3100" があるので調査中。 | |||
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 | |||
*雑多なメモ | |||
<syntaxhighlight lang="bash" enclose="div"> | |||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw -l | |||
</syntaxhighlight> | |||
*雑多なメモ | |||
tccutil | |||
*MontereyのGateKeeperの罠 | |||
確証は無いのだが... | |||
brewで入れたemacsが大きなファイルを開いて作業すると落ちる。ひょっとしたらと思いentitlementsをつけてcodesignしたら安定したかも... | |||
*brewで入れたemacs 28.1が.emacsを読み込まない | *brewで入れたemacs 28.1が.emacsを読み込まない | ||
.emacsを確認 | .emacsを確認 | ||
Line 4: | Line 77: | ||
emacs --batch -f batch-byte-compile .emacs | emacs --batch -f batch-byte-compile .emacs | ||
</syntaxhighlight> | </syntaxhighlight> | ||
いっぱい警告が出てるが、この秘伝のタレの.emacsは色んな所で動いているのですが... | いっぱい警告が出てるが、この秘伝のタレの.emacsは色んな所で動いているのですが...警告を消したら読み込みました... | ||
byte-compileで出来た.emacs.elcは削除しておきましょう。忘れたころに.emacs変更したのに変わらないと悩むから... | |||