• majiks@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    1 month 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.

    • skulblaka@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Thanks to everyone, removing the space in the shebang and putting the full path to the binary solved the problem. Appreciate it!