You are not logged in.

#1 2012-12-05 10:33:26

Mr Green
^! Developer
Registered: 2010-11-07
Posts: 5,254

Open lxterminal fullscreen [Solved]

I am trying to get lxterminal to open maximized and undecorated. I do know about applications section in rc.xml but it make all terminals open the same way.

Here is the code I have so far:

<keybind key="W-t">
    <action name="Execute">
    <command>lxterminal</command>
    </action>
    <action name="Undecorate"/>
    <action name="Maximize"/>
</keybind>

It is possible with Urxvt but not yet found a way with lxterminal?

Offline

#2 2012-12-05 10:41:28

dragonauta
Moderator
Registered: 2012-05-15
Posts: 290
Website

Re: Open lxterminal fullscreen [Solved]

You can play with "--geometry=COLUMNSxROWS" parameter

for 1440x900 you could set 176x55
Its not "maximized" but almost.

Last edited by dragonauta (2012-12-05 10:42:14)


me
"Politicians and diapers need to be changed often ... and for the same reasons."

Offline

#3 2012-12-05 10:52:06

Mr Green
^! Developer
Registered: 2010-11-07
Posts: 5,254

Re: Open lxterminal fullscreen [Solved]

That might do the trick, should have known to look at lxterminal --help first

Thanks smile

Offline

#4 2012-12-06 01:31:44

Mr Green
^! Developer
Registered: 2010-11-07
Posts: 5,254

Re: Open lxterminal fullscreen [Solved]

Was thinking about getting the applications section of rc.xml. The problem was to open a terminal fullscreen and undecorated but of course simply using 'lxterminal' was going to mean every terminal opened worked that way. So reading documentation on Openbox site I tried this.

<application name="lxterminal" class="Lxterminal" title="max">
      <decor>no</decor>
      <maximized>true</maximized>
  </application>

For this to work your keybinding in this case 'W-t' needs to have:

<keybind key="W-t">
    <action name="Execute">
    <command>lxterminal --title="max"</command>
    </action>
</keybind>

Openbox now uses that keybind to open lxterminal the way I want.

If you want to find out more info then on an application then:

obxprop | grep -i class

Your cursor will change to a cross and simply click on the window you require information on.

Offline

Board footer

Powered by FluxBB