1

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.

DarylF
  • 113
  • 1
  • 1
  • 8

2 Answers2

2

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

Lokesh sp
  • 21
  • 2
  • As of now this no longer works with the latest version of Raspbian. There is no lxsession folder. I guess if you updated and it used to be there you could then move it back from your backup folder but if you're on a new install you'll have nothing to work with. – Justin Emlay Oct 12 '19 at 07:46
1

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.

Dcdanny
  • 211
  • 1
  • 2