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

I am using the Chromium web browser, and standard gnome (i.e. not unity). Chromium (like lots of things) has many tabs, and allows you to middle click on a tab to close the tab. But if I middle click on the blue part outside the tab, then it lowers the window underneath all the other windows. However I often find myself attempting to middle click on a tab to close it, and accidentally middle clicking outside the tab (which is the title bar in chromium), and hence accidentally lowering the window.

How do I disable this "middle click to lower window" behaviour?

share|improve this question
Are you using GNOME Shell, GNOME Classic, or GNOME Classic without effects? I'm asking because each of these uses a different window manager, and the setting you want is attached to the window manager. –  Dylan McCall Jun 10 '12 at 23:42

2 Answers 2

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.

gnome-tweak-tool's window settings panel

share|improve this answer

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.

share|improve this answer
Your solution works (also for Unity) but it seems Google Chrome is a special case and has a bug. It ignores the middle mouse system settings (all other programs are fine) for the bar where the tabs are located. I will try to make a bug report at chromium :-/ –  therealmarv Jun 11 '12 at 10:28
@therealmarv Good catch. I can confirm this behavior on my machine. A bug report seems to be in order. –  Kris Harper Jun 11 '12 at 10:57
here is my bug report on this: code.google.com/p/chromium/issues/detail?id=132061 –  therealmarv Jun 11 '12 at 14:23

Your Answer


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.