Article 5H8BW Metacity theming - making normal windows look like GNOME specific windows (corner rounding, button sizes)

Metacity theming - making normal windows look like GNOME specific windows (corner rounding, button sizes)

by
andigena
from LinuxQuestions.org on (#5H8BW)
I'm making a theme for my Cinnamon desktop and trying to make GTK2/Qt/etc windows visually conform to the GNOME-type windows (the GTK3 ones with integrated titlebar buttons) as best as possible in order to avoid the annoying visual inconsistencies you typically see. Right now the window buttons / title borders are not consistent looking because the normal windows don't have rounded enough of corners and the window button size is too large:
https://i.imgur.com/gH6DxcO.png Ordinary window
https://i.imgur.com/LFbmtXV.png Gedit

I can't find anything about changing the amount of window rounding in Metacity themes besides a forum post from 12 years ago (which said it was impossible), which obviously might not be still accurate, only that you can turn it on or off. As for the button size, the GNOME theming guide says the `button_width` and `button_height` properties may be used, but if I use these properties, the window decorations simply do not load. Using the `aspect_ratio` property (as "<aspect_ratio name="button" value="2" />"), which multiple older sources say ought to work, yields the following result:
https://i.imgur.com/Yarjj2v.png
Which is less than optimal, to say the least. The documentation on the themes is very scarce; does anyone know how to do those things or whether they can be done?latest?d=yIl2AUoC8zA latest?i=xsrfkhOz4do:GUn8nzNpFEg:F7zBnMy latest?i=xsrfkhOz4do:GUn8nzNpFEg:V_sGLiP latest?d=qj6IDK7rITs latest?i=xsrfkhOz4do:GUn8nzNpFEg:gIN9vFwxsrfkhOz4do
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments