PDA

View Full Version : Metacity themes questions


Fluxid
April 22nd, 2007, 07:03 PM
Hi!
I have two questions about making themes for metacity:

1. Can i change order of buttons on tittle bar, or, for example, move close button to the right?
2. Can i completely remove menu button (i don't mean to "draw nothing", i just don't want it at all)?
3. Can i make each button other size (for example like close button in windows vista)?

Thanks in advance for answers!

Fluxid

engla
April 22nd, 2007, 07:09 PM
1 is possible (what I know). Use gconf-editor (launch from terminal, it is hidden by default :( )
Go to 'apps > metacity > general > button_layout' in gconf-editor to change button order. the : separates the left and right side. My preference there is 'maximize,minimize,menu:close', but that's just an example. I guess if you omit one button, it is not drawn.

I don't know about 3 but perhaps you can find a special theme.

Fluxid
April 22nd, 2007, 07:35 PM
Thanks for that! I removed the menu :)
Anyway, is it a way to make it theme-dependent?

Now, what about other things... -_-

klausdiemaus
February 25th, 2010, 12:38 AM
1 is possible (what I know). Use gconf-editor (launch from terminal, it is hidden by default :( )
Go to 'apps > metacity > general > button_layout' in gconf-editor to change button order. the : separates the left and right side. My preference there is 'maximize,minimize,menu:close', but that's just an example. I guess if you omit one button, it is not drawn.

I don't know about 3 but perhaps you can find a special theme.

Is it possible for the theme to set this without having to let users know how to change this?

londonali1010
February 26th, 2010, 06:22 PM
Hi Fluxid,

I'm not a Metacity expert, but have you read through the Gnome Metacity tutorial (http://developer.gnome.org/doc/tutorials/metacity/metacity-themes.html)? It might get you what you want, although you'll probably have to modify the xml file...

days_of_ruin
February 28th, 2010, 05:01 PM
Is it possible for the theme to set this without having to let users know how to change this?

No, it is a global metacity setting.