#StackBounty: #terminal #shell-script #elementaryos Elementary OS: How to create a clickable shellscript

Bounty: 50

I am trying to make a shellscript clickable in a folder?

What I want is for the user to be able to click/double-click a shellscript in Files via the GUI and then have this shellscript open and run inside a graphical terminal.

I have tried making it executable (chmod +x myscript), but when I click it it just opens a terminal and not running the script.

I think I somehow associated shellscripts with Terminal app in an attempt to get this to work. I probably need to remove this association somehow but cannot find any way of doing this in the UI.

When I right-click my script, it has a "Run" option but when I click this, nothing happens.

I found out that right click -> run actual does run the script although in a wrong path and with NO visual feedback what so ever. How do I make it run in a terminal?

Get this bounty!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.