I’ve been using IndustrialTango for years now and am stuck in my ways. Now that I’ve switched from Metacity to Compiz an ugly issue with Industrial Tango’s window border theme reared its head, for every window the window icon on the top left would not display. Instead of switching to a different window border theme (IndustrialTango seems to be the only one with this issue) I decided to hunt down what was causing the issue.
After a lot of work figuring out how to test a theme and comparing the theme with Human I finally figured it out:
--- /home/bruce/Desktop/metacity-theme-1.xml.backup 2009-06-09 13:59:07.000000000 +0200 +++ /usr/share/themes/IndustrialTango/metacity-1/metacity-theme-1.xml 2009-06-09 15:16:41.000000000 +0200 @@ -478,15 +478,15 @@ </draw_ops> <draw_ops name="menu_button_icon"> - <icon x="0" - y="0" - width="width" height="height"/> + <icon x="3" + y="2" + width="mini_icon_width" height="mini_icon_height"/> </draw_ops> <draw_ops name="menu_button_icon_unfocused"> - <icon x="0" - y="0" - width="width" height="height" alpha="0.5"/> + <icon x="3" + y="2" + width="mini_icon_width" height="mini_icon_height" alpha="0.5"/> </draw_ops> <draw_ops name="menu_button_normal">
If you ever have to work on a window border theme, here’s some information that might help you. The tutorial Designing Metacity Themes had a very helpful suggestion to use metacity-theme-viewer to test a theme and the window border dialog in System -> Preferences -> Appearance makes it quite easy to switch between themes.