Page 1 of 1
maximizing
Posted: Fri Oct 03, 2014 1:36 pm
by ybohan
Hello,
I have LXterminal installed in a RaspberryPi, and i want to make it open always maximized.
Do you have any suggestion?
THank you for your help,
ybohan
Re: maximizing
Posted: Fri Oct 03, 2014 7:44 pm
by drooly
you can adjust this in ~/.config/openbox/rc.xml (*), <applications> section.
please check the
openbox wiki for documentation.
you might also find something useful here:
http://lxlinux.com/
(*) on LXDE, the actual file might be slightly different, like ~/.config/openbox/lxde-rc.xml.
on lubuntu, it might again be different. but definitely under ~/.config/...
Re: maximizing
Posted: Fri Oct 03, 2014 11:06 pm
by seppalta
To be more detailed regarding drooly's advice, put the following in the
applications section (probably located near the bottom) of rc.xml:
Code: Select all
<application name="lxterminal">
<decor>no</decor>
<shade>no</shade>
<skip_pager>yes</skip_pager>
<skip_taskbar>yes</skip_taskbar>
<fullscreen>no</fullscreen>
<maximized>yes</maximized>
</application>
Now (after openbox is restarted), in whatever menus the command to launch lxterminal is
lxterminal, it will launch covering the full window. If the command is something else, for example,
x-terminal-emulator, it will launch the default size unless you put a similar entry in rc.xml for that command. It is a nuissance that the full window terminal does not have the usual "min-max-close" bar, so to close the window you have to type "exit" and press "enter" or go to "file>quit".
The command to make the terminal open in size wxh is
where w (width) and h (height) are numbers. I do not know off hand what are the units for w (width) and h (height). You will have to experiment with a few numbers to find your size. The scale for h is much bigger than the one for w. Use this for "application name" in the above code and the command in the menus.
Re: maximizing
Posted: Tue Oct 07, 2014 7:37 am
by ybohan
Hello,
i tried this code on my RaspberryPi but it didn't worked. I don't think that openbox is on my services.
The folder exists though.
What should i do
Regards
Re: maximizing
Posted: Wed Oct 08, 2014 2:58 am
by drooly
so what exactly are you running on your raspberry pi?
lxde means openbox, afaik.
how exactly did you try and how exactly didn't it work?
Re: maximizing
Posted: Wed Oct 08, 2014 9:52 am
by ybohan
Sorry, i am new to raspberry. I found it although. I had to write it in a different position in the xml file, under all the other applications.
Now it works fine. Also i did an openbox --reconfigure
Thanks for the help guys
Re: maximizing
Posted: Thu Oct 09, 2014 6:40 pm
by drooly
sorry, what?
as far as i know the raspberry pi is a piece of hardware, not a distro?
Re: maximizing
Posted: Fri Oct 10, 2014 7:21 am
by ybohan
I meant raspbian- raspberry pi os
Re: maximizing
Posted: Mon Nov 17, 2014 1:36 am
by flaneur
seppalta wrote:... It is a nuissance that the full window terminal does not have the usual "min-max-close" bar, so to close the window you have to type "exit" and press "enter" or go to "file>quit".
Can't we also use alt+spacebar, c (for close)?
seppalta wrote:The command to make the terminal open in size wxh is
where w (width) and h (height) are numbers. I do not know off hand
what are the units for w (width) and h (height). You will have to experiment with a few numbers to find your size. The scale for h is much bigger than the one for w. Use this for "application name" in the above code and the command in the menus.
In the case of lxterminal geometry, w = characters and h = lines.