
我有一個棘手的問題。我在 Mac Mini 上使用 PQ Labs 的大型多點觸控螢幕。它在一次展覽中使用,我在全螢幕模式下運行應用程式。然而,由於 OS X 內建了退出全螢幕模式的觸控手勢(用所有手指捏合),使用者可能會意外地將應用程式退出到桌面。問題是,如果 Mac 未偵測到觸控板等觸控設備,則無法存取「系統偏好設定」中的手勢設定。就我而言,PQ Labs 螢幕有自己的驅動程序,因此 OS X 不會將其檢測為觸控設備,因此我無法停用手勢。有沒有辦法透過啟動腳本或其他方式來解決這個問題?
答案1
由於您沒有啟動觸控板,因此您可能需要藉用 Apple 觸控板來變更「系統偏好設定」中的設定。如果沒有,這可能有效:
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadFourFingerPinchGesture -int 0
將此值設為 0應該禁用該設定。再次,我不確定這是否適用於您的觸控螢幕
以下是一些可以嘗試的其他值:
禁用點按以單擊
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool false
用兩根手指點擊以模擬右鍵單擊
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
啟用三指點擊(尋找)
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerTapGesture -int 2
禁用三指拖曳
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerDrag -bool false
放大或縮小
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadPinch -bool true
智慧變焦,兩指雙擊
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadTwoFingerDoubleTapGesture -bool true
旋轉
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRotate -bool true
通知中心
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadTwoFingerFromRightEdgeSwipeGesture -int 3
用兩根手指在頁面之間滑動
defaults write NSGlobalDomain AppleEnableSwipeNavigateWithScrolls -bool true
在全螢幕應用程式之間滑動
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerHorizSwipeGesture -int 2
啟用其他多指手勢
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerVertSwipeGesture -int 2 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadFourFingerVertSwipeGesture -int 2 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadFourFingerHorizSwipeGesture -int 2 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadFiveFingerPinchGesture -int 2