Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I do extensive editing of text files using gedit. If I use the scroll wheel to move back and forth in the file, sometimes a blank line is inserted in the file. This is not obvious when it occurs. I discover the blank line(s) later, so I don't know where I was in the file relative to where the blank line gets inserted. The only way I have found not to have blank lines inserted is not to use the scroll wheel. Has anybody else noticed this behavior? Any ideas how to get it corrected?

share|improve this question
    
Could you please provide more information about your setup. What version of Ubuntu are you using and what version of Gedit? Does this happen on other systems you try or only for a particular mouse? –  N.N. Jan 26 '12 at 18:01
    
Sorry, I should have included that. I'm running 10.04, with whatever version of gedit comes with it. I use a Adesso WKB 3000 UB wireless keyboard with a trackball and scrollwheel, no mouse. I don't see this behavior with any other program. However, I seldom use any other program with files as large as those I use with gedit. The files where I see this happening are anywhere from 150KB-450KB, maybe 3000-13000 lines. I only do these operations on this one computer, not on any of my other ones, so I don't have any way to compare that. –  R. E. Dunbar Jan 27 '12 at 6:01
    
That is more details, good. Could you please include them in your question by editing it so that others easier see it. –  N.N. Jan 27 '12 at 8:23
add comment

1 Answer 1

So I think what's happening is it's registering as if you're clicking the scroll wheel (which is the same as 'middle click'. This may fix it: https://wiki.ubuntu.com/X/Config/Input#Example:_Disabling_middle-mouse_button_paste_on_a_scrollwheel_mouse

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.