I'm using MATLAB R2014a on my laptop running Ubuntu 14.04 LTS, and am experiencing a rather annoying issue. Whenever I use the two-finger scrolling gesture on my touchpad in either the editor or the main window, the following output appears in the command window:
While the scrolling works, this line is output over and over again as I continue to perform the gesture.
Any ideas for how to stop this from happening?
NOTE: It also occurs in Processing and Arduino IDE
As a user I wouldn't want to type the above command everytime I open MATLAB. So I searched a bit on matlab 'startup' command line section, and the 'search path' section. I solved my problem after doing the following simple steps:
Create a file 'startup.m' having only one line, which will disable Mevent.CASE! (Below is the text to copy)
!synclient HorizEdgeScroll=0 HorizTwoFingerScroll=0
Place the created startup.m file in your userpath folder as defined in MATLAB.
It worked for me on Ubuntu 15.04 running MATLAB R2015b, I hope it works for you all as well.
Note: This is an improvement to @someDude and @Slothworks answer.