Jump to content

Theming Gnome


ilia_kr
 Share

Recommended Posts

I'm no expert on this, but it seems that Metacity refers to Window Borders. GTK refers to the Controls, such as buttons etc.

 

If you go into Preferences/Themes, you can then click the Theme Details button, and you'll get Controls/Window Border/Icons. Controls are where the GTK themes appear, Window Border is where the MetaCity items appear. Of course, icon sets appear in icons.

Link to comment
Share on other sites

  • 2 weeks later...

Only by changing the colour code in the gtkrc file of a theme. Every theme has a gtkrc file, where all colours are defined. That way, it is on the one hand hard for untrained people to alter the colour settings but on the other hand, it is imho easier than in KDE to create completely new themes.

Link to comment
Share on other sites

metacity uses the metacity-theme-1.xml file to define colors. Looks like you are using clearlooks in your screenshot

 

<draw_ops name="title_background">
<gradient type="vertical" x="0" y="1" width="width" height="top_height / 2">
	<color value="shade/gtk:bg[SELECTED]/1.2"/> <!-- 1.25 0.97 - 0.95 1.00 -->
	<color value="shade/gtk:bg[SELECTED]/1.0"/>
</gradient>
<gradient type="vertical" x="0" y="top_height / 2" width="width" height="top_height / 2">
	<color value="shade/gtk:bg[SELECTED]/1.0"/>
	<color value="shade/gtk:bg[SELECTED]/1.10"/>
</gradient>

<line color="shade/gtk:bg[SELECTED]/0.7" x1="0" y1="0" x2="width" y2="0"/>

<!--<line color="shade/gtk:bg[SELECTED]/1.45" x1="0" y1="1" x2="width" y2="1"/>-->
<tint color="shade/gtk:bg[SELECTED]/2" alpha="0.35" x="0" y="1" width="width" height="1"/>
<tint color="shade/gtk:bg[SELECTED]/2" alpha="0.1" x="7" y="1" width="width -14" height="1"/>

<line color="shade/gtk:bg[SELECTED]/1.0" x1="0" y1="top_height-2" x2="width" y2="top_height-2"/>
<line color="shade/gtk:bg[SELECTED]/0.8" x1="0" y1="top_height-1" x2="width-1" y2="top_height-1"/>
</draw_ops>

 

so you can see it uses the gtkrc's bg[sELECTED]

if you changes all those toa specific color

#ff0000

that is what metacity would use. See the Theming Gmome Pinned thread in this section for howto details

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...