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.

  • 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

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.

  • yeah i tried that, to no avail. – Hermann Ingjaldsson Aug 23 '12 at 21:38
  • 4
    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
  • 1
    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

  • 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 – daisy Aug 24 '12 at 6:36
  • @HermannIngjaldsson wait, did you start devispie daemon ? – daisy 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!


If your objective is to maximize the size of the terminal on your screen, without any screen area wasted on the menu bar (showing File, Edit, View, ...), then simply switch to a virtual console by pressing Alt+F1 or Ctrl+Alt+F1

Note: you can substitute any of F1 to F6 in the above key combination. F7 will take you back to the GUI

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.