Google Chrome – Why Are Window Buttons Right Aligned but Chrome Buttons on the Left?

google-chromewindow-buttons

I am wondering why chrome close/maximize buttons are aligned to the left while all the buttons are aligned to the right. The truth is that the chrome buttons are right aligned too when in the chrome settings I tick "use system title bar and borders". But since I dont want the borders, I unticked this option and the buttons got aligned to the other (left-hand) side.

Does anyone know why this is? By the way, I am using cinnamon interface on Ubuntu 12.04.

Best Answer

Chrome draws its own buttons rather than letting the OS do it. There is a setting that allows it to use native window titlebars, but this isn't the most elegant solution to the problem because you lose the benefit (when windowed) of Chrome not having extra space for the titlebar.

Chrome guesses which side to put the buttons on based on various Gnome-related settings, but this doesn't always work properly with Ubuntu's Unity interface.

This article tells how to move them to the desired side. Note that if you sometimes use Gnome-shell rather than Unity, this has the potential to affect how all title bars appear in your Gnome-shell sessions.

To quote:

To move window buttons of Google Chrome to the right under Ubuntu 12.10 or older, open the terminal and issue this command:

gconftool-2 --set /apps/metacity/general/button_layout --type string ":minimize,maximize,close"