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?
2 Answers
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.
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.
What if I have three different terminal emulators? Can I set it up for all of them?