In IceWM I can tell XTerm windows to have no title bar and be truly maximized in ~/.icewm/winoptions:

xterm.XTerm.dTitleBar: 0
xterm.XTerm.startMaximized: 1

With "truly maximized" I mean, that the

XTerm*maximize: true

-Option in .Xresources doesn't really maximize the window in terms of window managers, but expands a minimized window to desktop width.

The question is: Can I have the IceWM behaviour in Metacity as well? Any XTerm (and only XTerm) being on startup

  • maximized, and
  • without title bar

Compiz can be tricked to do that with the ccsm. But as long as this bug isn't fixed, I'm stuck to Metacity.

I just read about Devil's Pie. Can it be done without it? I don't want necessarily to run the devilspie server only for that.


Nope, pretty sure you have to use Devilspie.

Something like this should do it:

    (is (window_class) "Terminal")
    (begin (undecorate) (maximize)))

You could even go one step further and maximize all windows using this rule:

    (is (window_property "_NET_WM_WINDOW_TYPE") "_NET_WM_WINDOW_TYPE_NORMAL")
    (begin (undecorate) (maximize)))

If you don't want to use Devilspie, you could replace Metacity with Openbox, which supports the feature you want.

Just put

<application class="Gnome-terminal">
<application class="Terminal">

in the middle of your ~/.config/openbox/rc.xml.

Or you could try wmctrl instead of Devilspie.

| improve this answer | |
  • I also note that the bug you mention is now fixed in Compiz. – Mikel Dec 16 '10 at 11:02
  • Thanks for the answer. I thought so, too. Indeed, on one machine I meanwhile switched to Compiz, again. On the other I'm bound to metacity, have a restrictive quota and don't have admin rights. I'll have to live with the border :-( – Boldewyn Dec 16 '10 at 12:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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