this post was submitted on 24 Dec 2024
256 points (96.0% liked)

Programmer Humor

19821 readers
817 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] majiks@lemm.ee 2 points 22 hours ago

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.