I'm running raspabian on my pi and I would like for a lxterminal window to open every time I boot up. I'm not interested in running a script from boot, I only need the terminal to open.
Any help would be appreciated.
I'm running raspabian on my pi and I would like for a lxterminal window to open every time I boot up. I'm not interested in running a script from boot, I only need the terminal to open.
Any help would be appreciated.
Navigate to home/pi/.config/lxsession/LXDE-pi/
Using this
cd home/pi/.config/lxsession/LXDE-pi/
Open autostart
nano autostart
Add a @lxterminal
in the last line. Press CTRL+X
then Y
and press ENTER
.
Restart raspberry pi
OR
Type reboot
and press ENTER
After booting terminal pops up.
You can use this to make raspberry pi to execute programs at booting. For executing that a program, like a python program that requests an API for information by reading an input.
Add that program in .bashrc
file
To open the terminal on boot open file manager, navigate to /home/pi/Desktop and find the lxterminal shortcut. Right click and copy it.
Then go to /home/pi/.config/autostart (create these folders if they don't exist) and paste the file in there.
Reboot and lxterminal should open.
Though if you don't want the xwindows interface at all you can use the console by changing the start desktop on boot in raspi-config.
lxterminal
to accomplish that task. – HoldOffHunger Nov 22 '20 at 17:38