Page 1 of 1
lxTerminal Options
Posted: Tue Mar 07, 2017 11:05 am
by peter
Hello,
I was working for awhile with this command:
Code: Select all
lxterminal --geometry=80x25 --title=Updating -e 'bash -c "sudo something; echo Enter to Close Terminal; read line"'
but now the lxterminal just goes blank with nothing running.
What I'm I doing wrong? Thanks.
Re: lxTerminal Options
Posted: Wed Mar 08, 2017 12:16 am
by Rex Bouwense
Welcome to the LXDE forum. What are trying to do?
Re: lxTerminal Options
Posted: Wed Mar 08, 2017 5:25 pm
by peter
Hello,
I'm just tying a small script where a lxterminal comes up and runs that above command and in the end the terminal stays up until the 'enter' option it's used.
vte example working:
Code: Select all
vte --geometry=80x25 -c 'sudo bash -c "inxi -c 5 -m; echo --Enter to Close Terminal--; read line"' &
now the same with lxterminal.
Thanks.
Re: lxTerminal Options
Posted: Thu Mar 09, 2017 8:48 pm
by drooly
try like this:
Code: Select all
lxterminal --geometry=80x25 --title=Updating -e bash -c "sudo something; echo Enter to Close Terminal; read line"
removed single quotes.
also make sure that the other options are actual lxterminal options:
Re: lxTerminal Options
Posted: Thu Mar 09, 2017 10:41 pm
by peter
Hello,
Thanks @drooly.
It works now!!
Re: lxTerminal Options
Posted: Tue May 23, 2017 6:20 pm
by Lew_Rockwell_fan
I may misunderstand the intent, but think you could shorten this by using
instead of the separate echo and read, assuming this is in bash or something similar. BTW, is the "--title=Updating" option working for you? Mine quit after a recent update.