Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to disable magic mouse back-forward gesture only in XCODE? While in browser it is fine, in XCODE it just totaly unwanted feature for me.

share|improve this question
    
Please for the log of god someone find an answer to this! –  onedayitwillmake Nov 18 '12 at 1:52
2  
You cannot configure application specific gestures in OS X itself. You could though try the free BetterTouchTool to add browser specific gestures for back/forward and disable the global system gesture. bettertouchtool.net –  MacLemon Nov 23 '12 at 16:32
    
I was going to add an answer, but @MacLemon's suggestion is probably the best way for now. Unless you want to write a custom daemon that checks for the program being open and writing the string in the plist file for the mouse... –  nerdwaller Nov 26 '12 at 0:21
    
@nerdwaller it would be great if you could tell me which string exactly disables 'swipe between pages' gesture :) I've already written daemon which tracks application switching, but I can't figure out what string I should write to defaults to disable pages swipe thing. –  dig Nov 26 '12 at 22:06
    
@dig It will be somewhere similar to this: defaults write com.apple.driver.AppleBluetoothMultitouch.mouse MouseHorizontalScroll -bool NO That obviously disables Horizontal Scrolling, but it will be around there. I would look for you, but I got rid of my apple a while ago. Just run sudo find / -name "com.apple.driver.AppleBluetoothMutitouch.mouse", should get you to the right file and you could look through for swipe gestures. The command to disable should look similar to the above. When I get home, I can try to find my wife's laptop if she will let me try it. –  nerdwaller Nov 26 '12 at 22:18
show 3 more comments

1 Answer

In short: disable it on the mouse:

defaults write com.apple.dt.Xcode AppleEnableMouseSwipeNavigateWithScrolls -bool NO

for trackpads use:

defaults write com.apple.dt.Xcode AppleEnableSwipeNavigateWithScrolls -bool NO

Source: [http://stackoverflow.com/questions/20024231/prevent-disable-xcode-scroll-navigation]

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.