Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to change the height of title-bar, but until now (as I know) there's only one way to do that : change the font-size of WINDOWS TITLE FONT (in Appearance preferences). So far so good except the BIG SIZE of the text. How could I disable(or hide) the text?

share|improve this question
Emerald themes can do that, but i guess you wouldn't want to use it, some themes for metacity also don't have the Text in the tittlebar. – Uri Herrera Jul 25 '11 at 11:45
Yes, I dont want to use Emerald. Just wondering that is there any way to modify a metacity theme (which file, which property or something like that)? – quangtruong1985 Jul 25 '11 at 12:09
I'm not in Ubuntu now but i think in gconf-editor. apps->metacity->general. – Uri Herrera Jul 25 '11 at 12:50
Or you can edit the theme, if you installed it through Gnome Appearance window the themes are here: home/[yourusername]/.themes/nameIchose/metacity-1/metacity-theme-1.xml – Uri Herrera Jul 25 '11 at 12:51
And if you installed the themes through sudo apt-get, it's here:/usr/share/theme – Uri Herrera Jul 25 '11 at 12:53

You'll have to edit the theme, if you installed them through the Gnome Appearance window the themes are here: home/[yourusername]/.themes/nameIchose/metacity-1/metacity-theme-1.xml. And if you installed the themes through sudo apt-get, they're here: /usr/share/theme, you'll need to be root to make edits to the files there (use gksu nautilus).

Look for something like this:

<frame_style name=...

    <piece position="titlebar" ...
<piece position="title" draw_ops="title-..."/>`

It depends on the theme. Experiment and you'll get results.

share|improve this answer
It didnt work for me. I added has_title="false" and selected another theme (let's say Ambiance), then I selected my theme again, the windows border is still the last theme i chose (Ambiance) instead of the border of my theme. Seem that has_title="false" makes the theme have no border. – quangtruong1985 Aug 3 '11 at 6:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.