I’m unsure whether your formatting messed up, but you shouldn’t have a space between the shebang (#!
) and the interpreter path (/bin/bash
). Also add a new line before your command:
#!/bin/bash
gnome-terminal -- sh -c gotop
I tried this on my system (with htop instead of gotop) and it worked.
Someone asked the same question on a cross-post: https://lemmy.world/comment/14943883
Tl;Dr is the recent rust drama.
More info: https://www.phoronix.com/news/Asahi-Linux-Lead-No-Upstream