Score:0

How can I run a .sh to with an icon.desktop in Ubuntu 20.04?

cn flag

I have a script that I need to run with an icon from the desktop ... suggestions? ideas?

Score:0
cn flag

Using only the file manager :

  • first create a link to your script on your desktop (copy, then ctrl/right-click + link here)
  • then, right-click on the script on the desktop, choose property : on the "general" tab, the icon is clickable. Click on it, it will open a window where you can choose your icon (look into usr/share/icons to find more icons)
  • In the "permission" tab, chech the "Execution" box to allow the program to be launched.
vanadium avatar
cn flag
A link cannot be set executable - it inherits the properties of the target. You have to make sure that your script itself is set executable.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.