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
maximizing
Re: maximizing
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/...
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
To be more detailed regarding drooly's advice, put the following in the applications section (probably located near the bottom) of rc.xml:
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.
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>
The command to make the terminal open in size wxh is
Code: Select all
lxterminal --geometry=wxh
Re: maximizing
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
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
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?
lxde means openbox, afaik.
how exactly did you try and how exactly didn't it work?
Re: maximizing
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
Now it works fine. Also i did an openbox --reconfigure
Thanks for the help guys
Re: maximizing
sorry, what?
as far as i know the raspberry pi is a piece of hardware, not a distro?
as far as i know the raspberry pi is a piece of hardware, not a distro?
Re: maximizing
I meant raspbian- raspberry pi os
Re: maximizing
Can't we also use alt+spacebar, c (for close)?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".
In the case of lxterminal geometry, w = characters and h = lines.seppalta wrote:The command to make the terminal open in size wxh iswhere 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.Code: Select all
lxterminal --geometry=wxh