Category: macOS

  • Time Machine 配置

    Exclude these items from backups:

    /opt/homebrew
    /private/tmp
    ~/.gradle
    ~/.minikube
    ~/go
    ~/git
    ~/Music
    ~/Library
    

    https://support.apple.com/zh-cn/guide/mac-help/mh15622/mac

  • pgp gpg

    https://www.openpgp.org/

    gpg = gnupg
    https://gnupg.org/documentation/manpage.html

    MacOS gpg tool: https://gpgtools.org/

  • mac 鼠标指针慢

    接了外接的 usb 鼠标后,会出现拖动无力的情况

    重置NVRAM 或 PRAM 之后,鼠标非常顺畅

    OPTION+Command+P+R+POWER

    Option-Command-P-R: Reset NVRAM or PRAM. If your Mac is using a firmware password, it ignores this key combination or starts up from macOS Recovery.

    https://support.apple.com/en-us/HT201255

    打开 System Report => 图像显示, 发现
    UI Looks like: 2560 x 1440 @ 29.00Hz
    想办法证它显示 4k 60Hz
    下载 SwitchResX4.zip,选 2560x1440x60Hz 在 DELL U2720QM Display 效果最好

  • macOS 鼠标 触控板

    鼠标设置,tracking speed / 双击以及滚动速度调到离最快 两格

    触控板
    勾选 Tap to click
    Click => light
    Track Speed => Fast

    三指拖拽
    https://support.apple.com/en-us/HT204609

  • microsoft desktop client

    For mac user Install Microsoft Remote Desktop. https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-clients

    beta version

    https://install.appcenter.ms/orgs/rdmacios-k2vy/apps/microsoft-remote-desktop-for-mac/distribution_groups/all-users-of-microsoft-remote-desktop-for-mac

  • macOS 路由管理

    osx添加与删除静态路由

    sudo route -n add -net 10.10.1.0/24 10.10.1.2
    sudo route -n delete -net 10.10.1.0/24 10.10.1.2

    清除路由

    You need to flush the routes . Use route -n flush several times . Afterwards add your routes with route add. restart network

    print routes

    netstat -rn