7,137
edits
No edit summary |
No edit summary |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
*雑多なメモ | |||
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を読み込まない | |||
.emacsを確認 | |||
<syntaxhighlight lang="bash" enclose="div"> | |||
emacs --batch -f batch-byte-compile .emacs | |||
</syntaxhighlight> | |||
いっぱい警告が出てるが、この秘伝のタレの.emacsは色んな所で動いているのですが...警告を消したら読み込みました... | |||
byte-compileで出来た.emacs.elcは削除しておきましょう。忘れたころに.emacs変更したのに変わらないと悩むから... | |||
*bashからzshに変わって嫌な挙動をなんとかそれらしくする | |||
<syntaxhighlight lang="bash" enclose="div"> | |||
set +o ALWAYS_LAST_PROMPT | |||
set -o AUTO_CD | |||
set +o AUTO_MENU | |||
set -o RM_STAR_SILENT | |||
</syntaxhighlight> | |||
*bashからzshに変わって許せない事が一つ解消した | |||
tab で補完する際に、文字列の途中にカーソルを移動させて補完が出来なくなったのを解消する設定 | |||
<syntaxhighlight lang="bash" enclose="div"> | |||
bindkey '^i' expand-or-complete-prefix | |||
</syntaxhighlight> | |||
あーーーすっきりした | |||
*悪いこととは知りながら... | |||
<syntaxhighlight lang="bash" enclose="div"> | |||
brew install pyenv | |||
LDFLAGS="/opt/homebrew/opt/gettext/lib/libintl.a" pyenv install 2.7.18 | |||
</syntaxhighlight> | |||
*ldd | |||
Montereyに ldd が無い。 | |||
<syntaxhighlight lang="bash" enclose="div"> | |||
otool -L | |||
</syntaxhighlight> | |||
alias しておこう... | |||
*コードサイニング系雑多なメモ | *コードサイニング系雑多なメモ | ||
コードサイニングする場合は、terminal 経由では駄目でMacでログインしてGUIが機能する必要がある。 | コードサイニングする場合は、terminal 経由では駄目でMacでログインしてGUIが機能する必要がある。 | ||
自身のキーチェインアクセス.app のGUIが動く必要あり。 | 自身のキーチェインアクセス.app のGUIが動く必要あり。 | ||
こんな感じのエラーがでる。 | |||
<syntaxhighlight lang="bash" enclose="div"> | |||
my_a.out: errSecInternalComponent | |||
</syntaxhighlight> | |||
コードサインの削除 | コードサインの削除 | ||
Line 30: | Line 112: | ||
</plist> | </plist> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
"com.apple.security.get-task-allow" はリリース時は消すこと。 | |||
entitlements の確認 | entitlements の確認 |