Tag: mac
All the articles with the tag "mac".
[MacOS] How to Quickly Toggle Natural Scrolling Direction with Apple Script (For macOS Tahoe 26)
Published: at 12:46 AM (3 min read)When using an external mouse, I prefer to set the scrolling direction to non-natural, but when using the trackpad, I like natural scrolling. This habit forces me to frequently go to System Settings -> Trackpad -> Scroll & Zoom -> Natural Scrolling. How can Apple Script help me quickly toggle the scroll direction on macOS Tahoe 26?
[MacOS] 常用的 kill/pkill 指令,強制刪除特定的 process
Published: at 08:42 AM (1 min read)在日常開發時,有時會遇到某個 process 卡住或是 port 被佔用等等狀況,這邊記錄一下我自己常用的 kill/pkill 指令們...
[MacOS] How to Resolve 'Can't find the libpq-fe.h header' Error
Published: at 12:55 PM (1 min read)An error occurred while installing pg (1.2.3), and Bundler cannot continue.
[MacOS] How to Resolve 'ERROR: CMake is required to build Rugged.'
Published: at 12:44 PM (1 min read)An error occurred while installing rugged (1.9.0), and Bundler cannot continue.
[MacOS] Fix the ModuleNotFoundError: No module named 'distutils'.
Published: at 07:01 AM (1 min read)How to resolve the distutils module error when installing Node.js packages with native dependencies on macOS
[MacOS] 如何知道分享器預設閘道(default gateway)的位址?
Published: at 06:51 AM (2 min read)每次在換分享器時,時常需要知道分享器的 ip 位址,常見的預設會是 192.168.0.1,但也可能已經被佔用或是不同廠牌的分享器會有不同的預設 ip 位址,這時候可以如何快速找到預設閘道(default gateway)的位址?
[MacOS] 將 MOV 影片檔轉為 MP4
Published: at 09:07 AM (1 min read)在 macOS 中的 QuickTime 預設會存為 MOV 格式,但有些平台僅支援 MP4 格式,因此我們可以用 ffmpeg 將影片轉換為 MP4 格式...
[MacOS] 如何使用 Apple Script 快速切換 Natural Scrolling 的滾動方向 (適用 macOS 15.6 以前版本)
Published: at 12:04 PM (4 min read)我自己平時工作外接滑鼠時,習慣將滾動方向設定為非自然滾動,但是當我使用觸控板時,我又習慣將滾動方向設定為自然滾動,但這樣的習慣導致我時常需要進入系統偏好設定 -> 觸控板 -> 滾動與縮放 -> 自然滾動。然而 Apple Script 可以如何幫助我快速地切換滾動方向?
[MacOS] 如何避免 macOS 桌面順序自動變更
Published: at 11:33 AM (1 min read)常常在 macOS 上開很多桌面,常常自訂好順序的桌面被 macOS 自動變更順序,導致要找哪個才是自己要的桌面...
[MacOS] 外接耳機或喇叭突然沒聲音
Published: at 01:14 AM (1 min read)如何解決 mac 外接耳機或喇叭突然沒聲音