Ubuntu – How to force Chromium’s window buttons to the right side when in GNOME

chromiumgnomewindow-buttons

I prefer Gnome Shell as a DE. The migration from Unity to Gnome Shell in 11.10 is flawless but there is an annoying bug with Chromium. The buttons on Chromium stay on the left side where Gnome Shell uses the right side. Any ideas on how to force Chromium have the buttons on the right side?

Thanks.

Best Answer

You can accomplish that simply by editing gconf (which chromium uses) like this:

gconftool /apps/metacity/general/button_layout -t string -s "menu:minimize,maximize,close" You can leave the "menu" if you don't need it, however the colon is needed as a separator between the left and right sides of the titlebar. The changes should be visible right away, if they're not just log out and back in.

PS: I know that Ubuntu Tweak does exactly the same, but I couldn't for the life of me figure out how to post this as a comment on Geppettvs' answer, which I originally intended to do.