Adding scripts to run at Startup

I’m trying to get Bashtop to open automatically when I start the computer.

I have followed the Ubantu instructions below:

I can’t get it to work on LinuxMint20.
Any suggestions would be appreciated. Thank you.

Looks like this bashtop is a linux terminal application, so i’m looking for a solution for you here

You need to make the terminal opens on start and type the command bashtop manually
I tried a lot of things but without sucess

Thanks for trying. I also tried placing in the Stacer Startup stack to no avail.
I appreciate you giving it a go.

I don’t know which terminal application you are using.
Most terminal applications are somehow derived from the good old xterm which supports the -e command flag. xterm -e bashtop instructs the system to open a xterm window and to run the bashtop command in it. Try it out!

If you’re using, say konsole, the command you have to run at startup (or login) would be
konsole -e bashtop

You can do that via one of the methods described in the document, you linked. My choice would be crontab @login

1 Like

Wow Really works

Thank you @Mina

1 Like

Thanks Mina!!! :grinning:

Unfortunately, it’s still not working on LM20 while using Terminator or GNOMEterminal.
Luckily, this was just curiosity exercise and not something critical.
I appreciate you all giving it go. Thank you.

sudo apt install tilix
after go to startup application and make a new one with the command tilix -e bashtop

@edgrin2 I’m sorry to hear that it didn’t work. xterm and konsole both did it on KDE. I don’t have Gnome, so I didn’t try gnome-terminal but according to the man page it should work if you add it to the Startup Applications:

gnome-terminal(1)                User Commands               gnome-terminal(1)

       gnome-terminal - terminal emulator for GNOME
       gnome-terminal is the GNOME terminal emulation  program.   It  provides
       access to the UNIX shell on the GNOME environment.  [...]

       The following options are supported:
       -e, --command command
           Executes the command command instead of the shell.  This saves some
           memory if you just plan to run a dedicated application on that win-
       gnome-terminal is designed to emulate the xterm program provided by the
       X Consortium.

That did the trick!!! Thank you Mina, I appreciate you sharing your skills.

1 Like

I appreciate your help. I went with the Gnome-terminal route since I already had it installed. Terminator terminal just couldn’t get the job apparently.

Thanks again. :smiley: