I find maximus doesn't do everything I want it to (such as run maximized java applications properly), I decided this would be good to look into and I ran with the method suggested by funyotros.
Here's how to reproduce what I've done (with the New Wave theme):
1. Copy a theme of your choice from /usr/share/themes to your ~/.themes directory
Code:
cp -r "/usr/share/themes/New Wave" "~/.themes/New Wave Without Maximized Titlebars"
2. Enter your theme's directory, and modify index.theme - Go through the file and change the old title to your new title ("New Wave" to "New Wave Without Maximized Titlebars" in my case). I deleted the localized names as I cannot correct them, and I'm not publishing this theme.
Code:
cd "~/.themes/New Wave Without Maximized Titlebars"
gedit index.theme
3. Modify the metacity-theme-1.xml in two places...
Code:
cd metacity-1
gedit metacity-theme-1.xml
First, search out the name element near the top
Code:
<name>New Wave</name>
Change the contents to the new name of your theme
Code:
<name>New Wave Without Maximized Titlebars</name>
Next search for a frame_geometry block which looks like the following
Code:
<frame_geometry name="normal_maximized" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
<!-- strip frame spacing off the normal geometry when maximised -->
<distance name="left_width" value="0"/>
<distance name="right_width" value="0"/>
<distance name="bottom_height" value="0"/>
<distance name="left_titlebar_edge" value="3"/>
<distance name="right_titlebar_edge" value="3"/>
<distance name="title_vertical_pad" value="3"/>
<border name="title_border" left="1" right="1" top="3" bottom="4"/>
</frame_geometry>
Modify it so that it appears as follows:
Code:
<frame_geometry name="normal_maximized" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false" has_title="false">
<!-- strip frame spacing off the normal geometry when maximised -->
<distance name="left_width" value="0"/>
<distance name="right_width" value="0"/>
<distance name="bottom_height" value="0"/>
<distance name="left_titlebar_edge" value="0"/>
<distance name="right_titlebar_edge" value="0"/>
<distance name="title_vertical_pad" value="0"/>
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
</frame_geometry>
Save and close metacity-theme-1.xml
4. Open the appearances options and select your new theme.
One important difference is I do not remove the button's using gconf-editor as I want buttons for non-maximized windows.
I have set this up to run with the netbook-launcher and I have configured the panel to look like the one from maximus (plus a desktop-switcher), and I think it's a lot better.
Hope this helps!
Bookmarks