View Single Post
Old 2022-08-01, 16:18   #6
chris2be8
 
chris2be8's Avatar
 
Sep 2009

45478 Posts
Default

Do you mean *before* or *after* you log on to the computer?
What ID should the script run as?
What terminal emulator are you using?

To run as yourself after logging on call it from .bashrc (or .profile). I've not tested this but qterminal -e myscript.sh & should start myscript.sh running in a terminal (this assumes you have qterminal installed). Check the man page for whatever terminal emulator you have for other options. You might need nohup to keep it running after .bashrc has ended.

I've no idea how to get a script running in a window before you log on though. I don't think the GUI would be set up to show multiple windows then.
chris2be8 is offline   Reply With Quote