Wednesday, May 8, 2024
23
rated 0 times [  23] [ 0]  / answers: 1 / hits: 18538  / 2 Years ago, sun, june 26, 2022, 4:32:42

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.


More From » google-chrome

 Answers
5

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"


[#33168] Sunday, June 26, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
suitman

Total Points: 487
Total Questions: 105
Total Answers: 98

Location: India
Member since Wed, Aug 4, 2021
3 Years ago
;