python - 使用终端在 macOS 中旋转屏幕

标签 python macos terminal

我想借助终端中的命令在 mac os 中旋转屏幕。我可以在 linux 中使用 xrandr 命令执行此操作,但在 mac os 中则不行。

最佳答案

我为 macOS 编写了一个终端实用程序,可让您在 macOS 上旋转、更改分辨率和定位显示器。当我从 Linux 切换到 macOS 时,我真的很怀念 XRandR。

displayplacer - 也可通过 Homebrew brew tap jakehilborn/jakehilborn && brew install displayplacer

关于python - 使用终端在 macOS 中旋转屏幕,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42007191/

相关文章:

python - 如何在 mac 上安装 python 的 httplib2?

python - read() 的文件大小限制?

python - PowerShell 将环境变量设置为子表达式会丢弃换行符

linux - 如何获取 CTRL+B、CTRL+L、ALT+K 等的 unicode 字符...?

linux - imagemagick convert 命令在我的系统上似乎无法正常工作

Python:线程中的执行顺序

python - PSO 能否收敛于导数非零的点?

python - python中最短的哈希来命名缓存文件

python - Flask:将用户重定向到 html 页面的特定部分

macos - Mac OS X 附带什么 Java 版本?