this post was submitted on 24 Dec 2024
271 points (96.6% liked)

Programmer Humor

19817 readers
1087 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
271
submitted 3 days ago* (last edited 3 days ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 2 days 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.