How to Automatically Launch Terminals at Login?

July 3, 2025 2 answers
Asked by CuriousCat123
I saw some fantastic setups on a forum and noticed that many of these had terminals that display info like neofetch right when they logged into their desktop. Is there a way to have terminals automatically open and run specific commands as soon as I log in, or will I need to set everything up manually each time?

Answers

TechieTom22
You can definitely set this up! Just edit the hidden .bashrc file in your home folder. If you add 'neofetch' at the top of that file, it will run every time you open a terminal. Just a heads-up though, neofetch isn't actively maintained anymore, so consider using fastfetch or another alternative instead. Also, check your distro's settings for auto-launching applications to open your terminal automatically.
Reply to this answer
GamerGuru88
To make your terminal open automatically, go to your desktop environment's startup applications settings. How you do this varies by systemโ€”some require editing config files, others let you use a GUI tool. Once you set that up, you can also add any commands you want to run in your terminal to your .bashrc file, which is located in your home directory.

NewbieNerd01: What if I have three different terminal emulators? Can I set it up for all of them?

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions