This question focuses on Lubuntu, which comes with openbox included in its latest version (14.04.5). As pointed out in the comments, by configuring the ~/.config/openbox/lubuntu-rc.xml file, you can affect the applications included in the ~/.config/autostart, that are run on startup. The following lines added to the <applications> section will place the lxterminal window on the left half, and the gedit window on the right half.
<!-- Allocate 'lxterminal' in the left half-->
<application name="x-terminal-emulator">
<position>
<x>0</x>
<y>0</y>
</position>
<size>
<width>50%</width>
</size>
<maximized>Vertical</maximized>
</application>
<!-- Allocate 'gedit' in the right half-->
<application name="gedit">
<position>
<x>-0</x>
<y>0</y>
</position>
<size>
<width>50%</width>
</size>
<maximized>Vertical</maximized>
</application>
To learn more follow this link.
Update: Regarding how to make it fit to exactly 50% of the screen, it's been posted in the comments (edited):
lxterminal, like some other terminals, uses characters (in width) and rows for height!
In the rc.xml (keybind section), you can Super+T for
sh -c "wmctrl -xa LXTerminal || lxterminal --geometry=84x44 2>/dev/null"
Then, in the applications section, you write:
<application class="Lxterminal" name="lxterminal">
<position force="yes">
<x>-0</x> <y>0</y>
</position>
<decor>no</decor>
</application>.
But you have to get the values for lxterminal by trial and error for the screen with the particular chosen font type and font size.
<x>0</x><y>0</y><maximized>Vertical</maximized>would place a window on the left half of the screen, is this right? On the other hand, how to identify the application withobxprop? – nightcod3r Oct 11 '16 at 18:28xdotoolor similar tools, something I would like to avoid, as it might interfere with the user. – nightcod3r Oct 11 '16 at 18:30keyallows to send keystrokes to windows. In any case, you start the windows, and then identify them and reallocate them. As pointed out in the preferred answer (of that question), this might imply some lag, depending on the load, meaning that the user has time to open/close things. I know of its versatile, but was thinking on something straightforward. Theopenboxsuggestion in this thread might implement what I have in mind... – nightcod3r Oct 11 '16 at 18:44