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 would like to know if it is possible to close tabs in several applications like gedit or empathy by doing click on the middle mouse button (wheel or scroll button) like the same behaviour of Chrome and Firefox.

I would like to do it without having to use Compiz since i am not running Compiz (Using Ubuntu Classic (No effects)

share|improve this question

2 Answers 2

up vote 4 down vote accepted

Middle-click is used for Paste in Ubuntu. All you have to do to Copy is select any text and then Middle-click to Paste.

There must be a way to change that behavior. Perhaps you could even do it without going into the source code and re-compiling.

Do you really want give up the middle click paste?! Middle-click paste is one of the greatest conveniences of X desktops. It saves me a lot of time and I believe it kept me from getting the Carpal tunnel syndrome.

While tiring to figure how to get the closing-tabs-by-middle-clinking behavior, closing tabs one can close tabs by pressing Ctrl-w.

Edit: Sorry, I didn't realize that the question author was talking about middle-clicking ON the tabs to close them. Both functionalities can co-exist.

share|improve this answer
    
What's the matter with having both of these facilities? I can't think of a common, useful situation in which one would need to middle click on a tab to paste something. Middle click does different things in different situations already anyway.<br> Also, I didn't actually know about middle click to paste, thanks! –  Echogene May 17 '11 at 9:00
    
Thanks for clarifying Echogene. Good question (+1). I'm always looking for ways to save time and delay my Carpal tunnel. –  Aleksandr Levchuk May 17 '11 at 18:28
    
Uhm excuse me, but this answer doesn't answer anything ... or is there something wrong with me? –  dAnjou Jun 17 '11 at 11:59

To actually answer the question here: this can only be achieved per application.

For gedit there is tabs-enhanced.

share|improve this answer

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.