Honestly, I have no idea :D. What I would try is:
1st check that the command is on 2nd line of script (1st line is only #!/bin/bash
, note that there is no space) but that might seem wrong only due to lemmy formatting.
2nd I'd try using full path of gotop binary. Use which gotop
to find where it is. Must start with a /
3rd I'd try w/o script at all. The command I quoted works in Cinnamon startup applications from the "start" menu, add new entry there with your command.
4th chatgpt knows a lot about common linux problems.
gnome-terminal -- sh -c "my_command"
This will open that command in new terminal window at login
Didn't read article but these numbes are casualities not deaths. Maybe 1/3 of them died.
Research has been done https://youtu.be/mF4q_K6YsjE?si=wYpenFWSEyQGzE47