Disable "middle click to lower window" behaviour on gnome
For 14.04 (Trusty Tahr) it could be disabled with the command:
gsettings set org.gnome.desktop.wm.preferences action-middle-click-titlebar 'none'
Restore original state:
gsettings set org.gnome.desktop.wm.preferences action-middle-click-titlebar 'lower'
Also, the following variants are possible:
gsettings set org.gnome.desktop.wm.preferences action-middle-click-titlebar 'toggle-shade'
gsettings set org.gnome.desktop.wm.preferences action-middle-click-titlebar 'maximize'
gsettings set org.gnome.desktop.wm.preferences action-middle-click-titlebar 'toggle-maximize-horizontally'
gsettings set org.gnome.desktop.wm.preferences action-middle-click-titlebar 'toggle-maximize-vertically'
gsettings set org.gnome.desktop.wm.preferences action-middle-click-titlebar 'minimize'
gsettings set org.gnome.desktop.wm.preferences action-middle-click-titlebar 'shade'
gsettings set org.gnome.desktop.wm.preferences action-middle-click-titlebar 'menu'
But the bug is still there, option from the Google Chrome Settings "Use system title bar and borders" could lower the impact...
You can install Ubuntu Tweak and there should be a setting for it.
You can also get at it through gconf-editor
. Go to apps > metacity > general > action_middle_click_titlebar and set it to "none". This value, "none", is case sensitive.
I'll assume that you are using GNOME Shell. You can change this setting using a tool called gnome-tweak-tool, which appears as "Advanced Settings" in the activities overview.
First, install gnome-tweak-tool using Software Center.
Once it is installed, go to the Activities overview, type "Advanced Settings," and open the application that appears.
You can configure lots of things in this tool, but the one you're interested in is in the Windows section on the left side. Click that, and change "Action on title bar middle-click" to whatever you want.
This works for Chromium:
gconftool-2 --type string --set /apps/metacity/general/action_middle_click_titlebar "none"