[gnome] Mouse Shortcut to close Window

view full story

http://ubuntuforums.org – Hi, here is my question. How can I bind (ctrl+right mouse click) to close window action? I've read about using xdotool and xbindkeys at : http://www.bohemianalps.com/blog/201...-mouse-button/ http://ubuntuforums.org/showthread.p...7#post11378606 but I don't think it bevaves well with non active windows. I've just moved from unity to gnome shell. I've allways set this shortcut with ccsm and for me it is as important as the alt+left click to move or alt+middle button to resize windows. By the way, i'm using Ubuntu 12.04 x64 (Hardware)