Make middle-click close window(s) on unity launcher

Posted by humanityANDpeace on Ask Ubuntu See other posts from Ask Ubuntu or by humanityANDpeace
Published on 2012-10-14T14:55:12Z Indexed on 2012/10/14 15:50 UTC
Read the original article Hit count: 191

Filed under:
|
|

I am looking for a way to achieve this on my 12.04 ubuntu system:

Clicking with the middle mouse button on one of the unity launcher icons will close the related windows/programs.

At present a middle-button-click causes (when possible) another instance of the same programme to start. There is nothing wrong with that, only I use this less often than I need a quick way to close some programs. The current way is a lengthy 2-click way.

  1. Right-click on the icon
  2. Select "quit"

in the unity-setting in the ccsm (compiz config settings manager) some few things can be changed in the ubuntu unity plugin already. there are other reporst about settings being done in dconf and gconf. What chances are there to tweak the behavior as described above?

In Firefox I am used to close tabs by "middle-clicking" on the tabs. In GLX/Cairo-dock I also associate "middle-click" with the close the program.

When using ubuntu unity launcher I keep on mistakingly opening new windows, when indeed I wanna close the respective window(s). :(

© Ask Ubuntu or respective owner

Related posts about unity

Related posts about configuration