Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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 have Lubuntu 11.04, I start my terminal sessions with a shortcut.

The annoying thing is that the terminal windows are never maximized when I launch them, so every time I launch a terminal I must resort to using the mouse.

How do I set it so that the terminal session windows open maximized when I start them?

The Lubuntu terminal is LXTerminal.

share|improve this question
If you would consider changing to for example xterm or urxvt then you would put such options in the .Xresources file. (There is probably a configuration file for LXTerminal as well, otherwise it is configurable with the tools that come with Ubuntu.) – Emanuel Berg Aug 23 '12 at 20:35
up vote 6 down vote accepted

I don't have Lubuntu installed to test but maybe:

To configuration file ~/.config/openbox/lubuntu-rc.xml adding the lines below :

<!-- Option to maximize all normal window when launched-->
<application type="normal">

Removal of this was suggested as a way to STOP it from doing so here.

share|improve this answer
yeah i tried that, to no avail. – Hermann Ingjaldsson Aug 23 '12 at 21:38
I just tried <application name="lxterminal"> <maximized>yes</maximized> </application> (appropriately formatted) and it worked for me. I ran openbox --reconfigure after making the change. – user15760 Sep 20 '12 at 3:48
It appears like the answer works for 12.04, but vasa1's comment works for 11.04. – Hermann Ingjaldsson Feb 1 '13 at 10:49
but how do you indicate you only want the terminal opened maximized because of this, and nothing else? – Hermann Ingjaldsson May 15 '14 at 16:55

Try gdevilspie, match lxterminal window, and auto-maximizing,

Just an example on how it works (with gnome-terminal), first hit on 'Get' and select the LXterminal,

enter image description here

And in actions, select 'maximize', save the rule. So any time you start LXterminal, it would start maximized.

Last thing you need to make sure if daemon is running at start:

enter image description here

share|improve this answer
Well it definitely seems to be in the direction. I've installed devilspie and created a rule which has actions->maximize. Then in matching i click 'window_class' and have tried 'Terminal' and 'LXTerminal'. But it doesn't work. – Hermann Ingjaldsson Aug 24 '12 at 6:25
@HermannIngjaldsson don't type in anything, use the 'Get' button to get the correct value – warl0ck Aug 24 '12 at 6:36
@HermannIngjaldsson wait, did you start devispie daemon ? – warl0ck Aug 24 '12 at 6:36
Ok now i used the 'get' button. Still doesn't work and yeah the daemon is running. – Hermann Ingjaldsson Aug 24 '12 at 6:55

hbdgaf's answer above was very close (on ubuntu 12.04), but instead of "true", you need to use "yes" to tell it to maximize.

So, inside the applications block in /home/(your username)/.config/openbox/lxde-rc.xml, add the following block and it will work:

    <application name="lxterminal">

Similarly, if you want to minimize it, use iconic tab and set to "no". Not sure why the openbox folks used yes and no instead of true and false but they sure did!

share|improve this answer

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.