Save the file and exit the text editor. Open a terminal and run openbox --reconfigure to refresh lubuntu-rc.xml. After this, any time you access lxterminal from the keyboard using Ctrl+Alt+T, lxterminal will open with a size of 140 columns by 40 rows.
From the menu:
This requires editing of a .desktop file. By default, .desktop files are located in /usr/share/applications and could be edited there (using sudo).
However, it may be preferable to make a copy of the .desktop file in ~/.local/share/applications because editing this file only affects the specific user (and doesn't need sudo).
So, copy /usr/share/applications/lxterminal.desktop to ~/.local/share/applications. Then open the copied file with a text editor. Search for a line that starts with Exec= and change Exec=lxterminal to Exec=lxterminal --geometry=140x40. Save the file. Done.
This can be done in two different ways, depending on whether access is from the keyboard or via the menu.
From the keyboard:
One has to edit
~/.config/openbox/lubuntu-rc.xml
.Use a text editor to open
~/.config/openbox/lubuntu-rc.xml
. This file has several sections; in the section devoted to keybindings, add this:Save the file and exit the text editor. Open a terminal and run
openbox --reconfigure
to refresh lubuntu-rc.xml. After this, any time you access lxterminal from the keyboard using Ctrl+Alt+T, lxterminal will open with a size of 140 columns by 40 rows.From the menu:
This requires editing of a
.desktop
file. By default, .desktop files are located in/usr/share/applications
and could be edited there (usingsudo
).However, it may be preferable to make a copy of the .desktop file in
~/.local/share/applications
because editing this file only affects the specific user (and doesn't needsudo
).So, copy
/usr/share/applications/lxterminal.desktop
to~/.local/share/applications
. Then open the copied file with a text editor. Search for a line that starts withExec=
and changeExec=lxterminal
toExec=lxterminal --geometry=140x40
. Save the file. Done.I succeeded in increasing the window size for lxterminal by editing
changing the
Exec
line to